[svlug] couldn't connect to display ":0.0"

David E. Fox dfox at m206-157.dsl.tsoft.com
Mon Sep 6 19:39:03 PDT 2004


On Wed, 01 Sep 2004 23:25:36 -0600
"skip evans" <skipevans2004 at hotmail.com> wrote:

>
> set DISPLAY=192.168.1.101:0.0

Minor point - that won't accomplish much. You want to
use "export" instead. This is one thing that threw me for a loop when I first started using Unix, having come from a DOS environment, you see "set" and expect it to work the same (or at least I did); well, not exactly.

The other thing is I don't like xhost. I used to have all sorts of problems with it not working properly on RH a few years ago. Do you have difficulties running this script (I suspect it needs some X resources) as root from an xterm that you've su'ed prior to root? 

> Skip


-- 
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
dfox at tsoft.com                            change magnetic patterns
dfox at m206-157.dsl.tsoft.com               on your hard disk.
-----------------------------------------------------------------------




More information about the svlug mailing list