You are not logged in.

#1 2008-11-18 20:55:57

11010010110
Member
Registered: 2008-01-14
Posts: 284

[ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

installed KDE 4

added kdm to rc.conf

wanna configure it

no admin mode button in the control panel

dont know the name of app to run with su

lets login as root and goto control panel

kdm blocks root acess

lets kill kdm and startx as root

yay i configured kdm




is there any shorter way ?

Last edited by 11010010110 (2008-11-24 09:26:46)

Offline

#2 2008-11-20 06:48:57

speed145a
Member
Registered: 2008-05-02
Posts: 60
Website

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

if i understand your question, you can hit alt + f2 and type kdesu systemsettings.  this will give you root access to kdm


ARCH x86_64 ZEN

Offline

#3 2008-11-21 06:14:06

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

I've noticed the same bug in KDE4. You can do what speed145a suggested and the window will show up after a long delay. Alternatively, you can switch to root (su) in a console and edit the KDE configuration file directly: "nano /usr/share/config/kdm/kdmrc"

Offline

#4 2008-11-22 03:16:22

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

You can also launch the system settings kde control modules individually. For the kdm one, type

$ sudo kcmshell4 kdm

Offline

#5 2008-11-22 11:45:30

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

thanks

and . . how can i make kdm allow root to log in to KDE ?

Offline

#6 2008-11-22 20:09:24

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

11010010110 wrote:

thanks

and . . how can i make kdm allow root to log in to KDE ?

Just don't! You don't need it and it's a security nightmare. If you want to start apps as root, start the from konsole or using the KRunner method (Alt+F2, then kdesu <program name>).

Offline

#7 2008-11-22 23:14:42

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

if i can control myself to not write rm -rf / then i can control myself to not drag / to the recycle bin

Offline

#8 2008-11-23 18:11:58

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

Heh. You are talking about accidentally deleting files on your desktop. Cute. Think about erroneously doing "ls > /dev/hda1". These things are the main reason for many distributions to (rightly) have shifted to using sudo per default.

However, by security nightmare I do not mean this. I was thinking about network security and related issues. I am sure that using X as root will expose you to more issues that you'd like. Really don't do it.

If you need to do it (and you don't thanks to kdesu and similar apps), edit /usr/share/config/kdm/kdmrc and change

AllowRootLogin=false

to true.

Offline

#9 2008-11-23 21:37:10

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

I second mutlu_inek.

Don't log into X as root. Ever. Ever.

There is NO reason that I could possibly think of. If you need a specific app as root then use kdesu or gksu, or just run it from the CLI as root.

But you never need a whole X session in root. It is a very, very foolish thing to do.


Stop looking at my signature. It betrays your nature.

Offline

#10 2008-11-23 21:51:20

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

i really dont see why. i trust X and KDE to not mke2fs my drives on their own decision

Offline

#11 2008-11-24 00:03:09

Redroar
Member
Registered: 2008-03-17
Posts: 200

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

Yeah, but do you trust everyone with potential network access (read: EVERYONE) that can get into your X server (easier than you think) to have complete root access?

And actually I don't trust X and KDE not to mke2fs my drives. smile


Stop looking at my signature. It betrays your nature.

Offline

#12 2008-11-24 01:20:13

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

then what prevents him from getting in there when i am normal user and deleting stuff from my home ? that'd be harder to recover than screwed or deleted OS. and if thats true why should'nt i just use windows ? i thought linux is more secure

Offline

#13 2008-11-24 01:57:08

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

Not needing to use the root account like that is one of the reasons it is more secure. You are looking at it from a Windows user point of view. You want all power, all the time. Instead of give me what power I need, when I need it.


neutral

Offline

#14 2008-11-24 09:21:44

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: [ALL SOLVED] cant access KDE4 kdm settings + cant login to KDE as root

i think the current discussion needs a thread of its own. here it is

Last edited by 11010010110 (2008-11-24 09:47:33)

Offline

Board footer

Powered by FluxBB