Visit Our UNIX and Linux User Community

Opening a GUI from a putty window on Linux

Thread Tools Search this Thread
Operating Systems Linux Opening a GUI from a putty window on Linux
# 1  
Old 12-16-2009
Question Opening a GUI from a putty window on Linux

I have a linux which I am accessing using putty.I have written some code in TCL-Tk & developed a GUI based app.I knew that it is difficult to open a GUI based app. from putty,but there must be some way to do that.
If anybody knows any such workarounds kindly let me know.
Shell I am using is bash.
I tried setting display to my local m/c.

Thanks in advance.
# 2  
Old 12-16-2009
It's not difficult. You need to run an X-Windows client on your workstation and set the option in putty to forward X11 requests. you can use a free option like cygwin - Cygwin/X
# 3  
Old 12-16-2009
UNIX (that includes Linux) (mostly) uses X11 for graphical displays.Windows does not.

You'll need 2 things: an X11 server for Windows, and SSH X11 forwarding. The later is hidden in PuTTYs settings (in the tree on the left, in (I think) Connection -> SSH -> X11 -> Enable X11 forwarding). As for the X11 server: I've had pretty good experiences with the one that ships with Cygwin.
# 4  
Old 12-16-2009
Can you give me some more information about X11-server for windows?
How can I check for the availability of this in my system?

Is it mandatory to have X11 or any other ortion is available?
# 5  
Old 12-16-2009
Information on X11
Information on Cygwin/X
Information on Xming

Checking for availability is pretty simple:
  • If your workstation runs some kind of UNIX, you probably have it
  • If your workstation runs Windows, and the IT department set it up, you probably don't. Check with them to see if you're allowed to install it.
  • If your workstation runs Windows, and you set it up yourself, you'd know if you have it or not.

It's not mandatory to have X11. You could always install TCL, Tk, and some other dependencies on your local machine in order to have your app run locally.
Or you could install an X11 VNC server on the remote machine.

Previous Thread | Next Thread
Test Your Knowledge in Computers #58
Difficulty: Medium
Douglas Engelbart invented the computer mouse.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

AIX GUI to replace old school puTTy?

Is there now in existence a graphical interface for AIX instead of black screen on putty? I ask this, because IBM i has GUI interfaces. Maybe a navigator GUI for smitty etc also with powerVP enhanced? (2 Replies)
Discussion started by: dusktildawn
2 Replies

2. UNIX for Dummies Questions & Answers

Getting command output to putty window title.

Hi, Last 2 weeks I have searched many forums and i haven't found the answer for the question: How to get all command output to Putty title? Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
Discussion started by: domagaj
1 Replies

3. Shell Programming and Scripting

Help with putty window setting

hi friends, This is not a shell scripting related doubt, but still posting so that you can answer it ;) or redirect to correct place in this website. Many a times i have to open multiple putty sessions by duplicating a session and want to rename their tabs. For this activity i have to right... (4 Replies)
Discussion started by: kunwar
4 Replies

4. UNIX for Advanced & Expert Users

Change the window name for putty

Hi everyone , Happy new year ! I have a question , hope someone will respond to me . I will be logging into so many servers in the same putty . So , whenever i loggedoff and loggedin into anonther server , putty window will change accordingly to the server name . If the above is... (7 Replies)
Discussion started by: radha254
7 Replies

5. UNIX for Dummies Questions & Answers

Putty - window size

Hi Guys, When I use putty and maximize it, then the second half of the emulator window is not utilized and used! I mean the mouse cursor is at the half of the page not at the bottom! i have to once minimize and maximize the window to tell putty that i am going to use the maxmized (4 Replies)
Discussion started by: messi777
4 Replies

6. Fedora

can't login via GUI but can via Putty

Hi all, I am able to login via putty to a fedora 10 workstation. But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work. $ who -r ... (4 Replies)
Discussion started by: lramsb4u
4 Replies

7. UNIX for Advanced & Expert Users

How to connect ubuntu through putty from Window?

Hii, i have installed ubuntu in windows without make partitioning by using wubi.. i want to connect ubuntu linux through putty. but I am unable to do that. Please help me.. how to set ip address in putty (3 Replies)
Discussion started by: pankajkumar
3 Replies

8. Shell Programming and Scripting

How do I Get the Title of My Putty Window (Emulating an XTerm)

I have a Perl script that changes the terminal window title and I would like to reset it to the original value when I am done. We are using Putty which emulates xterm. We are not running X-Windows so I can't use something like xprop (can I?). I'm using XTerm control codes to change the title and I... (2 Replies)
Discussion started by: NateTut
2 Replies

9. UNIX for Advanced & Expert Users

putty title window?

I have implemented the solution from mschwage located in post; ie wt () { echo -n "^2;${@}^G" } This method is awesome!!!! The reason I am sending you this message is to get your assistance with... (3 Replies)
Discussion started by: lwif
3 Replies

10. UNIX for Advanced & Expert Users

Change putty title window?

Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies

Featured Tech Videos