Vnc4server configuration process in Ubuntu7.10: 1. to configure remote control permissions, Open System-& gt; System Management-& gt; In the login window, click the & lt; remote & gt; page, in the style, select "Same as local" and click "Configure XDMCP" to unedit the selected status of "non-direct request compliance. confsudogedit/etc/X11/TPD/gestational disease. conf find the [xdmcp] section and
Vnc4server configuration process in Ubuntu 7.10:
1. configure remote control permissions
Choose system> System Management> logon.
Click <远程> Page, select "Same as local" in style"
Click the "Configure XDMCP" button to cancel the selection of "non-direct request compliance"
Edit/etc/TPD. conf
Sudo gedit/etc/X11/TPD. conf
Locate the [xdmcp] section and change enable to true.
Enable = True
Find the row, # RemoteGreeter =/usr/lib/TPD/gdmlogin, and remove the comment.
RemoteGreeter =/usr/lib/TPD/gdmlogin
2. install required software
Sudo apt-get install vnc4server xinetd
3. Set the VNC Password
Sudo vncpasswd/root/. vncpasswd
4. Add VNC service in xinetd
Sudo vi/etc/xinetd. d/Xvnc
The Xvnc content is as follows:
Service Xvnc
{
Type = UNLISTED
Disable = no
Socket_type = stream
Protocol = tcp
Wait = yes
User = root
Server =/usr/bin/Xvnc
Server_args =-inetd: 1-query localhost-geometry 1024x768-depth
16-once-fp/usr/share/fonts/X11/misc-DisconnectClients = 0
-NeverShared passwordFile =/root/. vncpasswd-extension XFIXES
Port = 5901
}
5. Start the xinetd service
Sudo/etc/init. d/xinetd stop
Sudo killall Xvnc
Sudo/etc/init. d/xinetd start
Vnc client Configuration:
My client system is win XP, And the vnc client uses the UltraVNC Viewer.
After The UltraVNC Viewer is started, enter the host ip address and vncserver port number (for example, 192.168.1.108: 5901) configured for the nvc4server in vnserver. The port number is in/etc/xinetd. set the port in the d/Xvnc file (port = 5901 ). Enter the user and password to remotely log on to the ubuntu7.10 desktop.