LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-16-2003, 11:41 PM   #1
Hayz
LQ Newbie
 
Registered: Sep 2003
Location: Ann Arbor, MI (U.S.)
Distribution: Slackware 9.0
Posts: 11

Rep: Reputation: 0
Question My Display has vanished.


Feeling like a Newbie (again.) I'm running a headless Linux Server, recently upgraded to Slack 9.1, and was just about to fire up an x-session in Windoze when I realized I couldn't export the server's display to my MS box.

-tried "export DISPLAY=remotehostIP:0" but it didn't work

-tried "xterm -DISPLAY=remotehostIP:0" and that didn't work

Other forums suggested I try "xhost +" to allow the display to be exported to remote hosts. Doing so returns "unable to open display "" "

When I tried to simply see how the display was set, echo returned NOTHING.

So what have I done wrong? I have no problem setting up my VNC server to run on DISPLAY :1 (or :0 for that matter)

I had assumed that the default display was always "localhost:0" Is this not the case? If so, how do I set it/automate it? What file do I edit? Thanks in advance.
 
Old 11-16-2003, 11:50 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Re: My Display has vanished.

Quote:
Originally posted by Hayz
Feeling like a Newbie (again.) I'm running a headless Linux Server, recently upgraded to Slack 9.1, and was just about to fire up an x-session in Windoze when I realized I couldn't export the server's display to my MS box.

-tried "export DISPLAY=remotehostIP:0" but it didn't work

-tried "xterm -DISPLAY=remotehostIP:0" and that didn't work

Other forums suggested I try "xhost +" to allow the display to be exported to remote hosts. Doing so returns "unable to open display "" "

When I tried to simply see how the display was set, echo returned NOTHING.

So what have I done wrong? I have no problem setting up my VNC server to run on DISPLAY :1 (or :0 for that matter)

I had assumed that the default display was always "localhost:0" Is this not the case? If so, how do I set it/automate it? What file do I edit? Thanks in advance.
Try that...
Quote:
export DISPLAY=remotehostIP:0.0
Cheers,
Tink
 
Old 11-17-2003, 12:28 AM   #3
Hayz
LQ Newbie
 
Registered: Sep 2003
Location: Ann Arbor, MI (U.S.)
Distribution: Slackware 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Tink-

I'll be damned!

Totally did the trick. My sincere thanks. If you'd care to indulge me, just what does the 0:0 mean, anyway?

thanks again
 
Old 11-17-2003, 01:06 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Quote:
Originally posted by Hayz
Tink-

I'll be damned! :D

Totally did the trick. My sincere thanks. If you'd care to indulge me, just what does the 0:0 mean, anyway?

thanks again
Wish I could mate ... :}

I know the :0 (or :1) respectively stands for
the first (second) display ... no idea what
the .0 does ;)

Cheers,
Tink
 
  


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
one of my threads vanished rusty_slacker LQ Suggestions & Feedback 13 01-11-2005 03:30 PM
eth0 vanished mudelf Linux - Networking 2 12-17-2003 04:34 AM
A little help please, desktop vanished trentk Linux - General 4 09-03-2003 05:09 AM
"display" command has vanished jonr Linux - Software 7 05-09-2003 09:29 PM
ftpaccess vanished? raymond Linux - General 1 11-09-2002 01:13 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration