Vnc-server--linux Remote Desktop Configuration

Source: Internet
Author: User

Environment: centos6.4_x64


Installation:

Yum-y Install tigervnc*


Configuration:


#执行vncserver命令, Initialize VNC

[Email protected] ~]# Vncserver

You'll require a password to access your desktops.

Password: #输入密码

Verify: #确认密码

New ' X ' Desktop is linux:1 #启动第1个vnc终端

Creating default startup Script/root/.vnc/xstartup

Starting applications specified In/root/.vnc/xstartup

Log file Is/root/.vnc/linux:1.log

(After the above steps, VNC Server has been started.) If you want to change the password for the VNC server, simply execute the VNCPASSWD command. )


To edit a configuration file:

[[email protected] ~]# vim. Vnc/xstartup

unset Session_manager #确保有这两行

Exec/etc/x11/xinit/xinitrc


[Email protected] ~]# vim/etc/sysconfig/vncservers

vncservers= "1:root" #配置启动用户和窗口大小, other lines are commented

vncserverargs[1]= "-geometry 800x600"



After completion:


[[Email protected] ~]# service vncserver Restart #重启服务, the configuration is successful!



Open the VNC Client for Windows, enter Vncserver-ip:1, and then enter the password!



This article is from the "Fate" blog, so be sure to keep this source http://czybl.blog.51cto.com/4283444/1433616

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.