Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
question about DISPLAY variable

Reply  
Thread Tools
chucker8's Avatar
Member with 60 posts.
 
Join Date: Jun 2004
Experience: Intermediate
27-Apr-2006, 11:32 AM #1
question about DISPLAY variable
From my desktop, I launch a terminal window.

I connect to ServerA (SLES 9) which has gnome as DE.

ssh -X root@ServerA

I type:
# echo $DISPLAY
localhost:10.0

However, I connect in same way to Server B (SLES 9) which has no GUI

ssh -X root@ServerB

# echo $DISPLAY


Why is no display being set on Server B?
thanks!
dpak's Avatar
Member with 37 posts.
 
Join Date: Jul 2005
Experience: This one time at band camp...
27-Apr-2006, 01:07 PM #2
I'm pretty sure the DISPLAY variable gets set when X starts, which is why it wouldn't be set on the server with no GUI. You can try these methods of manually setting the variable in your shell login script...

http://www.asu.edu/it/fyi/dst/helpdo...splay_var.html
http://www.physics.sfsu.edu/compsys/...t/setdisp.html
__________________
Keep the internet virus free and protect your computer by downloading free antivirus software for your home computer. Changing domains? Try Alter-Ego Profile Migration System.

- DPAK
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:11 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.