[olug] Unable to start x program from terminal window
Terry
td3201 at gmail.com
Wed Dec 15 04:46:53 UTC 2004
Are you logged into a box via ssh? If so, X11Forwarding should take
care of all of this. Make sure X11Forwarding is 'yes' in
sshd_config. If not, why? :)
On Tue, 14 Dec 2004 21:58:28 -0600, Dave Thacker <dthacker9 at cox.net> wrote:
> Desired state: Logged in as user mysql, be able to start the X-based
> mysql-admin program from the command line.
>
> mysql at fluffy:/usr/X11R6/bin> export DISPLAY=localhost:0
> mysql at fluffy:/usr/X11R6/bin> echo $DISPLAY
> localhost:0
> mysql at fluffy:/usr/X11R6/bin> xhost + mysql
> xhost: unable to open display "localhost:0"
>
> hmmm, wrong DISPLAY setting. Google says this is generic.
>
> mysql at fluffy:/usr/X11R6/bin> export DISPLAY=:0
> mysql at fluffy:/usr/X11R6/bin> echo $DISPLAY
> :0
> mysql at fluffy:/usr/X11R6/bin> xhost + mysql
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xhost: unable to open display ":0"
>
> ummmm, apparently not generic enough. My xterm used to work like this....
>
> mysql at fluffy:/usr/X11R6/bin> export DISPLAY=fluffy:0.0
> mysql at fluffy:/usr/X11R6/bin> echo $DISPLAY
> fluffy:0.0
> mysql at fluffy:/usr/X11R6/bin> xhost + mysql
> xhost: unable to open display "fluffy:0.0"
>
> I retire muttering to the mailing list, knowing that someone has the
> appropriate syntax....
>
> Thanks in advance!
>
> Dave Thacker
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list