Vnc viewer для kali linux

Best VNC Viewer Clients For Linux

Remote management of Linux servers or clients can be done in different ways. One way is using ssh . But ssh do not provide GUI directly or if we need the GUI application to stay open even we terminate the connection to the remote system. VNC is a defacto remote desktop protocol for Linux. In this tutorial, we will look at VNC Viewer or Clients for Linux operating system. For server-side VNC server installation look following tutorial.

Vinagre

Vinagre is a remote desktop viewer especially developed for GNOME Desktop. It can support different types of protocols with its plugin feature. Current plugins exit for VNC and SSH.

  • Supports VNC, SSH, RDP
  • Screen scaling
  • SSH Tunneling
  • Bookmarks for easy and fast access

Krdc is provided by KDE Desktop. It uses Qt library for GUI.

  • Supports VNC, RDP
  • Integration with Kwallet for password sharing
  • Screen scaling
  • Bookmarks to easy and fast access
  • History to list previous connections

RealVNC or Xvnc4viewer

RealVNC is very popular both Server and Client VNC. It has also cross-platform support where we can use it for Windows too. It is named as Xvnc4viewer in Linux distributions. It uses CLI for connection. After the connection is established the VNC console is started. RealVNC may have a license fee.

  • Less features than others
  • Screen scaling

TightVNC Viewer or xtightvncviewer

TightVNC is the most popular VNC Server and Client. It s opensource and free. It has a similar interface like RealVNC. We need to run xgithvncviewer from the command line.

  • Less features than others
  • Screen scaling

SSVNC

SSVNC describes itself as Enhanced TightVNC viewer. It is developed with Java and can run platforms like MacOS and Windows too. It has a builtin feature to use Stunnel.

  • Encrypted Connections
  • Stunnel Support
  • Ssh Tunnel Support

Источник

Packages and Binaries:

tightvncserver

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing `desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

This package provides a server to which X clients can connect and the server generates a display that can be viewed with a vncviewer.

The difference between the tightvncserver and the normal vncserver is the data encoding, optimized for low bandwidth connections. If the client do not support jpeg or zlib encoding it can use the default one. Later versions of vncserver (> 3.3.3r2) support a new automatic encoding that should be equally good as the tightvnc encoding.

Note: This server does not support or need a display. You need a vncviewer to see something. However, this viewer may also be on a computer running other operating systems in the local net.

Installed size: 1.71 MB
How to install: sudo apt install tightvncserver

  • libc6
  • libjpeg62-turbo
  • libx11-6
  • perl
  • x11-common | xserver-common
  • x11-utils
  • xauth
  • zlib1g
Xtightvnc

An X server providing VNC connectivity

tightvncconnect

Connect a VNC server to a VNC viewer

tightvncpasswd

Set passwords for VNC server

tightvncserver

A wrapper to launch an X server for VNC.

xtightvncviewer

VNC stands for Virtual Network Computing. It is, in essence, a remote display system which allows you to view a computing `desktop’ environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

It is implemented in a client/server model. This package provides a client for X, with this you can connect to a vncserver somewhere in the network and display its content in a window. There are vncserver available for other operating systems.

The difference between the xtightvncviewer and the normal vncviewer is the data encoding, optimized for low bandwidth connections. If the client do not support jpeg or zlib encoding it can use the default one. Later versions of xvncviewer (> 3.3.3r2) support a new automatic encoding that should be equally good as the tightvnc encoding.

Installed size: 192 KB
How to install: sudo apt install xtightvncviewer

  • libc6
  • libjpeg62-turbo
  • libx11-6
  • libxaw7
  • libxext6
  • libxmu6
  • libxt6
  • zlib1g

Источник

Установка VNC на Raspberry Pi с установленной ОС Kali Linux

Сегодня мы установим Tight VNC на Raspberry Pi с установленной операционной системой Kali Linux для визуального контроля за системой. Для установки Tight VNC необходимо проделать следующие шаги:

1. Подключиться по SSH к Raspberry Pi введя ip адрес, логин и пароль

2. Далее необходимо вписать команду для загрузки:

Внимание: во время установки будет задан вопрос об установке программы без проверки подлинности (Install these packages without verification [y/N]?). Понадобится ответить «y» на этот вопрос.

3. После окончания установки VNC сервер нужно запустить команду:

Эта команда запустила VNC сервер! В данном случае запущена виртуальная X-сессия, абсолютно аналогично тому, как по команде startx при загрузке при подключенном мониторе. Теперь, когда вы запустите клиент VNC и подключитесь, то будете подключены именно к этому виртуальному рабочему столу.

Наиболее важная часть этой команды- параметр :1. Он определяет номер порта на котором будет запущен процесс VNC . Номер порта может быть любым, но нужно запомнить его, он понадобится при подключении. Еще один важный параметр, это разрешение (в данном случае размер) виртуального рабочего стола. Его можно указать любым, однако не стоит указывать больше, чем реальное разрешение компьютера, с которого осуществляется удаленный доступ.

При первом запуске VNC сервер попросит ввести пароль. Этот пароль нужен будет при подключении к удаленному рабочему столу.

4.Для подключения можно использовать программу UtlraVNC. Введите IP адрес, номер порта (1) и нажмите кнопку Connect

Для автоматического запуска VNC сервера необходимо:

1. ввести следущию команду:

Откроется текстовый редактор в нем добавьте

Только в Kali Linux пользователь “root” в стандартной ОС Rasbian пользователь “ pi ”

Для выхода из nano нажмите Ctrl-X. Затем последует вопрос о необходимости сохранения файла — ответьте Y. И, наконец, подтвердите имя файла нажатием клавиши Enter.

Теперь необходимо установить правильные атрибуты, т.е. сделать файл исполняемым

Источник

Install VNC Viewer on Raspberry Pi with Kali Linux

Using a Raspberry Pi with Kali Linux installed on it can be a powerful, yet portable tool for ethical hackers and security analysts alike. If you are new to the game then you obviously have a bit to learn and fortunately you are in the right place.

Accessing your device remotely can add convenience along with portability. Imagine leaving your Raspberry Pi at a location or building where you plan on testing the vulnerability of the network. You can then access that Raspberry Pi if you install VNC Viewer on Raspberry Pi with Kali Linux. You could be sitting in the comfort of your own home or office while testing the vulnerability of a network miles away from you.

HOW TO INSTALL VNC VIEWER ON RASPBERRY PI WITH KALI LINUX

Since we are performing an action that requires you to have a Raspberry Pi along with an SD card with Kali Linux installed on it we are going to assume that you already viewed our article about how to install Kali Linux on Raspberry Pi 3 with 3.5 inch LCD Screen.

When your Raspberry Pi is properly configured with your Kali Linux installation the first thing that you need to do is make sure your installation is updated. You can update your Kali Linux installation by opening up a terminal and typing:

Now that everything is updated we need to install x11vnc. To install you just need to type into your terminal:

apt-get install x11vnc

After x11vnc is installed we are going to set a password that you will use to access your Raspberry Pi remotely. To set a password type in:

You will be prompted to enter your password and then verify it. It will ask if you want to write the password to /root/.vnc/passwd and you select yes.

After your password is set you need to run x11vnc before you can actually connect to your Raspberry Pi remotely. To start x11vnc you need to type the following into your open terminal:

x11vnc -ncache 10 -auth guess -nap -forever -loop -repeat -rfbauth /root/.vnc/passwd -rfbport 5900

I know what you are thinking. What do all these commands mean and why do I need them? We will go over the commands we use here but if you need to use other commands then you can visit this site for a full list of command line options.

  • -ncache: Caches the screen content for rapid retrieval which reduces “lag”.
  • -auth guess: Used to guess the XAUTHORITY file for the display
  • -nap: Monitors activity and if it is low take longer naps
  • -forever: Keeps listening for more connections rather than exiting as soon as the first client(s) disconnect.
  • -repeat: VNC clients are connected and VNC keyboard input is not idle for more than 5 minutes. This works around a repeating keystrokes bug (triggered by long processing delays between key down and key up client events: either from large screen changes or high latency).
  • -rfbauth passwd-file: Authenticates the password file
  • -rfbport port: TCP port for RFB protocol

Now that we have x11vnc running on our Raspberry Pi we need to download a program on our computer that we will be using to access our Raspberry Pi remotely. Head on over to RealVNC and download VNC Viewer and make sure that you download the correct version that corresponds to your operating system. After VNC Viewer is downloaded open it up and enter the details required to connect to your Raspberry Pi. You will need to enter the IP address of your device, followed by a colon, and the port that we will be connecting to.

INSTALL VNC VIEWER ON RASPBERRY PI WITH KALI LINUX – CONNECTING

If you do not know the IP address of your Raspberry Pi you can use the following command in your terminal:

Now that we have details entered into the VNC Viewer GUI we will connect. When you connect you will first see a prompt regarding an unencrypted connection and you can just press “continue”. If you want a secure connection see securing VNC connection on Kali Linux with SSH.

Keep note that your VNC connection is not secure

ENABLING AUTO-START FOR X11VNC

Install VNC Viewer on Raspberry Pi with Kali Linux is now successful but what if you don’t want to manually run x11vnc every time you plan on accessing your Raspberry Pi remotely? If you want x11vnc to auto-start every time you boot up your Raspberry Pi then we need create a new file.

Open up a terminal in Kali and navigate to the “bin” folder by typing:

Now we will create a new file by typing:

With our new file open we need to enter the following:

x11vnc -ncache 10 -auth guess -repeat -nap -loop -forever -rfbauth

# comment this out if you dont want a pop up telling you which port you’re using

zenity —info —text=»Your VNC port is ‘cat

After you have included the above text you need to save the file by pressing “Ctrl+x”, then press “y”, then “Enter”. This file will automatically run x11vnc when your Raspberry Pi boots up. Now we need to set permissions on this file that we just created by using the following command:

chmod 755 /usr/local/bin/sharex11vnc

Now we have to set x11vnc to auto-start on boot using the file we just created. In Kali navigate to Applications >> Settings >> Session and Startup.

When the “Session and Startup” box appears you need to click on the “Application Autostart” tab and click the “add” button. When the “Add application” box appears you need to enter a name (VNC Viewer or a name of your choice), a description (optional), and the command. The command needs to be entered as “x11vnc” without the quotes. When finished click the “OK” button and make sure that “x11vnc” is checked in the “Application Autostart” list. Then close the “Session and Startup” dialog box.

This means a little chunk of extra screen makes the phone just less than 4mm wider, and around 2mm shorter, than the Note 4.

INSTALL VNC VIEWER ON RASPBERRY PI WITH KALI LINUX – OPTIONAL INSTALL

There is another application that you can install that allows you to copy and paste text between applications. This can be very beneficial and time-saving if you plan on using the copy and paste commands frequently.

You can install this application by opening up a terminal session in Kali and entering:

apt-get install autocutsel

After it is installed you need to navigate to Applications >> Settings >> Session and Startup again and add “autocutsel” to the list of auto-start applications using the same procedure for adding x11vnc.

Источник

Читайте также:  Как создать сетевой диск linux
Оцените статью