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

Re: Xhost probs



Perhaps you want:
	$xhost +localhost
(any user connected to your machine can use the current xsession)

The better method is to:	
	#export XAUTHORITY=/home/<user_running_X>/.Xauthority
after su-ing (or add to /root/.bash_profile or whatever)

HTH
Rich

M.C. Vernon wrote:
> 
> Hi,
> 
>         This is probably a FAQ, but anyway. I'm trying to set things up so
> that I can run a root Xterm should I need to. The methodology is:
> 
> xhost root@
> su
> /usr/X11R6/bin/Eterm --icon-name "ROOT" -n "ROOT"
> --scrollbar-right -S "red" -b "red" -I
> /usr/X11R6/include/X11/pixmaps/bomb.xpm -e bash &
> 
> Unfortunatly, xhost root@ doesn't work:
> 
> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  109 (X_ChangeHosts)
>   Value in failed request:  0xfe
>   Serial number of failed request:  8
>   Current serial number in output stream:  10
> 
> How do I sort this out, please?
> 
> Thanks,
> 
> Matthew
> 
> --
> Elen sila lumenn' omentielvo
> 
> Steward of the Cambridge Tolkien Society
> Selwyn College Computer Support
> http://www.cam.ac.uk/CambUniv/Societies/tolkien/
> http://pick.sel.cam.ac.uk/
> Debian GNU/Hurd - love at first byte
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: