Install VNC Server - TightVNC: Difference between revisions

From Embedded Workshop
Jump to navigation Jump to search
(Created page with " $ sudo apt-get update $ sudo apt-get install tightvncserver Run the following to create the password(s) for your vnc service $ vncserver Stop the service $ vncserver -ki...")
 
No edit summary
Line 1: Line 1:
VNC: Virtual Network Computing<br>
Let's follow the directions provided by Digital Ocean:<br>
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04<br>
<br>
On your server, begin by updating your list of packages:
  $ sudo apt-get update
  $ sudo apt-get update
Install the lightweight Xfce desktop environment, along with some "goodies"
$ sudo apt-get install xfce4 xfce4-goodies
Once the desktop environment is in place, install the TightVNC service:
  $ sudo apt-get install tightvncserver
  $ sudo apt-get install tightvncserver


Run the following to create the password(s) for your vnc service
Run the following to create the password(s) and configuration files for your VNC service:<br>
Password must be between six and eight characters in length.<br>
Passwords longer than eight characters will be truncated.<br>
At this time, you can also create a "View Only" password.
  $ vncserver
  $ vncserver


Stop the service
We will now configure the VNC service, but first, we must stop the service:
  $ vncserver -kill :1
  $ vncserver -kill :1



Revision as of 11:23, 19 March 2019

VNC: Virtual Network Computing
Let's follow the directions provided by Digital Ocean:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04

On your server, begin by updating your list of packages:

$ sudo apt-get update

Install the lightweight Xfce desktop environment, along with some "goodies"

$ sudo apt-get install xfce4 xfce4-goodies

Once the desktop environment is in place, install the TightVNC service:

$ sudo apt-get install tightvncserver

Run the following to create the password(s) and configuration files for your VNC service:
Password must be between six and eight characters in length.
Passwords longer than eight characters will be truncated.
At this time, you can also create a "View Only" password.

$ vncserver

We will now configure the VNC service, but first, we must stop the service:

$ vncserver -kill :1

Edit xstartup to configure and run your window manager (I'm using LXQT)

$ sudo nano ~/.vnc/xstartup
  1. !/bin/sh

xrdb $HOME/.Xresources xsetroot -solid grey

  1. x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
  2. x-window-manager &
  3. Fix to make GNOME work

export XKL_XMODMAP_DISABLE=1

  1. /etc/X11/Xsession

/usr/bin/startlxqt