Re: How do I eliminate this error in Slack 9.1 "A-B C." <atakeoutcanton@adams-blaketakeout.com> writes:
>If I su to root and try to run nedit I get an error
>root@---------# nedit
>Xlib: connection to ":0.0" refused by server
>Xlib: No protocol specified
>NEdit: Can't open display
>But, if I first run
>xhost +localhost
>and then go to root and run nedit I'm OK.
Before you "su", use
XAUTHORITY=$HOME/.Xauthority
export XAUTHORITY |