[olug] Unable to start x program from terminal window
Dave Thacker
dthacker9 at cox.net
Wed Dec 15 03:58:28 UTC 2004
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
More information about the OLUG
mailing list