Linux Remote graphical interface

Source: Internet
Author: User

1:xmanager Passive

First, this machine turns on the Xmanager passive function.

SECURECRT Turn on forwarding X11 packet function. Host execution Export display=ip.0:0 Xhost +

Perform xclock test whether the clock interface is displayed

This uses the Xclient and Xserver features, where the Xmanager server feature is used locally

This usage does not require the server to be installed with a graphical interface, KDE, etc.,


2:vncserver

Install the Vncview Server installation vncserver locally,

Configuring the/etc/sysconfig/vncservers File

# vncservers= "2:myusername"

# vncserverargs[2]= "-geometry 800x600-nolisten tcp-nohttpd-localhost"

Uncomment the last two lines of configuration information and add the SYSTEM account


vncservers= "1:root 2:etl"


vncserverargs[1]= "-geometry 1024x768-nolisten tcp-nohttpd"


vncserverargs[2]= "-geometry 1024x768-nolisten tcp-nohttpd"


Vncservers is used to set up a server account that can use VNC, can be set up multiple, such as root, ETL, but in the middle with a space separated. When you log in with Vncviewer, 192.168.48.128:1 indicates that you are logged in as the root account, and so on.

1:-geometry represents the desktop resolution, the default is 1024x768, so the above 1024x768 can also not be written.


The 2:-NOHTTPD indicates that the HTTP port (58XX) is not listening.


3:-nolisten TCP indicates that the TCP port is not listening (60XX)


4:-localhost only runs from native access.


5:alwaysshared only one Vncviewer connection is allowed by default, and this parameter indicates that the same display port allows multiple users to log in at the same time.


6:-depth color depth, parameters are 8,16,24,32.


7:securitytypes None login does not require password Authentication vncauth default value, to password authentication.

Then set the login password below the corresponding user (with VNCPASSWRD); and finally start the VNC service.

And in the view to add the desktop number, such as: 192.168.1.20:1, etc., 1 is the desktop number


Reference: http://www.cnblogs.com/kerrycode/p/3315793.html



This article is from the "6250022" blog, please be sure to keep this source http://6260022.blog.51cto.com/6250022/1710703

Linux Remote graphical interface

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.