LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 10: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-07-2004, 12:01 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
man xhost
man sshd_config

I can also highly recommend this link and that one.



Cheers,
Tink
 
Old 10-07-2004, 12:57 AM   #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, 01:08 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 02: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, 12:50 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 01: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


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting graphic apps from ssh xymian Linux - Software 2 09-23-2005 06:00 AM
SSH, forwarding native windows apps to linux. alunduil Linux - General 4 07-02-2005 02:10 PM
problems with X-apps when executed on remote host via ssh numerous Linux - Software 1 01-17-2005 08:08 PM
How do you disable gnome themes on other apps?/Emacs distorted over ssh ShyGuy91284 Linux - General 0 03-31-2004 06:09 PM
X apps in ssh and vpn through dhcpd jimjactin Linux - Newbie 2 11-05-2003 12:22 AM


All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration