Comments on Using Putty to remotely open GUI applications
Remote connections can be established with system over a network through SSH (secure shell) easily, we can login, perform actions or send commands to another system remotely trough this conection on the commandline. But what we cannot do is launch a GUI application for viewing content present in the remote node. This is the disadvantage of using ssh in a terminal. But this disadvantage can be easily solved by making use of "putty", a remote login application which can not only be used to login to a remote node, but also launch GUI applications. Examples of GUI applications are Browser, text viewers, etc.
10 Comment(s)
Comments
Or you can simply use the -X option of ssh:
ssh -X login@remote_host
Wouldn't it be easier to use ssh with the "-X" option, in a terminal?
Hello,
Nice tutorial. However you can open remote GUI applications using ssh from the command line:
ssh -X username@host
will enable X11 forwarding in your SSH session.
Can't you simply use the option X for GUI over SSH? Also, add a C for compression.
ssh user@somehost -C -X
Using putty will work, but you can also use ssh as well. ssh user@workstation -X (note the capital letter), will let you open any gui application by typing the command at the terminal.
since everyone is recommending ssh -X, i'd like to pint out ssh -Y is a better way to enable X11 forwarding. check the ssh manpage for details.
greetings, eMBee.
scrap that. i missread the manpage. -Y is the less safe option (it trusts more, not it can be trusted more)
-X should be preferred!
greetings, eMBee.
Thanks for the great tutorial! To all you folks saying to just use ssh -x, my windows 7 box doesnt have ssh ;-) so putty is the best solution to for this.
Your Windows 7 box also doesn't have an X server, so putty still won't help you run GUI apps.
I recommend Cygwin for Windows; X server with ssh... everything you need.
Hi, thanks for the tutorial. I want to know how to use the serial communication of putty in this same configuration.
On windows, I have a project in which I communicate with a nordic bluetooth dongle using serial communication over putty. I want to port the project to Raspberry Pi.
Now, I have putty installed on Raspberry Pi 3. I just want to verify that to communicate with the dongle using serial communication, I need to use the USB to serial TTL wire and connect the dongle to that USB and the wires to serial ports of Raspberry pi 3 and then access the serial port using putty and the name of com port being used. Is this method correct ??Thanks :)