Enable GUI Mode in VNC
Add "gnome-session &" to the file /root/.vnc/xstartup as below and start new session of VNC
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
gnome-session &
Kill VNC session:
vncserver -kill <:{vncserver session id}>
eg: vncserver -kill :1
Start VNCserver:
Command: vncserver to start VNC server
Change Password of VNC server serssion
Command: vncpasswd
No comments:
Post a Comment