> When I'm logged on as a user, and I try to open gvim or firefox by
> su'ing or sudo'ing as root, I get the following error.
> 
> E233: cannot open display

By default X.org disables tcp access.

To enable root (or another user) to open windows on the display you need to:

1. remove the "-nolisten tcp" from the config files in /etc/X11 and the
startx script (if you start X from the console).
2. use the xhost command to allow users to open windows in your session.

Dave



--
[email protected] mailing list

Reply via email to