Install VNC Server - TightVNC: Difference between revisions
(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 | 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 | ||
We will now configure the VNC service, but first, we must stop the service: | |||
$ vncserver -kill :1 | $ vncserver -kill :1 | ||
Revision as of 10: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
- !/bin/sh
xrdb $HOME/.Xresources xsetroot -solid grey
- x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
- x-window-manager &
- Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
- /etc/X11/Xsession
/usr/bin/startlxqt