How to connect to the RHEL system from Windows using Xmanager ?
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Netsarang Xmanager
Issue
- How to configure RHEL server to allow remote connections from Microsoft Windows systems ?
- How to access GUI of RHEL via Xmanager from Windows?
- How to connect to gdm via Xmanager?
Resolution
To access RHEL system from Microsoft Windows using Xmanager
following methods can be followed:
Using SSH X11Forwarding
-
Make sure your ssh server is configured to allow X11Forwarding :
# less /etc/ssh/sshd_config search for "X11Forwarding" option in above file. It should be "yes" Eg: X11Forwarding yes
-
Now try any one of these methods:
Method-1
- Run Xmanager- passive mode on your windows system.
- Open Putty --> In Connection select ssh and expand it -> now click on X11 -> On right hand side you will get an option
to enable X11 forwarding, enable it. - Again click on session and enter the ip of RHEL6 system.
- This will open login shell . Enter the login details.
- After login into system try to run any application
Method-2
- Run xstart from windows explorer:
-
Enter following details in opened window:
Host: Ip_of_RHEL_System Protocol: SSH User name : Enter user name Authentication: Password Command: /usr/bin/xterm <<------------ This will open a terminal after successful authentication.
Using Xdmcp
- Enable Xdmcp on RHEL and configure it to allow connections on UDP port 177.
Steps to connect from Windows- Open X Browser and it should list all the host available for XDMCP connection.
- Click on system icon to open it.
Note:
- Xmanager is a third party application, usage and configuration this application is not supported as per Production Support Scope of Coverage
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments