LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   X won't start as normal user, only as root. (http://www.linuxquestions.org/questions/debian-26/x-wont-start-as-normal-user-only-as-root-596906/)

juanjavier_xxx 11-03-2007 02:46 PM

X won't start as normal user, only as root.
 
I have recently installed Gnome.


Code:

apt-get install gnome-core gnome

Since then no X environment starts up as normal user. Only as root.

Things used to work fine both as user and as root when I was running blackbox.:(

Every file and folder in my user folder /home/juanja belong to the juanja user group. I use to startup X by typing

Code:

juanja@debian~$ startx

If you need a startx output, how could I post it?

Thanks in advance.

juanjavier_xxx 11-03-2007 02:57 PM

Uuupss....forgot to mention!!

X server does actually boot as a normal user. Graphical background and X mouse pointer loads and moves.

Gnome won't. It kicks me out to text mode again every time I type
Code:

startx
as a normal user.

So I guess it has got something to do with some Gnome config files, maybe...

Telemachos 11-03-2007 06:57 PM

Check if you are running out of space on the hard drive (or relevant partition). This problem sometimes means that you need to clean out some old stuff. (One easy way is with "apt-get clean" or "aptitude clean" - that will remove the debs of installed apps.)

juanjavier_xxx 11-04-2007 03:08 AM

Quote:

Originally Posted by Telemachos (Post 2947301)
Check if you are running out of space on the hard drive (or relevant partition). This problem sometimes means that you need to clean out some old stuff. (One easy way is with "apt-get clean" or "aptitude clean" - that will remove the debs of installed apps.)

Thanks for the tip. It is not the case

Code:

S.ficheros        Bloques de 1K  Usado    Dispon Uso% Montado en
/dev/hda1              6728280  3373020  3013480  53% /
tmpfs                  513728        0    513728  0% /lib/init/rw
udev                    10240        68    10172  1% /dev
tmpfs                  513728        0    513728  0% /dev/shm
/dev/hda6            67584120  44335712  19815320  70% /home

Any other idea?

juanjavier_xxx 11-04-2007 05:10 AM

Quote:


Any other idea?
Yes:

Code:

# chmod user 644 /home/user_fold/
# chown user:usergroup /home/user_fold/
# chgrp user /home/user
# chmod 644 home/user_fold/.dmrc

Reboot. You should be done.


All times are GMT -5. The time now is 09:29 AM.