Article title: vnc4server remote desktop configuration in Ubuntu7.10 system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Vnc4server configuration process:
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.