1. Installing the Desktop Environment and VNC Server
- sudo apt install xfce4 xfce4-goodies tightvncserver
2. Set password.
- vncserver
3. Configuring the VNC Server
- vncserver -kill :1
Output Show
Killing Xtightvnc process ID 17648
4. backup old config.
- mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
5. Edit config.
- nano ~/.vnc/xstartup
insert this code. And save.
- #!/bin/bash
- xrdb $HOME/.Xresources
- startxfce4 &
6. chmod file.
- sudo chmod +x ~/.vnc/xstartup
7. restart the VNC server.
- vncserver
8. Testing the VNC Desktop By port 5901
- vncviewer 192.168.2.15:5901
https://www.digitalocean.com/community/ ... untu-16-04
ไม่มีความคิดเห็น:
แสดงความคิดเห็น