displaying with ds9
Paul Gerhard Beck wrote on Mar 20, 2008
Hi!
I tried to log on on my second machine using "ssh -Y" and then to run iraf there. everything worked fine except opening ds9. Then I get the following message:
in other forum entries i found the hint to use
!ds9 -display :0.0
In case the desktop of the machine i remotly logged on is open, the ds9-window would pop up there, but not on the machine i'm working on. if i'm not logged on the other machine, nothing happens.
Perhaps someone could give me some advice how to solve the problem, or where to change the DISPLAY settings
Thanks!
cheers,
Paul
I tried to log on on my second machine using "ssh -Y" and then to run iraf there. everything worked fine except opening ds9. Then I get the following message:
ecl> !ds9
Application initialization failed: no display name and no $DISPLAY envir
Error in startup script: invalid command name "tk"
while executing
"tk windowingsystem"
invoked from within
"set ds9(wm) [tk windowingsystem]"
(file "./zvfsmntpt/src/ds9.tcl" line 10)
ecl>
in other forum entries i found the hint to use
!ds9 -display :0.0
In case the desktop of the machine i remotly logged on is open, the ds9-window would pop up there, but not on the machine i'm working on. if i'm not logged on the other machine, nothing happens.
Perhaps someone could give me some advice how to solve the problem, or where to change the DISPLAY settings
Thanks!
cheers,
Paul
Mike Fitzpatrick wrote on Mar 20, 2008
You need to specify the display to be the machine you're sitting at and not the remote machine (which a :0.0 implies). For example, if you're on machine 'fred' and logged into 'barney', you would need to do
This assumes that someplace on fred you issued a command like
so that remote tasks are allowed to connect to fred's X server.
-Mike
cl> !ds9 -display fred:0.0 &This assumes that someplace on fred you issued a command like
% xhost +so that remote tasks are allowed to connect to fred's X server.
-Mike
Paul Gerhard Beck wrote on Mar 20, 2008
i used 'xhost +' but ds9 is still not working:
& ... paul$ xhost +
access control disabled, clients can connect from any host
then logging in with 'ssh -Y' and starting iraf works fine as usual, but when starting ds9 i get the following...
Using 'localhost:0.0' failed as well.
any ideas?
regards, Paul
& ... paul$ xhost +
access control disabled, clients can connect from any host
then logging in with 'ssh -Y' and starting iraf works fine as usual, but when starting ds9 i get the following...
ecl> !ds9 -display paul:0.0 &
ecl> _X11TransSocketINETConnect() can't get address for paul:6000: No address associated with nodename
Application initialization failed: couldn't connect to display "paul:0.0"
Error in startup script: invalid command name "tk"
while executing
"tk windowingsystem"
invoked from within
"set ds9(wm) [tk windowingsystem]"
(file "./zvfsmntpt/src/ds9.tcl" line 10)
Using 'localhost:0.0' failed as well.
any ideas?
regards, Paul
Mike Fitzpatrick wrote on Mar 20, 2008
Is 'paul' a name that's recognized by the other machine (i.e. a static IP address), or is it a laptop using variable DHCP addresses? A simply test is whether you can "ssh paul" from the remote machine to get back in, otherwise you'll need to specify the '-display' flag using the IP address and not the name, e.g. "-display 140.252.1.1:0.0"
-Mike
-Mike
Last post on Mar 20, 2008