View previous topic :: View next topic |
Author |
Message |
scharkalvin Guru
Joined: 31 Jan 2004 Posts: 331 Location: south florida
|
Posted: Sat Jun 18, 2005 7:31 pm Post subject: can only log on to kde as root |
|
|
If I login via kdm as a user kdm stalls before finishing
"system" or "periphials"
and I'm left with a pale blue blank screen.
However if I log in as root, it comes up fine.
as a user I'm in the wheel, tty, dialup, mysql, audio, cdrw, cdrom groups. |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Sun Jun 19, 2005 7:18 am Post subject: Re: can only log on to kde as root |
|
|
scharkalvin wrote: | If I login via kdm as a user kdm stalls before finishing
"system" or "periphials"
and I'm left with a pale blue blank screen.
However if I log in as root, it comes up fine.
as a user I'm in the wheel, tty, dialup, mysql, audio, cdrw, cdrom groups. |
I had this problem at work where my home directory was -- supposed to be -- nfs mounted from a file server and wasn't. This cause KDE to get EXTREMELY confused.
Is your home directory non-local? That could be your trouble.
If not, did you copy your home directory from somewhere else or change your username or some other bizzare thing? That too has gotten me into trouble.
Or if you don't have write permission in your own home directory (change groups recently and not chown your home dir?) This too could cause you trouble.
Last but not least, KDE creates stuff in /tmp, if you already have kde stuff in there but don't have write permission to it, KDE will hang...
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
DarkMind Guru
Joined: 18 Dec 2003 Posts: 525 Location: Santiago, Chile
|
Posted: Sun Jun 19, 2005 7:33 am Post subject: |
|
|
in my case there was a problem with udev..
i fix with:
emerge -C udev
rm -rf /etc/udev
emerge udev |
|
Back to top |
|
|
scharkalvin Guru
Joined: 31 Jan 2004 Posts: 331 Location: south florida
|
Posted: Sun Jun 19, 2005 2:11 pm Post subject: fix? |
|
|
I found a fix to the problem.
It might have been a udev issue.
What was happening was that /dev/null was only
rw for root. I added a line to the begining of the
xdm script that does "chmod a+rwx /dev/null"
to fix the problem.
Somehow I think this hack isn't quite the right way, but
for now it works.
BTW when I logged in as a user on the command line
I got an error message from bash that it couldn't
open /dev/null ... That was the clue. |
|
Back to top |
|
|
scharkalvin Guru
Joined: 31 Jan 2004 Posts: 331 Location: south florida
|
Posted: Sun Jun 19, 2005 4:57 pm Post subject: |
|
|
Problem was pointed out to me on a gentoo newsgroup.
File /etc/udev/rules.d/50-udev.rules was missing
the line
"KERNEL="null", NAME=%k", MODE="0666"
Adding that was the REAL fix.
Now have problem of not getting a bash prompt in konsle
as user (works as root!). |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Sun Jun 19, 2005 5:57 pm Post subject: |
|
|
scharkalvin wrote: | Problem was pointed out to me on a gentoo newsgroup.
File /etc/udev/rules.d/50-udev.rules was missing
the line
"KERNEL="null", NAME=%k", MODE="0666"
Adding that was the REAL fix.
Now have problem of not getting a bash prompt in konsle
as user (works as root!). |
Great you got it fixed, can you add [solved] to the thread title?
Thanks,
Raydude _________________ Some day there will only be free software. |
|
Back to top |
|
|
scharkalvin Guru
Joined: 31 Jan 2004 Posts: 331 Location: south florida
|
Posted: Sun Jun 19, 2005 6:13 pm Post subject: One problem SOLVED, another one started! |
|
|
Quote: | Great you got it fixed, can you add [solved] to the thread title? |
Well there is still another problem, but
I have another thread started.
https://forums.gentoo.org/viewtopic.php?p=2509020#2509020 |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Tue Jun 21, 2005 8:00 pm Post subject: Re: One problem SOLVED, another one started! |
|
|
You should still put [solved] on this thread title so I can ignore it in my list... _________________ Some day there will only be free software. |
|
Back to top |
|
|
|