[Linux tips] install and configure VNC remote logon to Linux

Source: Internet
Author: User

Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/

Installation and configuration
First, install nvcserver in Linux,

Install the RPM package
Root @. VNC # rps-ivh vnc-4.1.2-9.fc6.i386.rpm
Then enter ~ /. VNC
Root @. VNC # Cd ~ /. VNC
Edit file xstartup
Block the last line
# TWM &
Add the following statement
Gnome-session &
Save and exit

[Note] the above step is to display the Linux desktop on Windows. Otherwise, only one terminal window is displayed.

Next, set the login user. If the installation is successful, there will be a vncservers file in the/etc/sysconfig/directory.
Open the vncservers file and add
Vncservers = "1: Root"

Set the VNC remote logon password.
Root @. VNC # vncpasswd
After setting the password, run vncserver
Root @. VNC # vncserver new 'localhost. localdomain: 1 (Root) 'desktop is localhost. localdomain: 1 starting applications specified in/root /. VNC/xstartup log file is/root /. VNC/localhost. localdomain: 1.log
OK, this Linux service will start the port increasing progressively from 5801

To add a VNC that supports X11, run the following command: xhost + local: username.

Author: gnuhpc
Source: http://www.cnblogs.com/gnuhpc/

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.