[NTLUG:Discuss] Slackware and Ximian Gnome

Patrick Parks patrick at patrickparks.com
Mon Sep 9 15:36:14 CDT 2002


I ran the command as a user. it is definately weird, and I am no closer
to fixing it than when I started :) fun fun

On Mon, 2002-09-09 at 13:30, MadHat wrote:

> This is what concerns me.
> 
> here is where it is dieing in the script
> "if [ -z "$DISPLAY" ]
> then
>     bail_display
> fi
> 
> xhost &> /dev/null
> if [ $? -ne 0 ]
> then
>     bail_display
> fi"
> 
> The first one just checks to make sure thet $DISPLAY has anything (-z
> means if the string is zero length).
> you said $DISPLAY is set to :0.0 right?
> 
> The second one is where I think it is dieing.  This is running the
> command 'xhost &> /dev/null' and checking for a non-zero exit status,
> indicating an error.  when you ran xhost, was it as root or as your
> user?
> 
> -- 
> MadHat at Unspecific.com
> "Anyone who understands Linux/Unix, really understands the universe.
>  Anyone who understands Windows, really understands Windows."
>           - Richard Thieme, DefCon 10, 2002 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 
> 
-- 
Patrick Parks
patrick at patrickparks.com
(972) 416-9927 Home
(469) 939-6460 Mobile
"May the SOURCE be with GNU"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://ntlug.org/pipermail/discuss/attachments/20020909/003797c0/attachment.bin


More information about the Discuss mailing list