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.
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.
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.
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:
This 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?
Moderator's Comments:
edit by bakunin: PLEASE! My supply of CODE-tags is already running low as i have to give them away the whole day long. Please use your own CODE-tags for your code (not Italic-tags) so that mine last a little longer. This code tag video shows you how. Thank you.
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".
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".
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?
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Hi,
Could you please help me with the below issue..
I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1).
I'm trying to connect to server from the client machine using ftp service.
I have installed vsftpd daemon on both the machines.
I'm getting... (4 Replies)
I want to connect RHEL server from my windows 7 Professional machine graphically. I logged into 1 RHEL server with IP, 10.101.17.80 using Putty from my Windows 7 professional machine. Now from this server, 10.101.17.80, I want to connect to another RHEL server 10.101.17.79. I used,
ssh -X... (1 Reply)
Hi,
i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors:
... (1 Reply)
hi
Am trying to connect from Solaris 9 installed Sun server and having Tomcat 5.5.9 installed on top of it to Windows 2003 server with IIS installed for web application.
Scenarios am facing are
1. From Sun system am able to ping and telnet ip with port 80 of windows 2000 system which is... (2 Replies)
Hi Everyone,
I have a machine where RHEL(Red Hat Enterprise Linux) is installed and few of our products are saved on the same.
Our products work only on sparc 6 + and i want to basically asve the products on the machine which has RHEL installed on it and mount the drive on the sun server and... (2 Replies)
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Hi Everybody,
I have 2 Servers (AIX 4.3), recently I installed SSH in both servers successfuly. I can connect from one server to another using SSH. My problem is when I tried to connect from Windows workstation to one of these servers the connection timed out. I'm using PUTTY to connect to the... (12 Replies)