by configuring the server as a VNC server, you can have other hosts log on to this server graphically.
configuring VNC server under Ubuntu is simple, as follows:
Server-Side:
1, first install the VNC service program:
Shell Code
- $ sudo apt-get install Vnc4-common vnc4server
2. Set the VNC login password for the current user:
Shell Code
- $ vncpasswd
3, modify the default VNC settings, so that the launch run GNOME as the desktop of x (if not set, VNC will use TWM, you can try, I believe you will be very unaccustomed):
Shell Code
- $ vncserver:1
- $ Vncserver-kill:1
Note: the ": 1" inside represents the display number, and the client must write the same display number to log in (see the Client section later).
to modify the ~/.vnc/xstartup file, it is recommended to copy the Xsession configuration file in the system:
Shell Code
- $ cp/etc/x11/xsession ~/.vnc/xstartup
then start VNC SERVER again:
Shell Code
- $ vncserver-geometry 1280x800:1
Client:
1. Install the VNC client program:
Shell Code
- $ sudo apt-get install Vnc4-common xvnc4viewer
2. Then you log in via Terminal server Client: Applications, Internet, Terminal server client;computer: Server Ip:display #, for example: 192.168.10.36:1;protocol choice: VNC.
or the command line:
Shell Code
- $ vncviewer 192.168. 10.36:1
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Ubuntu under VNC Configuration