Turn Xshell image Display

Source: Internet
Author: User

Http://www.cnblogs.com/kellyseeme/p/7965830.html

Limit:

Unable to display the graphical interface of a machine logged on through a bastion machine.

Graphical interface that only shows the expiration of services that are logged in directly

Objective

Long time no graphical interface, have forgotten how to use ....

Based on previous experience is set by the environment variable display, and then can be connected, every day is also a rush on the day, do not know what to do, the allotted time is also less, but has been tangled, to make various settings display variable incredibly not ... So there is a re-carding how to use the graphical interface.

The most common scenario for a graphical interface is the connection of the 1 Oracle Installation 2 virtualization scenario.

Configuring and testing a graphical interface connection

The system used here is RHEL6.5, using the connection method is connected via Xshell 5 + xmanager , the test tool used is xclock, so if there is no other graphical test, first install the Xclock package.

Test directly using Xclock, there is no way to open the display device, which is mainly not X window of the relevant package group or is not associated Xmanager, so the first to install the package:

1 Installing X Window packs and font packs

[[email protected] ~]# yum-y groupinstall "x Window System" "Fonts" (Install X Windows related package, and font display package)

2 Set up Tunneling Association Xmanager

Primarily in the Xshell property settings, and then select the tunnel tick X11 forward connection, you need to install Xmanager locally:

3 Open a new window for testing

In the test, you must open a new Xshell window for testing, as follows, creates an authorization file for zero:

Xhost +

Xclock

4 to view related processes

After the above steps are done, look at the sshd process, you will find the relevant listening port, the following example is 6011 port is listening, so in the display variable settings, the first parameter is represented by the IP address, colon division, the second parameter is the offset, the third parameter is displayed as the first few windows.

Xshell 5 Double Open window is simply a big love, pretending to have two monitors feel ...

Turn Xshell image Display

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.