|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Xming Vs ssh connect to RHEL server from Windows machine
I am able to connect a RHEL server from my Windows machine using Putty (via ssh). My question is what is the advantage of using Xming instead of Putty? Is it that Xming would enable a graphical connect from the Windows machine to RHEL server?
I hope my question is clear that what is the advantage of using Xming over Putty. Please revert with the reply to my query. Regards |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
XMing allows you to run graphical applications from a remote machine. It typically uses Putty for the ssh connection. You can build launchers that launch a specific windowed application and put those on the windows desktop as shortcuts. It works with 64-bit Windows operating systems.
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Thanks for your answer. What is the reason that Putty does not support a graphical connect? Because, it does not show a graphical connect even if give a use ssh -X option.
|
|
#4
|
||||
|
||||
|
It may be that you don't have the display variable set up on the linux side. When I want to use the Sun Java Directory Server on my LDAP server, I ssh to the machine and run this little script: Code:
#! /bin/bash
#This little script reads the ipaddress of the session that just logged
#in via SSH and sets up the xwindows display. Exceed must be running
#on the local terminal first.
echo "Do you have Exceed or Xming running? (y or n) and Enter"
read response
if [ "$response" == "y" ]; then
ip_addr=${SSH_CONNECTION%% *}
DISPLAY=$ip_addr:0.0
export DISPLAY
/var/mps/serverroot/startconsole
fiThis sets the DISPLAY variable based on the ip from which you connnected. The linux box needs to know where to send the display based on the DISPLAY variable. In my script, after the variable is set, it runs the startconsole program. This is on a Solaris system; on a normal linux system Xterm is usually used. So, typically, you would ssh to the box, set the DISPLAY and then run the program you want on the Linux machine. Does that make sense?
Last edited by bakunin; 02-13-2013 at 11:34 AM.. |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Xming is an X11 server for Microsoft Windows. Putty is an SSH client. Two different softwares, with different purposes.
If you check the "Enable X11 forwarding" option in Putty, it will allow the remote UNIX server to display X11 GUI programs on your local PC, over the ssh tunnel.... but those X11 gui programs will need an X11 server to connect to; that's Xming. FYI we use Putty and Xming to manage all our production UNIX and Linux servers at work, they are a nice combination and work very reliably. Tip: When you start Xming, don't start it using the "Xming" shortcut. Instead, use the "Xlaunch" shortcut, and be sure to check the box for "No Access Control". |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
I could not get the launcher to work at all with Solaris 10. That's why I ended up creating the script. Do you have it working to a Solaris machine, perchance?
|
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
Quote:
Xlaunch can create Windows shortcuts, so that you don't have to manually ssh in and start a program, but you have to get it working first, or you won't know where the problem is. We don't have any Solaris here, it's all HP-UX and RHEL. That shouldn't matter though, since we're talking about standardized networking protocols, X11 and ssh, and should work identically on any unix-like system. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphically connect RHEL server from Windows 7 Professional | RHCE | Red Hat | 1 | 02-12-2013 04:30 AM |
| Steps to connect linux (Ubuntu) machine from windows 7 | diehard | Ubuntu | 1 | 05-08-2012 01:24 AM |
| How to mount a Files System where RHEL is installed on a Sun server Machine.. | sankasu | Solaris | 2 | 08-03-2009 08:24 AM |
| SSH into a linux machine from a windows machine | lassimanji | Shell Programming and Scripting | 4 | 04-29-2009 01:48 PM |
| Connect from Windows Using SSH | aldowsary | AIX | 12 | 08-07-2005 03:12 PM |
|
|