Article title: simple remote desktop implementation in Linux. 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.
A brief introduction to the implementation of a remote desktop --- vnc method
The premise is that the server must have a vnc-server and the client end of the NV (in fact, it is the package that generates the vncviewer command, but generally linux contains this command)
After installing the relevant package, configure it to use
Server settings
1) modify/etc/sysconfig/vncserver and add the following line:
VNCSERVERS = "1: root"
The user to be added here must exist.
2) run vncpasswd and set the vnc logon password.
3) start the vncserver service
#/Etc/init. d/vncserver start
Client
Run the VNC client on another system and use the password set in step 2 to connect. Three clients are available:
A) in Linux, run the command vncviewer serveripaddress: 1 (serveripaddress is the IP address of the server ).
B) for Windows, download a Windows client: http://www.realvnc.com/download.html.
C) you can also access the VNC server from a browser: http: // serveripaddress: 5801/. the browser needs to open the java option.
Note:
By default, vnc starts the twm window manager. to start KDE, you can modify/root/. vnc/xstartup.
Comment out the last line of twm & and change it:
# Twm &
Startkde &
Vnc-server
File: vnc-server-4.0-8.1.i386.rpm
Size: 1199KB
Download: http://blog.chinaunix.net/upfile/070911153821.rpm
Vnc
File: vnc-4.0-8.1.i386.rpm
Size: 155KB
Download: http://blog.chinaunix.net/upfile/070911153834.rpm