[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Bug#19506: kmail as other user does not work
From:       Gerralt de Vree <g.a.devree () its ! tudelft ! nl>
Date:       2001-02-01 10:18:48
[Download RAW message or body]

Using "kdesu -u joost 'DISPLAY=gdevree:0 ; kmail'" does exactly the same as 
"kdesu -u joost 'kmail -display gdevree:0'"
I compared the output from a 'kdesu kmail' to 'kdesu konqueror', maybe this 
does tell you something...
Maybe there is another enviroment variable (apart from DISPLAY) that has to 
be set for kmail to run correctly? I tried LD_LIBRARY_PATH and it did not 
help. 

gerralt@gdevree:~$ kdesu -u joost 'kmail -display gdevree:0'
kdesu (kdelibs): [process.cpp:279] Echo mode still on.
QFile::open: No file name specified
Couldn't open
kdesud: Password set!
kdesud: priority set to 50
kdesud: Scheduler set to 0
kdesud: Executing command: kmail -display gdevree:0
kdesud: eof on fd 7
QFile::open: No file name specified
Couldn't open
kdesud: [process.cpp:279] Echo mode still on.
QFile::open: No file name specified
Couldn't open
kdesud: Command completed: kmail -display gdevree:0
kdesud: PID 761 exited

gerralt@gdevree:~$ kdesu -u joost 'DISPLAY=gdevree:0 ; kmail'
kdesud: PING
kdesud: priority set to 50
kdesud: Scheduler set to 0
kdesud: Executing command: DISPLAY=gdevree:0 ; kmail
kdesud: eof on fd 7
QFile::open: No file name specified
Couldn't open
kdesud: [process.cpp:279] Echo mode still on.
kdesud: Command completed: DISPLAY=gdevree:0 ; kmail
kdesud: PID 818 exited
QFile::open: No file name specified
Couldn't open
kdesud: Command completed: DISPLAY=gdevree:0 ; kmail
kdesud: PID 829 exited

gerralt@gdevree:~$ su joost
Password:
joost@gdevree:~$ kmail -display gdevree:0
ERROR: KUniqueApplication: Trying to launch kdeinit.
LD_LIBRARY_PATH=/home/joost/.kde/lib:/usr/lib
kdeinit: Launched DCOPServer, pid = 891 result = 0
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPServer: SetAProc_loc: conn 0, prot=local, file=/tmp/.ICE-unix/893
kdeinit: Launched KLauncher, pid = 894 result = 0
DCOP: register 'klauncher' -> number of clients is now 1
DCOP: register 'anonymous-894' -> number of clients is now 2
DCOP: new daemon klauncher
DCOP:  unregister 'anonymous-894'
DCOP: number of clients is now down to 0
kdeinit: Launched KDED, pid = 896 result = 0
DCOP: register 'kded' -> number of clients is now 1
DCOP: register 'anonymous-896' -> number of clients is now 2
DCOP: register 'anonymous-897' -> number of clients is now 3
kio (KLauncher): KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
KInit: Got EXEC 'kbuildsycoca' from klauncher.
kio (KLauncher): kbuildsycoca (pid 898) up and running.
KLauncher doing clientStarted(`kbuildsycoca')
DCOP: register 'kbuildsycoca' -> number of clients is now 4
kbuildsycoca: Recreating ksycoca file
kio (KSycoca): KSycocaDict: 196 entries.
kio (KSycoca): KSycocaDict: 61 entries.
kio (KSycoca): KSycocaDict: 4 entries.
kio (KSycoca): KSycocaDict: 288 entries.
kio (KSycoca): KSycocaDict: 288 entries.
kio (KSycoca): KSycocaDict: 288 entries.
kio (KSycoca): KSycocaDict: 13 entries.
kio (KSycoca): KSycocaDict: 28 entries.
kbuildsycoca: endOfData :    47108
kbuildsycoca: Build = 0s Save = 1s
kdeinit: PID 898 terminated.
DCOP:  unregister 'kbuildsycoca'
DCOP: number of clients is now down to 3
DCOP:  unregister 'anonymous-897'
DCOP: number of clients is now down to 2
DCOP: new daemon kded
kdeinit: PID 896 terminated.
DCOP:  unregister 'anonymous-896'
DCOP: number of clients is now down to 0
kdeinit: opened connection to gdevree:0.0
DCOP: register 'kmail' -> number of clients is now 1
DCOP: register 'anonymous-888' -> number of clients is now 2
kmail: entering KMKernel::init()
kmail: exiting KMKernel::init()
kmail: KMKernel::openReader called
khtml (part): KHTMLPart::init this=0x81ddf18 d=0x81e4328
joost@gdevree:~$ DCOP:  unregister 'anonymous-888'
DCOP: number of clients is now down to 1
khtml (memory): KHTMLPart::clear() this = 0x81ddf18
kmail: TIME: recalcStyle() dt=5
khtml (html): style: parsing sheet 'body { font-family: "helvetica" } p { 
font-size: 12pt } a { color: #547098; text-decoration: none; }'
kmail: TIME: recalcStyle() dt=0
kmail: TIME: recalcStyle() dt=0
kmail: Kpgp: gpg found
kmail: Kpgp: pgp 2 or 6 found
kmail: Kpgp: assign pgp - auto
kmail: Kpgp: assign pgp - default
kmail: Kpgp: pgpBase is pgp 2
khtml (part): KHTMLPart::checkCompleted() parsing: false
khtml (part):                            complete: false
kio (Slave): createSlave for file:/usr/share/apps/kmail/pics/kdelogo.xpm
kio (KLauncher): requestSlave file
kio (KLauncher): KLauncher::requestSlave for file: looking for a slave 
handling file
kio (KLauncher): KLauncher: launching new slave kio_file with protocol=file
KInit: Got EXEC 'kio_file' from klauncher.
QFile::open: No file name specifiedkio (KLauncher): kio_file (pid 901) up and 
running.
KLauncher doing clientStarted(`kio_file')
kio (KLauncher): Slave launched, pid = 901
kio (KLauncher): requestSlave got pid 901
Couldn't open
kio_file: Starting 901
kio (Slave): PID of slave = 901
kio (KIOJob): TransferJob::start
kio (KIOJob): TransferJob::start : Sending metadata :
kio (KIOJob):    accept=image/x-ico, image/gif, image/x-xpm, image/x-krl, 
image/x-bmp, image/x-eps, image/png, image/tiff, image/jpeg, image/x-pnm, 
image/fax-g3, image/x-xbm
kio (KIOJob):    referrer=file:/
kio (Slave): slave has connected to application
QFile::open: No file name specified
Couldn't open
kio_file: setHost( host = )
kio (Slave): got answer 10
kio (KIOJob): Finished [this = 0x8266b30]
kio (KIOJob): TransferJob::slotFinished(0x82710e8, 
file:/usr/share/apps/kmail/pics/kdelogo.xpm)
khtml (part): KHTMLPart::checkCompleted() parsing: false
khtml (part):                            complete: false
*******
now kmail is up and running, when closing the next output lines apear
*******
khtml (memory): KHTMLPart::clear() this = 0x81ddf18
khtml (memory): KHTMLPart::clear(): dereferencing the document
khtml (memory): HTMLDocumentImpl::detach()
khtml (memory): renderRoot desctructor called
kmail: KHTMLFactory::~KHTMLFactory
kdecore (KLibLoader): Deleting KLibFactory 0x81de230
kparts: Part::~Part 0x81ddf18
kparts: deleting widget [KHTMLView pointer (0x81e2bd8) to widget khtml, 
geometry=780x188+0+0] khtml
kmail: KMKernel::~KMKernel
kio_file: slavewrapper: Communication with app lost. Returning to slave pool.
DCOP:  unregister 'kmail'
DCOP: number of clients is now down to 0
DCOPServer : slotTerminate() -> sending terminateKDE signal.
klauncher: KLauncher::process ---> terminateKDE
kio_file: slavewrapper: Communication with pool lost. Exiting.
kdeinit: terminate KDE.
kdeinit: Fatal IO error: client killed
DCOP:  unregister 'klauncher'
DCOP:  unregister 'kded'

gerralt@gdevree:~$ kdesu -u joost 
'LD_LIBRARY_PATH=/home/joost/.kde/lib:/usr/lib ; DISPLAY=gdevree:0 ; kmail'
kdesud: PING
kdesud: priority set to 50
kdesud: Scheduler set to 0
kdesud: eof on fd 7
***
Now a crash-window comes up, but closes immediately. But that's something I 
can not reproduce... It also sometimes happnes whitout the LD_LIBRARY_PATH 
set.
***

gerralt@gdevree:~$ kdesu -u joost 'konqueror'
kdesud: PING
kdesud: priority set to 50
kdesud: Scheduler set to 0
******
from here on konquerer is up ad running, when I close konqueror the next 
output line comes
*****
kdesud: eof on fd 7

On Thursday 01 February 2001 08:02, Andreas Gungl wrote:
> Must be a configuration problem. I can run KMail for different users
> simultaneously. Did you try "DISPLAY=... kmail" instead the -display
> option? When Konqueror etc. are running, then I guess, KDExxx environment
> variables are set correctly. ;-)
>
> Regards,
> Andreas
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic