You are not logged in.

#1 2010-05-25 01:56:01

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

$DISPLAY is not set

Hi, I'm having problems loading compiz-fusion or the settings with my nvidia driver, or driver itself.

Basically, I installed Arch (in vmware) and ran:
-pacman -Syu,
-pacman -S libgl xorg mesa xf86-video-vesa hal xf86-input-evdev xf86-input-mouse xf86-input-keyboard compiz-fusion alsa alsa-util nvidia
is there anything else I'm missing?

here's the error messages:

th_enuff.gif

nuff.gif

basically it says that my nvidia driver is incorrect or not configured properly. I have an nvidia 7300gt, does anybody know which driver I should be using??
http://www.nvidia.com/object/linux-d...195.36.24.html
this one should work, I'm not sure what I'm doing incorrectly. it still says $DISPLAY not set when I type startx/ccsm/fusion-icon.

I've been reading these but still no answers...  http://wiki.archlinux.org/index.php/NVIDIA
http://bbs.archlinux.org/viewtopic.php?id=90918

cheers

Moderator edit: There is no added value to adding 'not solved' to your topic title

Last edited by .:B:. (2010-06-08 21:24:24)

Offline

#2 2010-05-25 02:30:12

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: $DISPLAY is not set

So, why don't you just set it somewhere (eg. your .bashrc)?

export DISPLAY=:0.0

Offline

#3 2010-05-25 02:54:55

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

Re: $DISPLAY is not set

please, I don't speak unix, what is the exact code? :-)

Offline

#4 2010-05-25 03:01:06

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: $DISPLAY is not set

Exactly as shown, you put that line in your .bashrc file

Offline

#5 2010-05-25 03:09:58

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: $DISPLAY is not set

/facepalm

Offline

#6 2010-05-25 03:34:10

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: $DISPLAY is not set

i7920: See http://wiki.archlinux.org/index.php/Ins … _in_VMWare. You are expected to search the wiki yourself before asking for help here.

perbh: Please do not give bogus advice to the newbies, no matter how deserving you think they are.  The DISPLAY environment variable should be set by whatever program or script has started the X server.  Setting DISPLAY in .bashrc, or any other shell startup script, is a recipe for trouble.

Offline

#7 2010-05-25 03:49:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: $DISPLAY is not set

i7920 wrote:

please, I don't speak unix, what is the exact code? :-)

I mean no offense, but Arch is probably not going to be a good fit for you right now. Arch's promise of simplicity is that it will try the best that it can to stay out of the users way so that they can control their own system. Learning the 'Unix way', commands, and stucture, is imperative for success with this distro.

Offline

#8 2010-05-25 03:57:28

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

Re: $DISPLAY is not set

thanks rransom! that's very helpful, I'll see if that resolves the issue.

Offline

#9 2010-05-25 04:00:53

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

Re: $DISPLAY is not set

skottish wrote:
i7920 wrote:

please, I don't speak unix, what is the exact code? :-)

I mean no offense, but Arch is probably not going to be a good fit for you right now. Arch's promise of simplicity is that it will try the best that it can to stay out of the users way so that they can control their own system. Learning the 'Unix way', commands, and stucture, is imperative for success with this distro.

no I'm totally fine with typing commands and using the keyboard to navigate, I'm just new to the unix environment and arch so please cut me some slack--I am in the newbie section after all.

Last edited by i7920 (2010-05-25 04:24:45)

Offline

#10 2010-05-25 04:03:52

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: $DISPLAY is not set

Heh, I think you might backtrack a bit before this is over. wink

(Don't you love enigmatic advice?)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#11 2010-05-25 04:35:05

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: $DISPLAY is not set

rransom wrote:

i7920: See http://wiki.archlinux.org/index.php/Ins … _in_VMWare. You are expected to search the wiki yourself before asking for help here.

perbh: Please do not give bogus advice to the newbies, no matter how deserving you think they are.  The DISPLAY environment variable should be set by whatever program or script has started the X server.  Setting DISPLAY in .bashrc, or any other shell startup script, is a recipe for trouble.

It is _not_ a 'bogus' advice!
Granted - it should be set, but I have come across cases/distros where I have had to set it myself.

Offline

#12 2010-05-25 04:54:22

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: $DISPLAY is not set

perbh wrote:
rransom wrote:

i7920: See http://wiki.archlinux.org/index.php/Ins … _in_VMWare. You are expected to search the wiki yourself before asking for help here.

perbh: Please do not give bogus advice to the newbies, no matter how deserving you think they are.  The DISPLAY environment variable should be set by whatever program or script has started the X server.  Setting DISPLAY in .bashrc, or any other shell startup script, is a recipe for trouble.

It is _not_ a 'bogus' advice!
Granted - it should be set, but I have come across cases/distros where I have had to set it myself.

So have I, but the *only* case I have seen in which setting DISPLAY in .bashrc would have been a good idea was in Cygwin on Windows 98.  On a Unix-like system, .bashrc is the wrong place to set DISPLAY.

Offline

#13 2010-05-25 05:02:56

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: $DISPLAY is not set

DISPLAY almost always have to be set when working across unix/linux-machines with X-applications ... (though obviously not as :0.0)

Last edited by perbh (2010-05-25 05:03:29)

Offline

#14 2010-05-25 06:18:30

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: $DISPLAY is not set

perbh wrote:

DISPLAY almost always have to be set when working across unix/linux-machines with X-applications ... (though obviously not as :0.0)

Yes, that last part is one reason that setting DISPLAY in .bashrc is bad: DISPLAY is supposed to indicate the address of your current X server, which will not always be :0.

Also, some programs behave differently depending on the value of DISPLAY -- usually, they will try to display a GUI if DISPLAY is set and use a terminal-only fallback if DISPLAY is not set.  If you are not using X, but DISPLAY is set, such programs will try to show a GUI and crash, whereas they would have worked if you had left DISPLAY unset.

i7920: Based on the text you edited out of post #9, you seem to have gotten a clue.  Since DISPLAY being unset is clearly not your problem, please edit your post #1 to remove "(NOT SOLVED)" from the title of this thread; you can start a new thread if (when?) you need help again.  And good luck learning Arch Linux -- it'll be a saner, easier-to-use environment than the one I learned Unix with.

Offline

#15 2010-06-08 20:25:32

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

Re: $DISPLAY is not set

rransom wrote:

Since DISPLAY being unset is clearly not your problem, please edit your post #1 to remove "(NOT SOLVED)" from the title of this thread; you can start a new thread if (when?) you need help again.  And good luck learning Arch Linux -- it'll be a saner, easier-to-use environment than the one I learned Unix with.

Alright, so we've established that 'export DISPLAY=:0.0' won't solve the problem, but I'm still having the same issues with the nvidia driver or its configuration. any advice?
problem isn't solved yet!

Offline

#16 2010-06-08 20:39:38

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: $DISPLAY is not set

Have you read through the nvidia page on the wiki?

Offline

#17 2010-06-08 20:42:12

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

Re: $DISPLAY is not set

yes

Offline

#18 2010-06-08 20:56:15

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: $DISPLAY is not set

@i7920 - after installing the nvidia driver, make sure you run "nvidia-xconfig".

Offline

#19 2010-06-08 21:18:47

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: $DISPLAY is not set

vmware, right? The answer is on the wiki page linked to above.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#20 2010-06-09 00:09:19

rransom
Member
Registered: 2010-04-26
Posts: 92

Re: $DISPLAY is not set

VMware guests cannot access the host's video card.  The nvidia drivers will not help you.

When I saw that you had deleted all mention of the nvidia drivers from post #9, I assumed that you had figured this out already; otherwise, I would have told you explicitly to install xf86-video-vmware and forget about the nvidia drivers.

Offline

#21 2010-06-09 16:43:49

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: $DISPLAY is not set

In case you forgot which link I'm referring to (post #6 by rransom), it's this one: http://wiki.archlinux.org/index.php/Ins … stalling_X . Click it, you know you want to.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#22 2010-06-09 17:19:02

i7920
Member
From: Ottawa
Registered: 2010-05-17
Posts: 19

Re: $DISPLAY is not set

anonymous_user wrote:

@i7920 - after installing the nvidia driver, make sure you run "nvidia-xconfig".

doesn't work

Offline

#23 2010-06-09 17:22:07

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: $DISPLAY is not set

Yeah, I just realized you were trying to install in vmware so you shouldn't be using the NVIDIA driver.

Offline

Board footer

Powered by FluxBB