Linux vncserver configuration, linuxvncserver

Source: Internet
Author: User

Linux vncserver configuration, linuxvncserver

You need to use the remote desktop service in Linux. xmanager has been used before. I feel like it is normal. Try vnc this time.

My operating system is centos7

1. Install VNCServer on the server

# Yum-y install vnc * vnc-server *

Set Password

# Vncserver

You will require a password to access your tops.

Password: 123456 # enter the vnc connection Password

Verify: 123456 # confirm the vnc Password

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 1

# Vncserver: 1

Stop Service

[Root @ iZ23zjkwlj8Z ~] # Vncserver-kill: 1
Killing Xvnc process ID 1661.

Install GNOME Desktop

Remember to restart vncserver after installation

# Yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

2. Client

I use a Windows client http://www.realvnc.com/to download the vnc-viewer

Enter the IP Address: window number, OK, and the logon is successful.

Modify vi/root/. vnc/xstartup on the Internet to start gnome Desktop. I have never encountered this situation.

After gnome is installed, restart the vncserver to use it.

 

 

 

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.