[SuSE Linux] Re: X-Server problem?
Previously I wrote:
I've just upgraded from 5.2 to 5.3 and come across a small problem. Previously, when logged in as myself, I could su to root and start an application from within an xterm, for example tkdesk. This is handy for browsing and selecting system files that require me to be root to examine or edit them.
Since upgrading however, when I su to root and try to run an application from an xterm I get:
stokes:/home/phil # Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server application-specific initialization failed: couldn't connect to display ":0.0"
I thought I'd cracked this, but it seems not:( I've found though, that if I boot into an ascii login, and "startx", everything works fine, but if I boot into KDM the problem reappears. I tried zen's suggestion, but if I try to run xhost (or anything else for that matter) as root after a KDM login I get "connection to ":0.0" refused by server." I'm wondering if it could be something to do with shadow passwords, which I have enabled. When I start KDE, it throws up a requester every time telling me that as I'm running shadow passwords, I need to get my sysadmin to suid the screensavers. Well, I'm my sysadmin, and I can't seem to find the screensavers to suid them either! Any more ideas? Phil -- Philip Stokes <phil@stokes.demon.co.uk> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Hi, On Tue, Sep 08, 1998 at 22:27 +0100, Philip Stokes wrote:
I tried zen's suggestion, but if I try to run xhost (or anything else for that matter) as root after a KDM login I get "connection to ":0.0" refused by server."
You have to run `xhost +localhost' as user before you do `su root'.
which I have enabled. When I start KDE, it throws up a requester every time telling me that as I'm running shadow passwords, I need to get my sysadmin to suid the screensavers. Well, I'm my sysadmin, and I can't seem to find the screensavers to suid them either!
`ls -l /opt/kde/bin/*.kss' gives you a list of all KDE screensavers. Ciao, Stefan - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
On Wed, 9 Sep 1998, Stefan Troeger wrote:
You have to run `xhost +localhost' as user before you do `su root'.
Ah! I've got it now <fx>bangs head with large hammer</fx> I've added xhost to ~/.xinitrc and everything is fine now :)
`ls -l /opt/kde/bin/*.kss' gives you a list of all KDE screensavers.
Thanks. I looked everywhere under /kde except /kde/bin. I just wasn't expecting them to be in there for some reason. Phil -- Philip Stokes <phil@stokes.demon.co.uk> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (2)
-
phil@stokes.demon.co.uk
-
stefan.troeger@wirtschaft.tu-chemnitz.de