Linux Vncserver Configuration

Source: Internet
Author: User

Need to use Linux for Remote Desktop Services, Xmanager used before, feel normal, this time to try Vnc

My operating system is CENTOS7.

One service-side installation Vncserver

#yum-y Install VNC *vnc-server*

Set Password

# Vncserver

You'll require a password to access your desktops.

password:123456 #输入vnc Connection Password

verify:123456 #确认vnc密码

Xauth:creating new Authority file/root/. Xauthority

New ' Localhost.localdomain:1 (root) ' Desktop is Localhost.localdomain:1

Creating default startup Script/root/.vnc/xstartup
Starting applications specified In/root/.vnc/xstartup
Log file Is/root/.vnc/localhost.localdomain:1.log

Start the service

Start a window, such as window number 1th

# vncserver:1

Stop Service

[Email protected] ~]# vncserver-kill:1
Killing Xvnc process ID 1661

Installing the GNOME Desktop

Remember to restart the vncserver after you have finished loading

#yum groupinstall "GNOME Desktop" "Graphical administration Tools"

Two clients

I am windows, using the client http://www.realvnc.com/, download the corresponding platform Vnc-viewer

Input IP: Window number, OK login successful

Online said changes Vi/root/.vnc/xstartup to start the GNOME desktop, I have not encountered this situation

I installed GNOME and restarted vncserver to use it.

Linux Vncserver Configuration

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.