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

Re: display export??



 "Ethan Pierce" <oldschool@vermontel.net> wrote:


> Im new to debian so Im not familiar with all the display settings.  When I used mandrake, there were certain programs that needed to be run as root - like linuxconf/mtv/xcdroast etc....all I needed to do was su and run them.  Now in debian when I try such a move, i get a "cant set display" not authorized ........
> 
> do I need to export DISPLAY localhost?  Im not sure of the syntax...am I on the right track?

Yes and no. What yuo need to do is temporarily permit x-connections from
your localhost if you want to start an x program with a different
user than the current session (in this case root)

Simply execute 'xhost +localhost' before doing a su.

HTH
--
Ragga



Reply to: