Bug 107751

Summary: No program will start while runnig as root
Product: [Applications] konsole Reporter: Juergen Katins <katins.juergen>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Juergen Katins 2005-06-19 22:11:53 UTC
Version:           1.4.2 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.6 (Debian 1:3.3.6-5)
OS:                Linux (i686) release 2.4.27-1-386

While in the Root Console I am not able to start any KDE programs. I always get an error: 

katzes:~# kate
kate: ERROR: KUniqueApplication: Can't determine DISPLAY. Aborting.
katzes:~#


When I start Konsole as normal user it works fine, although there are too strange messages: 

katzee@katzes:~$ kate
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
katzee@katzes:~$ QFile::open: No file name specified

katzee@katzes:~$
Comment 1 Kurt Hindenburg 2005-06-19 22:55:46 UTC
Not Konsole related... xhost + will solve this... do a man xhost for more info.
Comment 2 Juergen Katins 2005-06-27 11:58:04 UTC
Kurt V.Hindenburg wrote:
[bugs.kde.org quoted mail]
xhost + did not solve this!


katze@katzes:~$ xhost +
access control disabled, clients can connect from any host
katze@katzes:~$ xhost
access control disabled, clients can connect from any host
katze@katzes:~$

katzes:~# xhost
xhost:  unable to open display ""
katzes:~# kwrite
kwrite: cannot connect to X server
katzes:~#


If you want me to send you any (I don't know which) log files mail me.


regards

juergen katins
Comment 3 Thiago Macieira 2005-06-28 02:49:36 UTC
You forgot to set DISPLAY on that second shell.