Environment:
root@node1:~# cat/etc/issue
Ubuntu 12.04 LTS \ \l
Requirements: Now you need to remotely connect Ubuntu's graphical interface, because there is a program that needs to be configured with a graphical interface.
By default, Ubuntu server is not a graphical interface, the use of Xmanager remote connection to Ubuntu, after the connection is completed, originally wanted to use Xmanager features, to achieve a graphical interface pop-up, but no matter how the program is not bouncing out, very tangled, It's OK to test with xclock. It can only be done separately.
Previously configured VNC, are in the redhat inside the configuration, Ubuntu inside did not get, this study. The following detailed configuration process, the use of graphics programs for Xface
First, install the configuration VNC
1, first install VNC
# Apt-get Install Vnc4server
2. Set the password for VNC
Root@node1:~/.vnc# vncpasswd
Password:
Enter the password, and then confirm it again, OK.
3, start VNC
root@node1:~# vncserver:1
New ' node1:1 (root) ' Desktop is node1:1
Starting applications specified In/root/.vnc/xstartup
Log file Is/root/.vnc/node1:1.log
root@node1:~# Ps-ef | grep VNC
Root 1768 1 0 06:10 pts/0 00:00:00 xvnc4:1-desktop node1:1 (Root)-auth/root/. Xauthority-geometry 1024x768-depth 16-rfbwait 30000-rfbaut
H/root/.vnc/passwd-rfbport 5901-pn-fp/usr/x11r6/lib/x11/fonts/type1/,/usr/x11r6/lib/x11/fonts/speedo/,/usr/ x11r6/lib/x11/fonts/misc/,/usr/x11r6/lib/x11/fonts/75dpi/,/usr/x11r6/lib/x11/fonts/100dpi/,/usr/share/fonts/ x11/misc/,/usr/share/fonts/x11/type1/,/usr/share/fonts/x11/75dpi/,/usr/share/fonts/x11/100dpi/-co/etc/x11/rgb
Start successful
Second, client connection
The client installs Vncview and then connects
Input IP, input ip:no, that is, the IP address plus session number, just open the account is 1, here on the input
1.1.1.1:1
And then enter the password, you can connect the
Because there is no desktop environment, so we need to install a, here use Xface