[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't use GUI as root



On Mon 05 Apr 2004 11:07, Jaap Haitsma wrote:
>
> I can start x application if I login as myself and then do su -m, but if I
> do a su - it says it cannot open the display. Any idea how I have to set
> it up to get it working.

My Debian box here doesn't have X, but does 
$ xhost + localhost
as the logged-in user solve this problem? Of course you may need to set the 
display for the root user as well: 
$ export DISPLAY=:0.0.


/Ciaran.



Reply to: