LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-31-2007, 01:28 PM   #1
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Rep: Reputation: 16
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, 01:34 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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, 02: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: 16
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, 03: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, 01: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: 16
I figured out what the problem was. I never restarted sshd after enabling X11Forwarding.
 
  


Reply



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 On
HTML code is Off



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration