SuSE opens VNC Remote Desktop Connection

Source: Internet
Author: User

SUSE LINUX ENTERPRISE SERVER 64BIT uses VNC for graphical interface Remote Desktop control, the following steps:

1. Enable SuSE remote control


SuSE installs VNC by default, opens YaST, Network Service, remote management (remotely administration), selects "Allow Remote Management", sets the options below, selects "Open port" and clicks Finish. Note If you cannot connect, adjust the firewall that your SuSE comes with and turn on the appropriate port.

2. Start the VNC service.


After SSH login, execute the vncserver command (or/usr/local/vnc #./vncserver)

Tip: You'll require a password to access your desktops.

Sets the password for remote access. (file path in/usr/local/vnc/vncpasswd)

Password: (Enter password)

Verify: (re-enter)

Tip: Would you like to enter a view-only password (y/n)? N (whether to enter a password that can only be viewed, select No)

The following information is indicated:

Xauth:creating new Authority file/root/. Xauthority

New ' X ' Desktop is-eyh7:2 (table number 2)

Creating default startup Script/root/.vnc/xstartup

Starting applications specified In/root/.vnc/xstartup

Log file Is/root/.vnc/-eyh7:2.log

3. Configure the Xstartup startup script.

Edit/root/.vnc/xstartup script with VI

Comment out Twm & Add a sentence to the last line

Gnome-session &

is to launch the Gnome graphical interface window.

After saving, restart VNC.

Note: In the/root/.vnc/directory has a pair of log and PID files, such as Machinename:2.pid and Machinename:2.log, the file PID is the active service, the service number is the PID front number. No PID file is a service that has been stopped.

You can use the Vncserver: number to start a stopped service

You can use Vncserver-kill: number to stop the service

4. Windows VNC client software.

Run the VNC viewer, enter the IP and desktop number:

such as: 192.168.1.252:2 and then enter the VNC connection password can log in.


5, through the browser control:

If the console does not have a VNC viewer installed, it can be controlled by the browser, powerful. For example, access to the address: 5801 (where the port number = Desktop Display number + 5800, the front of our configuration prompts the desktop number is 2, so the port number is 5802), requires the browser to open the Java applet, the login screen will appear.


This article is from the "Laughing Stones" blog, so be sure to keep this source http://shitouweb.blog.51cto.com/6422179/1740769

SuSE opens VNC Remote Desktop Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.