Linux CentOS Installation VNC service process

Source: Internet
Author: User

install Vncserver, use yum install vnc-server not install, the correct way is to use
#yum Install Tigervnc-server can only be installed properly.

after the installation succeeds Vnc-server, the following configuration is required to access the Vnc-viewer normally:

1, #vncserver for password configuration

2. Modify the configuration file
# Vi/root/.vnc/xstartup
1) put TWM & Comments Off (#twm &)
2) Last add a line gnome-session &

3. Modify the VNC service file
# Vi/etc/sysconfig/vncservers The last two lines are modified to:
vncservers= "1:root"
vncserverargs[1]= "-geometry 1024x768"

4. Start the VNC service
#/etc/init.d/vncserver Start
or
#service vncserver Restart

(Note: If you do not step 3rd, you will be prompted starting VNC server:no Dispalys configured [FAILED])

5, configure the service with the system self-booting
#sudo chkconfig--level 345 vncserver on

you can now log on normally.

Linux CentOS Installation VNC service process

Related Article

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.