You are not logged in.

#1 2012-10-02 14:35:51

digitalone
Member
Registered: 2011-08-19
Posts: 346

Kdesu doesn't working

Hi, I updated rc.conf configuration and after reboot can't get kdesu working:

[giuseppe@archtoshiba  ~]$ kdesu dolphin
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.                                                                                  
kdesu(4620) startApp: Daemon not safe (not sgid), not using it.                                     
                                                                                                    
kdesu(4620)/kdesu (kdelibs): [ /build/src/kdelibs-4.9.1/kdesu/kcookie.cpp : 99 ]  parse error.      
QProcess: Destroyed while process is still running.                                                 
kdesu(4620)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.9.1/kdesu/process.cpp : 293 ]  Running "/bin/su"                                                                            
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(4620)/kdesu (kdelibs): [ /build/src/kdelibs-4.9.1/kdesu/kcookie.cpp : 99 ]  parse error. 
QProcess: Destroyed while process is still running.
kdesu(4620)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.9.1/kdesu/process.cpp : 293 ]  Running "/bin/su"
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(4620)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /build/src/kdelibs-4.9.1/kdesu/process.cpp : 379 ]  Child pid 4645
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line ""
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
kdesu(4620)/kdesu (kdelibs): [ /build/src/kdelibs-4.9.1/kdesu/kcookie.cpp : 99 ]  parse error. 
QProcess: Destroyed while process is still running.
kdesu(4620)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.9.1/kdesu/process.cpp : 293 ]  Running "/bin/su"
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(4620)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /build/src/kdelibs-4.9.1/kdesu/process.cpp : 379 ]  Child pid 4649
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line ""
kdesu(4620)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /build/src/kdelibs-4.9.1/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"

This happens also with other commands, such as kdesu kate.

What is not working?

Last edited by digitalone (2012-10-04 08:58:56)

Offline

#2 2012-10-02 15:40:52

Box0
Member
From: Italy
Registered: 2011-09-21
Posts: 218

Re: Kdesu doesn't working

a similar error was reported here: https://bbs.archlinux.org/viewtopic.php?id=101548 and solved by overwriting the .Xauthority in /root with the one in your home. Make a backup first.

Offline

#3 2012-10-02 19:59:42

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: Kdesu doesn't working

Box0 wrote:

a similar error was reported here: https://bbs.archlinux.org/viewtopic.php?id=101548 and solved by overwriting the .Xauthority in /root with the one in your home. Make a backup first.

Thanks, it works!

Offline

#4 2012-10-04 08:58:40

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: Kdesu doesn't working

Sorry, that works only in the current session. If I reboot, it won't work until I'll overwrithe the .Xauthority in /root.

Is there a way to automate this process?
In /usr/share/config/kdm/kdmrc I read the following:

# Where to store authorization files.
# Default is "/var/run/xauth"
#AuthDir=/tmp

Should I change it with "~/"?

Offline

#5 2012-10-04 14:08:43

Box0
Member
From: Italy
Registered: 2011-09-21
Posts: 218

Re: Kdesu doesn't working

I'm not sure since I can't reproduce your issue on my machine. I suggest you give it a try and see for yourself smile

Offline

Board footer

Powered by FluxBB