Window connects to Linux Remote Desktop with Xmanager4.0 Xstart

Source: Internet
Author: User

Installation package:

Xorg-x11-xauth

Xterm.x86_64 0:253-1.el6

Execute Command Path:/usr/bin/xterm

Xstart connection to the Linux Remote Desktop has a benefit, the server does not have to do what settings, open ssh.

the server needs a desktop environment, and X Window

With XDMCP connection, the server has to do some configuration, trouble.

Menu

Xmanager Enterprise 4--Xbrowser

Create a new Xstart session



protocol Select SSH,

Execute command Click on the Back button to select Gnome

When you're ready to open this session you can connect to the Remote Desktop, which is simple.

There are three menus in the taskbar after the connection,

One is to display the Linux header menu

One is the taskbar that displays Linux

One is the desktop that displays Linux

How to Exit

Right-click on taskbar (right) to close Xmanager

You can also build Xstart sessions in the following ways

Menu

Xmanager Enterprise 4--Xstart



If error: x11 transfer request has been rejected,

(first check the etc/ssh/sshd_config set x11forwarding Yes
However, on some hosts, no matter how you set up on the client, will not be able to properly enable the X11 forwarding function, login after the display is always null value. The Sshd_config file also does not disable the X11 forwarding feature.
Workaround:
The original X11 forwarding relies on the "Xorg-x11-xauth" package, so the "Xorg-x11-xauth" package must be installed first.
Yum install Xorg-x11-xauth)

x Window should be installed on the server, see the link after the text.

Server to have no desktop environment, will report the following error

[17:18:41] Start timer (timer_shutdown, 180).
BASH:/usr/bin/gnome-session:no such file or directory

--------------------------------------------------------------------------------------------------------------- -------------------------------

    • Specific tuning of the GNOME desktop via Xstart
    1. Start Xstart, name a session, enter the hostname, hover over SSH, enter the username and password,
    2. Execution Command Box:
    3. If you start gnome, fill in the display= $DISPLAY/usr/bin/gnome-session, and if you start KDE, fill out the display= $DISPLAY/usr/bin/startkde
    4. Modify Configuration
1) Click Start-"All Programs-" Xmanager 3--"xconfig, and then double-click the configuration you are currently using (there is a small tick, usually the default profile). 2) window mode Select multiple Windows mode, then click Settings, select the Multiple Windows Mode tab, select Remote only or automatic Swit from the window corresponding dropdown box CH, click OK 3) options Please select Terminate at Reset4) Click OK.
    • Unable to start xstart several errors and solutions

Error One: The connection occurs: Can ' t open display:localhost:10.0

_x11transsocketinetconnect () can ' t get address for localhost:6010:name or service not known/usr/bin/xterm Xt Error:can ' t Open display:localhost:10.0

Workaround:

Join in the/etc/hosts

127.0.0.1 localhost

IPAddress hostname

Then you can enter the graphical interface, note the actual IP and machine name

Error two: Slc5 and SLC4 's xterm directory is not the same, need attention.

/usr/x11/bin/xterm:command not found.

Change Excution command to

/usr/bin/xterm-ls-display $DISPLAY

Can

--------------------------------------------------------------------------------------------------------------- ---------

[16:21:58] Host authentication initiated ...
[16:21:58] Hostkey fingerprint:
[16:21:58] SSH-DSA 1024x768 18:4c:c3:f8:71:0f:d2:b2:e1:4c:21:f8:33:49:9a:9a
[16:22:00] Accepted. Verifying host Key ...
[16:22:00] verified.
[16:22:00] User authentication initiated ...
[16:22:00] Sent user name ' Oracle '.
[16:22:00] Sent password.
[16:22:00] Access granted.
[16:22:00] Sent X11 forwarding request ...
[16:22:00] succeeded.
[16:22:00] Sent the command line.
[16:22:00]/usr/x11r6/bin/xterm-ls-display $DISPLAY
[16:22:00] Start timer (timer_shutdown, 180).
/usr/x11r6/bin/xauth:creating new Authority file/home/oracle/. Xauthority
BASH:/usr/x11r6/bin/xterm:no such file or directory
[16:22:01] Connection closed

Solution Ideas:

[Email protected] ~]# rpm-qf/usr/bin/xterm
Xterm-215-4.el5

Query to the missing RPM package, install the package

Mount Optical Drive

[Email protected] ~]# mount-t Iso9660/dev/cdrom/mnt/cdrom
[[Email protected] ~] #cd/mnt/cdrom

[[Email protected] cdrom]# CD Server
[[email protected] server]# ls xterm*
xterm-215-5.el5.i386.rpm

[Email protected] server]# RPM-IVH xterm-215-5.el5.i386.rpm
Warning:xterm-215-5.el5.i386.rpm:header V3 DSA Signature:nokey, key ID 37017186
Preparing ... ########################################### [100%]
File/usr/bin/resize from install of xterm-215-5.el5 conflicts with file from package Xterm-215-4.el5
File/usr/bin/xterm from install of xterm-215-5.el5 conflicts with file from package Xterm-215-4.el5

An error occurred installing the XTERM-215-5.EL5.I386.RPM package, which means that the Xterm package has been installed under/usr/bin/xterm with the name Xterm-215-4.el5

Judging if the package already exists, then how to deal with it ...
Modify the Xstart configuration in execution Command: Click on the arrows to add, such as:

After clicking on the arrows, click Add/remove .... Add the execution command line. Such as

Once added, in the Xstart window, then re-specify, as



Okay, here we go.

Window connects to Linux Remote Desktop with Xmanager4.0 Xstart

Related Article

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.