Using the VNC service under Linux

Source: Internet
Author: User

Connect to Linux via VNC under Window


Linux Open VNC Service: Service vncserver start


Execute the "vncserver" command, note that the identity of this command is executed, and if it is root, the. vnc/directory is generated under root, generating log pid and Xstartup files

Otherwise, it is generated under the user directory. The password for the remote connection will be prompted for the first time.

Note the number of the remote desktop that is turned on, use the "IP: Number" form when connecting using the VNC Viewer, and then enter the password. The default desktop environment for VNC is TWM

Modify the last line of the Xstartup file to set the desktop environment based on your personal system

GNOME Desktop: Change to Gnome-session &

KDE Desktop: modified to Startkde &


Note Restart the Vncserver service after the change, re-use the Vncserver command to generate the remote connection listening process, view the VNC service process status service vncserver status

Using the VNC service under Linux

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.