PDA

View Full Version : Installing GNOME in Arch Linux problem



Jimleko211
July 25th, 2009, 12:33 AM
I'm having a problem installing GNOME in a virtual machine with Arch Linux on it. I'm following the guide at http://wiki.archlinux.org/index.php/GNOME (http://http//wiki.archlinux.org/index.php/GNOME)

Things ran pretty smoothly in the beginning. I had to reinstall the gnome-extra package a few times to fill in the stuff that I missed and to redownload a corrupted package, but I thought I got everything right. I go down to the part where I have to add the Fuse module to /etc/rc.conf. I find the Module=() section, and I add in fuse, but unlike the guide, usblp is not in there. I didn't add it since I didn't want to break anything.

I try to launch the gnome-desktop, and it gives me this error message:
** (gnome-session: 1584): WARNING **: Cannot open display:

Did I do anything wrong? I'm posting here on UF because it seems like Arch users have a significant minority, and they seem pretty knowledable.

CJ Master
July 25th, 2009, 12:41 AM
Drop back to terminal and remove fuse. Does it work now?

Jimleko211
July 25th, 2009, 12:44 AM
By removing fuse, do you mean taking it out of /etc/rc.conf? If so, I did as you said, and I still get the same error message.

CJ Master
July 25th, 2009, 12:48 AM
Yes, that's what I meant. X runs fine, right? You mentioned you launced gnome-desktop, did you do it through K/X/GDM? Can you think of anything you've done that might have caused this?

Jimleko211
July 25th, 2009, 12:50 AM
No, X doesn't work fine. I just typed the command "gnome-session" into the terminal, and it gives me that error. I'm sorry, I should have been clearer.

CJ Master
July 25th, 2009, 01:03 AM
Oh! So X is broken!

What happens if you type startx in the terminal? The same error you get when you run GNOME? Have you installed HAL?

Icehuck
July 25th, 2009, 01:05 AM
Are you creating your own xorg.conf or are you going without it? If you have a xorg.conf file, what does "X -config /etc/X11/xorg.conf" result in?

Jimleko211
July 25th, 2009, 01:10 AM
I think what happened is that I didn't install Xorg. I'm doing it now, hoping it works.


Are you creating your own xorg.conf or are you going without it? If you have a xorg.conf file, what does "X -config /etc/X11/xorg.conf" result in?

A blank screen.



What happens if you type startx in the terminal? The same error you get when you run GNOME? Have you installed HAL?

I believe I installed HAL, yes. When I type in startx...now I get a bunch of windows. Maybe I should try GNOME again.

Jimleko211
July 25th, 2009, 01:12 AM
Gnome only works after I type in startx, but then the whole area looks weird o.o

CJ Master
July 25th, 2009, 01:13 AM
I think what happened is that I didn't install Xorg. I'm doing it now, hoping it works.


A blank screen.



I believe I installed HAL, yes. When I type in startx...now I get a bunch of windows. Maybe I should try GNOME again.

If you get a bunch of windows then you have, in fact, installen X.org.

Can you move your mouse and type in X? Is it in your monitors resolution?

CJ Master
July 25th, 2009, 01:14 AM
Gnome only works after I type in startx, but then the whole area looks weird o.o

Need moar detail.

Jimleko211
July 25th, 2009, 01:15 AM
If you get a bunch of windows then you have, in fact, installen X.org.

Can you move your mouse and type in X? Is it in your monitors resolution?
Yeah, that works. It allowed me to launch gnome through that, but it's kinda weird because it seems like whenever I launch something in Gnome, I have to place it manually through X? And there are a bunch of Xorg stuff on the top and bottom.

Jimleko211
July 25th, 2009, 01:17 AM
Need moar detail.
See post above.

CJ Master
July 25th, 2009, 01:17 AM
Yeah, that works. It allowed me to launch gnome through that, but it's kinda weird because it seems like whenever I launch something in Gnome, I have to place it manually through X? And there are a bunch of Xorg stuff on the top and bottom.

I'm afraid I don't get what you mean. Can you take a screenshot?

LookTJ
July 25th, 2009, 01:17 AM
Just wondering, did you include hal and fam in rc.conf?

justsomedude
July 25th, 2009, 01:19 AM
Look here:


http://wiki.archlinux.org/index.php/Gnome#Running_the_GNOME_Desktop

Jimleko211
July 25th, 2009, 01:19 AM
I'm afraid I don't get what you mean. Can you take a screenshot?
Absolutely.


Just wondering, did you include hal and fam in rc.conf?
I did.

Barrucadu
July 25th, 2009, 01:22 AM
Add "exec gnome-session" to your .xinitrc file.

Jimleko211
July 25th, 2009, 01:25 AM
Add "exec gnome-session" to your .xinitrc file.
Did that and now X won't start.
EDIT: And now when I go back to remove it it's not there...

Jimleko211
July 25th, 2009, 01:31 AM
Well, I went back and added it again, and now whenever I launch startx, it launches Gnome. Thanks!

kk0sse54
July 25th, 2009, 01:41 AM
This entire thread sounds like it could have been solved if you followed the Beginners Guide (http://wiki.archlinux.org/index.php/Beginners_Guide). The fantastic documentation is there for a reason ;)

Jimleko211
July 25th, 2009, 01:45 AM
Yeah, I agree, that's how I mostly solved the problem. I honestly didn't know it existed, I just googled "GNOME in Arch Linux". Sorry.

CJ Master
July 25th, 2009, 01:56 AM
Well, I went back and added it again, and now whenever I launch startx, it launches Gnome. Thanks!

So Gnome is normal and doesn't have that X stuff?

Jimleko211
July 25th, 2009, 02:08 AM
So Gnome is normal and doesn't have that X stuff?
Correct! I still gotta find out how to make it start on default (and how to add users), but I'll figure it out in due time.

unknownPoster
July 25th, 2009, 02:19 AM
Correct! I still gotta find out how to make it start on default (and how to add users), but I'll figure it out in due time.

All of which are in The Beginner's Guide (http://wiki.archlinux.org/index.php/Beginners_Guide)

kk0sse54
July 25th, 2009, 02:23 AM
All of which are in The Beginner's Guide (http://wiki.archlinux.org/index.php/Beginners_Guide)

/offtopic

I didn't know you were incognito on this forum :)

unknownPoster
July 25th, 2009, 02:27 AM
/offtopic

I didn't know you were incognito on this forum :)


/offtopic

I'm everywhere... :twisted:


/on-topic

Actually, now that I think about it. There's really nothing that you have to figure out by yourself if you use Arch. Almost everything you could think of is on the wiki.

However, if you run [Testing] or are intentionally trying to break your system, you're on your own. :P

Jimleko211
July 25th, 2009, 02:49 AM
Wow, this beginner's guide has everything o.o Arch is gonna rock once I get my external hard drive to back up all my data! :D

terminhell
October 2nd, 2009, 03:16 PM
A lot of your problems will be solved by starting gnome or any other DE this way:


exec ck-launch-session gnome-session