You are not logged in.
I've just installed Gnome2 with pacman. I've edited .xinitrc to add the line "exec gnome-session" but when I startx it says "gnome-session not found". What happened?
Offline
Check to see if gnome-session is in your path, or you can specify the full path to gnome-session. On my Arch .5 system that would be "exec /opt/gnome/bin/gnome-session".
However, I don't know if that is the proper way to start gnome from .xinitrc. Maybe a more Gnome-savy expert can confirm? I use GDM rather than startx.
Cheers,
farphel
Follow the link below, sign up, and accept one promotional offer. If I can get five suckers (err... friends) to do this, I'll get a free iPod. Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142
Offline
exec gnome-session
is the right command to start gnome, I have to say that is very strange that it does not found it.
I think giving the complete path to gnome-session it is not going to solve the problem because probably it is not able to find library, programs and other stuff that belong to gnome.
Try to check in the directory
/etc/profile.d/
there should be
gnome.sh
file, it set the enviroment for gnome at login time.
if you don't have it create it, mine look like
export GNOMEDIR=/opt/gnome
export PATH=$PATH:$GNOMEDIR/bin
export MANPATH=$MANPATH:$GNOMEDIR/man
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOMEDIR/lib/pkgconfig
Set the owner and privilege as
chown root:root gnome.sh
chmod 755 gnome.sh
now gnome should start correclty.
Offline
No, it didn't work. And there is not a gnome-session file in /opt/gnome/bin.
Offline
No, it didn't work. And there is not a gnome-session file in /opt/gnome/bin.
That's very strange, are you sure that did you installed gnome?
Gnome is composed by various package but all of them depend on the gnome basic package that shuold be gnome-desktop.
In this package there should be gnome-session
Offline
For Gnome 2.2, gnome-session is part of gnome-session.2.2.2-1. You can install gnome2.2 simply by doing
pacman -S gnome
Did you do it that way or any other way ? If not, I would suggest doing so now. It will install all the missing parts. (note: you can always de-install stuff later, if you feel things like games are not worth it ;-) )
For Gnome 2.4 (which is in incoming) I am not aware of a meta package "gnome". Simply install everything of Gnome 2.4 to be on the safe side.
Offline
pacman -S gnome
gnome: not found in sync db
I've reinstalled gnome-desktop, still no success.
Offline
su
abs
cd /var/abs/gnome
pacman -S `/bin/ls` (note these are forward quotes)
from there check that /opt/gnome is in your $PATH:
exit
echo $PATH
if it is not then logout and log back in and check again.
then:
startx
AKA uknowme
I am not your friend
Offline
If you can't install gnome via pacman -S gnome, than probably your pacman version is < 2.6, so follow these stops to make it work:
pacman -Sy pacman
pacman -S gnome
Also, if you don't want to install everything, you can probably just install gnome-session if you haven yet, (pacman -S gnome-session).
Offline