I am running Linux Mandrake 6.1 on a home built PC.  I just upgraded
from linux-mandrake 6.0 (where I did NOT have the problem I am about to
describe.)  I boot to run level 5 (I edited /etc/innitab to do this).

Here's my problem:  When I log in as myself and them bring up a console
window and su to root I get the following message when I try to run any
X app:

(FOR X-FILES FILE MANAGER, I GET....)
[root@localhost msh]# !X
X-Files &
[1] 1024
[root@localhost msh]# Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Application initialization failed: couldn't connect to display ":0.0"
Starting X-Files...
Error in startup script: invalid command name "wm"
    while executing
"wm withdraw ."
    (procedure "MAIN" line 5)
    invoked from within
"MAIN $argc $argv"
    (file "/usr/X11/bin/X-Files" line 4993)


(OR FOR NEDIT I GET....)
[root@localhost msh]# nedit &
[1] 1184
[root@localhost msh]# Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
NEdit: Can't open display

Incidentally, when I log in directly as root everything works fine.  How
do I get things to work the way they did under Mandrake 6.0?


Reply via email to