Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-17-2004, 09:40 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 9

Rep: Reputation: 0
Gnome: root gets v2.6 but user gets v2.4

OKey Dokey,

I just dont know what I am doing here....

I installed SlackWare with Gnome.

Then I installed Dropline gnome 2.4 and then upgraded it to 2.6 when that came out.

I ran the upgrade when I was logged in as root.

So when I type 'startx' the root user gets Gnome 2.6, and the other user (me) gets v2.4

How do I fix this?
Have I got two versions of gnome installed?
How can I tell?

I looked for an ~/.xinitrc file which I thought told it which one to use, but I dont seem to have one in my home dir. I have one in /etc/X11/xinit but it doesnt seem to say anything about which version of gnome to boot.

I'm a bit confused. I've tried googling the answer but I dont really know what to search for and I'm suffering info over load :-)

thanks, alexc.
Old 04-17-2004, 11:05 PM   #2
LQ Newbie
Registered: Apr 2004
Posts: 9

Original Poster
Rep: Reputation: 0

I do have 2.6.

It just looks like the old desktop....

I got a bit confused. I was running as root while playing in 2.6. Then decided to log in as me and it looks like the old install. No new 2.6 desktop or anything.

But if I look at about Gnome it says its version 2.6.

I'm such a newbie!

I need to learn more about how X and Gnome work. I'm a bit confused here.

Note to self: RTFM

thanks. alexc.
Old 04-19-2004, 07:11 AM   #3
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
Another note to alexc: don't run X/gnome as root. It is a security risk. If you want to use administrative privileges while in gnome, open up an xterm and type "su"
Old 04-19-2004, 09:02 AM   #4
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
yeah, looks like you have both versions of gnome installed.

the BASH shell uses somthing called hash tables to decide what binary to run.
for example when you type "echo Hello_WOrld" bash has to shearch all the binary folders for the echo binary, when it does that, it remembers where is is so that next time you use that command, it does not need to re-search.

what may have happened, (and im only speculating, i dont like gnome, im a KDE person)
the older version (2.4) for whatever reason is still on the disk, so BASH is remembering where it is, and running it when your user executes bash...

however for root, who has not used gnome before, BASH isnt remembering the old 2.4 binary, and so re-searched the binary folders and found the newer version.

if this is the case.... you could turn off the hashing function of bash, to make it fid the new gnome. i thing the command is 'bash +h' or 'basj +s'
so in command line mode before X starts...

'bash +s'

ANYWAY, thats just a messy work around.
SO... thats what i think may be wrong....
HERE is WHY i think it went wrong..

By any chance were you using GNOME when you tried to update gnome ?
im pretty sure you cannot delete running programs files. !

am i right ?
Old 04-21-2004, 12:10 AM   #5
LQ Newbie
Registered: Apr 2004
Posts: 9

Original Poster
Rep: Reputation: 0
"By any chance were you using GNOME when you tried to update gnome ?
im pretty sure you cannot delete running programs files. !"

Yes I was

Seems like that was a bad idea.

Thank you both for the responses.

Fortunatly this is a test box for me to get the hang of things.

spuzzzzzzz: So running as root was not bothering me really. I was only trying to learn stuff :-)

I never really got to the bottom of it, however I became less interested in Gnome when Nautillus kept crashing on me. But I did like a lot of things about Gnome.

I've since reinstalled Slack' and am trying out KDE....

which I have now broken as well by trying to upgrade from 3.1 to 3.2

I think I'll start another thread in the Slack forum.

thanks. alexc


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
cant log into gnome with normal user (only root) nenyo Linux - Software 4 07-22-2005 12:44 AM
run xwin applicaton over gnome from root user PinRojas Debian 2 06-28-2005 08:02 AM
Gnome crashed. Since, true type font no work for user. only root. RHLinuxGUY Slackware 3 11-03-2004 10:36 AM
Shutdown Gnome Menu for non-root user? schmmd Linux - General 4 03-10-2004 09:49 PM
iptables causing Gnome 2.2 to load slowly for non-root user SocialParasite Linux - Security 2 07-08-2003 10:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration