Bug 107751 - No program will start while runnig as root
Summary: No program will start while runnig as root
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.4.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-19 22:11 UTC by Juergen Katins
Modified: 2005-06-28 02:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.