You are not logged in.

#1 2009-01-09 03:46:59

iamybj
Member
Registered: 2007-05-08
Posts: 54

How indeed to install gnome desktop system?

Last night I installed a core system of archlinux.
I searched the wiki  and find a section describes how to install gnome.
But after I do like its describtion, gnome did not work, It prompt : cannot open display.
And when I typed "startx", it prompts" startx: cannot find command".
So I installed xorg:

pacman -S xorg

Then when I typed startx,it appeared a xterm system.
In the commandline prompt I typed "gnome-seseion", then it appeared a gnome system like this :
l_74267500d4e6353f6ccf3938edb70500.jpg

I want a system that do not enter gnome system until I type "startx". How to do it ?
I think the wiki should be updated, and be checked before pulished!

Offline

#2 2009-01-09 03:49:51

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: How indeed to install gnome desktop system?

The wiki is fine. You need to edit your ~/.xinitrc to run gnome.

Offline

#3 2009-01-09 03:52:55

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: How indeed to install gnome desktop system?

You should always startx as a user, not root.  So, as user, create a file in the user's home directory named .xinitrc and put

exec gnome-session

in .xinitrc

HTH

Pudge

Offline

#4 2009-01-09 06:19:40

iamybj
Member
Registered: 2007-05-08
Posts: 54

Re: How indeed to install gnome desktop system?

yeah, I have start the gnome correctly.
I still have a question.
I want to save resources, so I wrote those lines in /etc/X11/xinit/xinitrc :

modprobe fuse
/etc/rc.d/hal start
/etc/rc.d/fam start
exec gnome-session

But it did not run correctly. So I had to load fuse mode and run deamon hal and fam in rc.conf, but not every times I need the Gnome desktop.
Why does it not work when writing in xinitrc ?

Offline

#5 2009-01-09 08:02:22

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: How indeed to install gnome desktop system?

http://wiki.archlinux.org/index.php/Xinitrc

you should have and & after them except the exec line....

and loading modules etc  need root privilages, so i'm not sure if it will work in .xinitrc.

Last edited by u_no_hu (2009-01-09 08:07:06)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#6 2009-01-09 14:00:51

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: How indeed to install gnome desktop system?

Place "hal fam" at the end of the daemons line in rc.conf, and "fuse" in the modules line.

Offline

#7 2009-01-09 14:06:28

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: How indeed to install gnome desktop system?

Offline

#8 2009-01-09 18:46:37

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: How indeed to install gnome desktop system?

iamybj wrote:

Last night I installed a core system of archlinux.
I searched the wiki  and find a section describes how to install gnome.
But after I do like its describtion, gnome did not work, It prompt : cannot open display.
And when I typed "startx", it prompts" startx: cannot find command".
So I installed xorg:

pacman -S xorg

Then when I typed startx,it appeared a xterm system.
In the commandline prompt I typed "gnome-seseion", then it appeared a gnome system like this :

[Image removed.]

I want a system that do not enter gnome system until I type "startx". How to do it ?
I think the wiki should be updated, and be checked before pulished!

One, pacman -S gnome gnome-extra.
Two, pacman -S gamin and allow it to replace FAM.
Three, add hal gdm to your DAEMONS array in /etc/rc.conf, and remove fam if it's there.
Four, /etc/rc.d/hal restart && /etc/rc.d/gdm restart.
Five, profit.

Last edited by Wintervenom (2009-01-09 18:47:33)

Offline

Board footer

Powered by FluxBB