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

Re: Unidentified subject!



On Tue, 7 Jul 1998, Geoff Brimhall wrote:

> When I log in to my debian system as non-root, I sometimes like to run a few X programs as root.
> 
> So I startup xterm, do a 'su', and then attempt launch the X program.
> 
> It always returns with an (paraphrased) error 'cannot connect to xserver - permission denied'.
> 
> What is causing this ? Do I need to put in a DISPLAY=Machine_Name:0.0 into /etc/profile ?
> 
> Any helps, thanks !
> 
> Geoff Brimhall
	I find that adding 'xhost +localhost' at the beggining of my
~/.xinitrc file gets rid of that problem.  Also if you use 'su -' you will
have to type 'export DISPLAY=localhost:0'

Micro$oft, what do you want to spend today?


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: