You are not logged in.

#1 2010-07-23 02:29:49

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Can`t get access to system settings with kdesu

I can`t ger access to system settings using kdesu. It worked fine twice, and than it stopped working properly (no reason why). This is the exact error i get after typing kdesu systemsettings and giving root password:



#kdesu systemsettings
kdesu(2720) startApp: Daemon not safe (not sgid), not using it.
 
kdesu(2720)/kdesu (kdelibs): [ /build/src/kdelibs-4.4.5/kdesu/kcookie.cpp : 99 ]  parse error. 
QProcess: Destroyed while process is still running.
kdesu(2720)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.4.5/kdesu/process.cpp : 295 ]  Running "/bin/su"
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(2720)/kdesu (kdelibs): [ /build/src/kdelibs-4.4.5/kdesu/kcookie.cpp : 99 ]  parse error. 
QProcess: Destroyed while process is still running.
kdesu(2720)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.4.5/kdesu/process.cpp : 295 ]  Running "/bin/su"
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(2720)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /build/src/kdelibs-4.4.5/kdesu/process.cpp : 381 ]  Child pid 2728
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line ""
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
kdesu(2720)/kdesu (kdelibs): [ /build/src/kdelibs-4.4.5/kdesu/kcookie.cpp : 99 ]  parse error. 
QProcess: Destroyed while process is still running.
kdesu(2720)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.4.5/kdesu/process.cpp : 295 ]  Running "/bin/su"
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(2720)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /build/src/kdelibs-4.4.5/kdesu/process.cpp : 381 ]  Child pid 2732
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line ""
kdesu(2720)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.4.5/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"

also, is it fine that i get this error if i try to use kdesu command as a aroot? :

Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyxhost:  unable to open display ":0"

I`d gladly try to work out the solution for myself, but I didn`t find anything useful in google, and I have no idea what might be wrong. And no, I don`t use kdemod

Last edited by Xyzk (2010-07-23 02:37:39)

Offline

#2 2010-07-23 06:01:46

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Can`t get access to system settings with kdesu

It looks like you're running it as 'root'. It should be run as your normal user.

Deej

Offline

#3 2010-07-23 11:03:07

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Re: Can`t get access to system settings with kdesu

The second one is the output from running as a root, but the first error is what i get while running as a normal user

Offline

#4 2010-07-23 15:25:45

Xyzk
Member
Registered: 2007-04-30
Posts: 44

Re: Can`t get access to system settings with kdesu

Well, it`s nott realy a solution... but I got to the systemsettings by instaling and using kdesudo

Offline

#5 2010-07-23 23:58:12

parintachin
Member
Registered: 2009-05-25
Posts: 72

Re: Can`t get access to system settings with kdesu

try starting it with dbus-launch kdesu systemsettings

Offline

#6 2012-08-11 04:44:15

sib null
Member
Registered: 2012-02-19
Posts: 5

Re: Can`t get access to system settings with kdesu

Even though this is an old post, I just got hit with the exact same behavior.  Was this ever solved?  Or once broken, is kdesudo the only answer?

Last edited by sib null (2012-08-11 04:45:34)

Offline

#7 2012-08-11 05:34:41

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Can`t get access to system settings with kdesu

Offline

#8 2012-08-12 17:13:00

sib null
Member
Registered: 2012-02-19
Posts: 5

Re: Can`t get access to system settings with kdesu

Okay I have fixed this problem by overwriting the .Xauthority in /root with the copy in /home/user.

Offline

Board footer

Powered by FluxBB