11/06/2016

Ubuntu : Ubuntu Server 16.04 Install desktop and VNC remote.

Ubuntu : Ubuntu Server 16.04 Install desktop and VNC remote.
1. Installing the Desktop Environment and VNC Server
  1. sudo apt install xfce4 xfce4-goodies tightvncserver


2. Set password.
  1. vncserver


3. Configuring the VNC Server
  1. vncserver -kill :1

Output Show
Killing Xtightvnc process ID 17648

4. backup old config.
  1. mv ~/.vnc/xstartup ~/.vnc/xstartup.bak


5. Edit config.
  1. nano ~/.vnc/xstartup

insert this code. And save.
  1. #!/bin/bash
  2. xrdb $HOME/.Xresources
  3. startxfce4 &


6. chmod file.
  1. sudo chmod +x ~/.vnc/xstartup


7. restart the VNC server.
  1. vncserver


8. Testing the VNC Desktop By port 5901
  1. vncviewer 192.168.2.15:5901

https://www.digitalocean.com/community/ ... untu-16-04

No comments:

Post a Comment