Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can only log on to kde as root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Sat Jun 18, 2005 7:31 pm    Post subject: can only log on to kde as root Reply with quote

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
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2062
Location: San Jose, CA

PostPosted: Sun Jun 19, 2005 7:18 am    Post subject: Re: can only log on to kde as root Reply with quote

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
View user's profile Send private message
DarkMind
Guru
Guru


Joined: 18 Dec 2003
Posts: 525
Location: Santiago, Chile

PostPosted: Sun Jun 19, 2005 7:33 am    Post subject: Reply with quote

in my case there was a problem with udev..

i fix with:

emerge -C udev
rm -rf /etc/udev
emerge udev
Back to top
View user's profile Send private message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Sun Jun 19, 2005 2:11 pm    Post subject: fix? Reply with quote

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
View user's profile Send private message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Sun Jun 19, 2005 4:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2062
Location: San Jose, CA

PostPosted: Sun Jun 19, 2005 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Sun Jun 19, 2005 6:13 pm    Post subject: One problem SOLVED, another one started! Reply with quote

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
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2062
Location: San Jose, CA

PostPosted: Tue Jun 21, 2005 8:00 pm    Post subject: Re: One problem SOLVED, another one started! Reply with quote

scharkalvin wrote:
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


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum