Re: after 'su -', 'Can't open display'
> When I start X Windows, using the KDE window manager, I change to root
> (with su - )
> for administrative tasks. However I seem unable to run X window
> applications.
>
> Whatever X application I try to run, I inevitably get a message similar
> to "... unable to open display".
Try this. While logged in as yourself, type 'xauth nexport - $DISPLAY >
myxauth' (sans quotes, of course). Then become root, and type 'xauth
nmerge myxauth'. Then delete myxauth.
-Ron-
GPG and other info at: http://www.yellowbank.com/
Reply to: