Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE: login as root don't work anymore
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
flaZh
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 86

PostPosted: Tue Feb 15, 2005 3:57 pm    Post subject: KDE: login as root don't work anymore Reply with quote

I dunno what I've done, but the root user won't let me login on KDE.
After typing the password and the loginscreen dissapears, a small black horizontal line comes up in the top left corner, and back to the loginscreen again.
But this other user works perfectly.

I've tried to copy over all settings from this user to root to fix the problem, no diff.
I copied the settings from ~/.kde3.3/shared/config/* - please help me out.

I first suspected my problems with changing the ksplashscreen since that's what coming after the loginscreen.
But copying over those settings as well didn't make any diff.

Thanks for any help.
_________________
___________
flaZh
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Feb 15, 2005 4:03 pm    Post subject: Reply with quote

Mhm, you are strongly advised not to login as root in X anyway, so why do you care? :twisted:
Back to top
View user's profile Send private message
flaZh
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 86

PostPosted: Tue Feb 15, 2005 4:13 pm    Post subject: Reply with quote

Yeah, you are right. I know. But it's nice to have the root if this would happen to my other user too 8)
_________________
___________
flaZh
Back to top
View user's profile Send private message
JackDog
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 297
Location: St. Louis, Missoura

PostPosted: Tue Feb 15, 2005 5:09 pm    Post subject: Reply with quote

vim /usr/kde/3.4/share/config/kdm/kdmrc
Code:

# Allow root logins?
# Default is true
AllowRootLogin=false


Looks like the KDE default is true and the gentoo default is false. I dont remember changing this since I use gdm instead of kdm.

I strongly advise you to disable this. If you have to start an entire WM for root operations, you are more than likely doing something wrong.
_________________
Are you intolerant of intolerant people? Tired of being PC yet?
Back to top
View user's profile Send private message
flaZh
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 86

PostPosted: Tue Feb 15, 2005 5:18 pm    Post subject: Reply with quote

I was just in KDE with root, and I have not changed this:
Code:

damned@Home ~ $ cat /usr/kde/3.3/share/config/kdm/kdmrc |grep 'AllowRoot'
AllowRootLogin=false
AllowRootLogin=true


I'll try and remove 'AllowRootLogin=false' - as I wish to get back in root. Troubles me to have issues eventho there's some workarounds.
_________________
___________
flaZh
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Tue Feb 15, 2005 6:19 pm    Post subject: Reply with quote

JackDog wrote:
Looks like the KDE default is true and the gentoo default is false. I dont remember changing this since I use gdm instead of kdm.

Nope, the kde default is false, and the kde hardcoded default is true.
Back to top
View user's profile Send private message
flaZh
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 86

PostPosted: Wed Feb 16, 2005 11:13 am    Post subject: Reply with quote

It had no effect tho. Still can't get into KDE as root. What can I do ro replace all config with this user? Which files/directories can I replace?
I need to get into KDE as root. Getting more and more troubles, need a window opened as root, terminal says can't open display.
_________________
___________
flaZh
Back to top
View user's profile Send private message
JackDog
Apprentice
Apprentice


Joined: 09 Sep 2004
Posts: 297
Location: St. Louis, Missoura

PostPosted: Wed Feb 16, 2005 3:16 pm    Post subject: Reply with quote

flaZh wrote:
It had no effect tho. Still can't get into KDE as root. What can I do ro replace all config with this user? Which files/directories can I replace?
I need to get into KDE as root. Getting more and more troubles, need a window opened as root, terminal says can't open display.


You can run "xhost +" from your console as your user and then execute a root command from a konsole shell.

-or-

You can use the Run dialog on the KMenu to launch root processess, Click the options button.
_________________
Are you intolerant of intolerant people? Tired of being PC yet?
Back to top
View user's profile Send private message
flaZh
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 86

PostPosted: Thu Feb 17, 2005 1:50 am    Post subject: Reply with quote

I deleted the whole /root/ and built it up again, that worked. And the windows and programs that I need root access for i just run kdesu infront. Both problems solved. ;)
_________________
___________
flaZh
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