Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-07-2002, 07:07 PM   #1
Registered: Aug 2001
Location: Magic City, USA
Distribution: Ubuntu
Posts: 73

Rep: Reputation: 15
echo $DISPLAY is blank in RH7.3

Trying to run an X application through an SSH session is proving harder than I thought. I would love to have this functionality because then I could run Xapplications from my home machines while at work on my M$ machine...

When I connect to my RH7.3 server however and do an echo $DISPLAY I get a blank row returned. How can I get this to tell me the correct information so when I launch an X application it knows where to send it?

Thanks in advance!
Old 11-07-2002, 08:18 PM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You should just probably go ahead and set the DISPLAY value. It typically is not set when you login via SSH.
Old 11-07-2002, 10:27 PM   #3
Registered: Jul 2002
Location: san francisco
Distribution: freebsd
Posts: 102

Rep: Reputation: 17
You may have your ssh config file set up not to allow X forwarding (man ssh, man sshd for all the nitty gritty). When you issue your ssh command try using the -X option. is the $DISPLAY env variable set now?

Here's another thing that helps when you're trying to figure out what's going on with ssh: use the -v (verbose) option it dumps a lot of stuff on stdout to tell you what's happenin'. really. try it.

Last edited by leed_25; 11-07-2002 at 10:30 PM.
Old 11-08-2002, 01:50 PM   #4
Registered: Aug 2001
Location: Magic City, USA
Distribution: Ubuntu
Posts: 73

Original Poster
Rep: Reputation: 15
Logged in from the terminal and this is even true here - it appears it's not a SSH configuration.

I could set the $DISPLAY, but how do I know WHAT to set it to?
I can use localhost:0.0 but I don't think this is going to help in an SSH session...



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
Screen goes blank after installing redhat 8,have g-force display , athlon m/c lino Linux - Newbie 4 12-01-2003 09:06 PM
RH9 Shrike /sbin/loader display problem with SIS 630 laptop - display is blank ! johnvoisey Red Hat 4 11-01-2003 06:52 AM
HP DeskJet 3320 USB, RH7.3, samba, network share, blank pages shahriars Linux - Hardware 3 10-23-2003 12:43 PM
RH7.1 install, blank screen Dave VanHorn Linux - Software 1 10-01-2001 05:41 AM
Do RH7 and 7.1 support the Geforce2 MX display card? explorer1979 Linux - Software 2 09-07-2001 01:43 PM > Forums > Linux Forums > Linux - Software

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

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