TigerVNC on ubuntu 20.0
23 2 月, 2020 No Comments »
Install Desktop Gnome
root@server-test:/opt# apt-get install -y ubuntu-desktop
Install/Config TigerVNC
root@server-test:/opt# apt -y install tigervnc-standalone-server
......
root@server-test:/opt# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
root@server-test:~# more /root/.vnc/xstartup
# create new (or add to the end)
exec /usr/bin/gnome-session &
# start with diplay number [1], screen resolution [800x600]
root@server-test:~#
root@server-test:~# vncserver :1 -geometry 800x600 -localhost no
New 'gcsprendpoint-yonzhao2test-share-flat2-ni9ngm-server-ne.novalocal:1 (root)' desktop at :1 on machine gcsprendpoint-yonzhao2test-share-flat2-ni9ngm-server-ne.novalocal
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/gcsprendpoint-yonzhao2test-share-flat2-ni9ngm-server-ne.novalocal:1.log
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd gcsprendpoint-yonzhao2test-share-flat2-ni9ngm-server-ne.novalocal:1 to connect to the VNC server.
Access by TigerVNC Client
Other
2020-07-24 Update: Change to TightVNC
I found an issue that cannot input anything when login via tigerVNC, normal user is ok after disable screen auto clock, but root couldn’t login in. So I transfer to TightVNC that work perfect now. Follow install guide:
How to Install and Configure VNC on Ubuntu 20.04