LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2004, 09:50 PM   #1
hardknox
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Apps through SSH


Alright guys, I've had this working in Core 2, but I'm having some issues with debian.

All of my applications work great locally, but when I try to run the same applications through SSH from a remote machine, I get two different errors.

When I run a program like Firefox or gksu I get the following error:

Gtk-WARNING **: cannot open display

When I run a java application, i get the following error:

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Can anyone tell me what's going on and how I can fix it?
 
Old 10-06-2004, 11:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
man xhost
man sshd_config

I can also highly recommend this link and that one.



Cheers,
Tink
 
Old 10-06-2004, 11:57 PM   #3
hardknox
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 15
I must say, your response here is surprising considering you were very helpful with my last issue. If the answers I need are in the man pages for those two commands, then I am more than happy to find them myself.

For your information, I search this forum and google every time i have a question. When I search the phrase "Gtk-WARNING **: cannot open display" here, there are no hits, and when I search for it on google, I get 1 hit that is in German.

As for you smart ass comments to use the search engines, I would highly recommend you making sure your advice is useful before you give it.
 
Old 10-07-2004, 12:08 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by hardknox
I must say, your response here is surprising considering you were very helpful with my last issue. If the answers I need are in the man pages for those two commands, then I am more than happy to find them myself.
Go on then and read them before you post an
impudent response ;)

Quote:
For your information, I search this forum and google every time i have a question. When I search the phrase "Gtk-WARNING **: cannot open display" here, there are no hits, and when I search for it on google, I get 1 hit that is in German.

As for you smart ass comments to use the search engines, I would highly recommend you making sure your advice is useful before you give it.
Before you make smart ass comments to mods just make
sure you understand how to use the search engines or
know for sure what you're talking about ...

Has it occurred to you that a - or an * in a search phrase may
not yield quite what you intended?

If you remove the -, * and : in the LQ search you get PLENTY
of hits, same on google if you omit the speech-marks.
http://www.linuxquestions.org/questi...der=descending

http://www.google.co.nz/linux?hl=en&...a=lr%3Dlang_en

Cheers,
Tink
 
Old 10-07-2004, 01:22 AM   #5
hardknox
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
If you remove the -, * and : in the LQ search you get PLENTY
of hits, same on google if you omit the speech-marks.
Being that I am posting this question in the Linux-Newbie area, don't you think this is an important piece of information? If you had included that information with your original post, it would have been MUCH more helpful.
 
Old 10-07-2004, 11:50 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You weren't surprised to not see your own
post listed the second time around?

And this is a Linux-support site, not a "How
to use Google"-board.


Cheers,
Tink
 
Old 10-07-2004, 12:38 PM   #7
coalquay404
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE
Posts: 22

Rep: Reputation: 15
Quote:
Originally posted by hardknox
Being that I am posting this question in the Linux-Newbie area, don't you think this is an important piece of information? If you had included that information with your original post, it would have been MUCH more helpful.
Hang on. You originally said

Quote:
For your information, I search this forum and google every time i have a question.
Doesn't that presuppose you knowing the significance of issuing wildcards in search queries and how to use google effectively? The information given to you about man pages for xhost and sshd_config was all the answer you needed. Indeed, had you taken the time to read them you'd already know how to use xhost to change connection rules and you'd be well on your way to solving the problem.
 
  


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 Off
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
SSH, forwarding native windows apps to linux. alunduil Linux - General 4 07-02-2005 01:10 PM
problems with X-apps when executed on remote host via ssh numerous Linux - Software 1 01-17-2005 07:08 PM
How do you disable gnome themes on other apps?/Emacs distorted over ssh ShyGuy91284 Linux - General 0 03-31-2004 05:09 PM
X apps in ssh and vpn through dhcpd jimjactin Linux - Newbie 2 11-04-2003 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 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