LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-07-2004, 08:34 AM   #1
W1pEout[64]
LQ Newbie
 
Registered: Jan 2004
Location: Germany
Distribution: SuSE 9.0
Posts: 10

Rep: Reputation: 0
Angry set DISPLAY variable


Dunno if this fits into this forum.
Well, as I was browsing on the Inet, I found that ximiandotcom offered a free version of their Desktop 2.0 for SuSE 9.0 users.So I checked how to install it, and the instructions told me to simply type wget -q -O - httpnotallowedtopostaurlyet) |sh into a shell as the superuser.Well all the terminal gave me was this:
Quote:
==> Autodetecting system type...
==> Checking $DISPLAY and X permissions...

The Ximian Desktop Installer is a graphical application, and
either you have no DISPLAY variable set or the root user does not
have permission to access your X server. Run 'xhost +localhost'
before becoming root, and make sure that the DISPLAY variable is
set correctly before running the go-ximian script.

Cleaning up temporary files... done.
Well how do I set this DISPLAY variable?I did what the program said and typed xhost +localhost but that didn't help either.Mybe you guys know how to fix this...
 
Old 01-07-2004, 08:37 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Like this:
export DISPLAY=<your.own.ip>:0.0

Type this in the console you are going to run the ximian thingie.
 
Old 01-07-2004, 08:50 AM   #3
W1pEout[64]
LQ Newbie
 
Registered: Jan 2004
Location: Germany
Distribution: SuSE 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
the 192.168.2.xx thing or my "real" ip?
I tried both but neither worked, what could I have done wrong?
Still thanks for your help though!

Last edited by W1pEout[64]; 01-07-2004 at 08:51 AM.
 
Old 01-07-2004, 09:09 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
It should be your LAN IP (the 192.168.2.xx you mention).

I guess you have started an (x)term, became root and try to start the ximian program.

After becomming root, in that (x)term, you should do the export DISPLAY=192.168.2.xx:0.0.
The xhost +192.168.2.xx should be done by the (regular) user that started the window manager.
Now you should be able to start the ximian program (as root, from the (x)term).

Hope this helps.
 
Old 01-07-2004, 09:41 AM   #5
W1pEout[64]
LQ Newbie
 
Registered: Jan 2004
Location: Germany
Distribution: SuSE 9.0
Posts: 10

Original Poster
Rep: Reputation: 0
Thx for the help!Worked, but I guess it's not free after all.... >_<
 
  


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
Problem withChanging DISPLAY environment variable to display on someone else's screen wantsri Linux - Networking 1 10-25-2005 11:14 AM
DISPLAY variable error...cannot set it rameshchandra Linux - General 2 10-09-2005 04:59 AM
Tcl Error no display name and no DISPLAY environment variable thinkgeek Programming 5 07-06-2005 10:24 PM
Set variable with value of another Ephracis Programming 7 12-25-2004 10:34 AM
set DISPLAY variable problem karcoms Linux - Software 6 07-31-2003 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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