Pass the test
1. Install related packages:
Apt-getupdate
Apt-get inStall Ubuntu-Desktop
Apt-getinstall vnc4server
Apt-Get install x-window-system-core
Apt-Get install TPD
Apt-Get install gnome-panel
2. Set vncserver
Vncpasswd
As root, chmod + x/etc/X11/xinit/xinitrc
VI/root/. VNC/xstartup
#!/bin/sh #gnome-session --session=gnome-classic & [-x /etc/vnc/xstartup] && exec/etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb$HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #gnome-session --session=gnome-classic & xterm -gemetry 80x24+10+10 -ls -title"$VNCDESKTOP Desktop" & #x-terminal-emulator -gemetry 80x24+10+10 -ls-title "$VNCDESKTOP Desktop" & #x-window-manager & #twm & gnome-session &
Chmod + x xstartup
Vncserver: 1 650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/6D/wKiom1Os2a3xq7CjAAWjl_wRtIk732.jpg "Title =" VNC connection for Ubuntu "alt =" wkiom1os2a3xq7cjaawjl_wrtik732.jpg "/>
This article is from the "drop by Stone" blog. For more information, contact the author!