Use VNC in LINUX for graphical Remote Desktop control.
1. Enable SUSE remote control
VNC is installed in SUSE by default. Enable YaST, network service, remote Management (remote administration), select "Allow remote Management", and set the firewall in the following options, select "Open firewall port ". Click Finish.
2. Start the VNC service.
After logging on to SSH, run the vncserver command
Tip: You will require a password to access your tops.
Set the remote access password.
Password: (enter the Password)
Verify: (enter again)
Tip: wocould you like to enter a view-only password (y/n )? N (whether to enter a password that can only be viewed, select No)
The message is as follows:
Xauth: creating new authority file/root/. Xauthority
New 'X' desktop is linux-eyh7: 1 (desktop number 1)
Creating default startup script/root/. vnc/xstartup
Starting applications specified in/root/. vnc/xstartup
Log file is/root/. vnc/linux-eyh7: 1.log
3. Configure the xstartup STARTUP script.
Use VI to edit the/root/. vnc/xstartup script
The content is as follows:
#! /Bin/sh
Xrdb $ HOME/. Xresources
Xsetroot-solid gray
Xterm-geometry 80x24 10 10-ls-title "$ VNCDESKTOP Desktop "&
Twm &
Change the last line
Startgnome
DISPLAY =: 1 gnome-session
Is to start the gnome GUI window.
After saving, restart vnc.
4. Download the windows vnc client software.
Run VNC Viewer and enter the Server IP address and desktop number:
Example: 192.168.0.1: 1
Then enter the VNC connection password to log in.
5. browser control:
If the vnc viewer is not installed on the master, you can control it through a browser. For example, access address: http: // 192.168.0.1: 5801 (where port number = desktop display number 5800, we configured the prompt that the desktop number is 1, so the port number is 5801 ), the logon page is displayed. You need to enable the java applet in the browser.
This article is from the "fallenleaves" blog