LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-31-2007, 02:28 PM   #1
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Rep: Reputation: 15
run X apps in ssh


I was wondering if there was any way to run X applications through a ssh session. I connect to my Ubuntu machine through Putty on a XP machine.
 
Old 05-31-2007, 02:34 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
Yes. To use it through ssh, you need to have an X environment installed on windows. I believe there are a couple of commercial x servers for windows (Xwin32 is the one that comes to mind). I think you can also use Cygwin on windows.

Personally, I use VNC. But I'm not sure how secure it is since it's just on my local home net and I'm not too concerned about the security.
 
Old 05-31-2007, 03:33 PM   #3
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Original Poster
Rep: Reputation: 15
I followed a tutorial how to set up Cygwin to run with Putty here.

Now when I try to open an application I get the error

Code:
Gtk-WARNING **: cannot open display:
 
Old 05-31-2007, 04:02 PM   #4
wendea
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 81

Rep: Reputation: 15
yes you are able to run x apps through ssh - I cant remember how though.

www.google.com :P
 
Old 06-01-2007, 02:09 PM   #5
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Original Poster
Rep: Reputation: 15
I figured out what the problem was. I never restarted sshd after enabling X11Forwarding.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
starting graphic apps from ssh xymian Linux - Software 2 09-23-2005 06:00 AM
can't run x apps iomari Linux - General 2 11-22-2004 03:00 AM
Apps through SSH hardknox Linux - Newbie 6 10-07-2004 01:38 PM
X apps in ssh and vpn through dhcpd jimjactin Linux - Newbie 2 11-05-2003 12:22 AM
Run Java apps Marcos Van Linux - Newbie 12 05-20-2003 11:36 PM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration