Welcome to iraf.net Tuesday, April 30 2024 @ 02:02 PM GMT
Gerhard |
03/20/2008 06:41PM (Read 5091 times)
|
|
|
Status: offline
Registered: 04/13/2007
Posts: 6
|
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:
[quote:5b3f137fc4]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>[/quote:5b3f137fc4]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 settingsThanks!cheers,
Paul
|
|
|
|
fitz |
03/20/2008 06:41PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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[code:1:72b8607da2]cl> !ds9 -display fred:0.0 &[/code:1:72b8607da2]This assumes that someplace on fred you issued a command like[code:1:72b8607da2]% xhost +[/code:1:72b8607da2]so that remote tasks are allowed to connect to fred's X server.-Mike
|
|
|
|
Gerhard |
03/20/2008 06:41PM
|
|
|
Status: offline
Registered: 04/13/2007
Posts: 6
|
i used 'xhost +' but ds9 is still not working:& ... paul$ xhost +
access control disabled, clients can connect from any hostthen logging in with 'ssh -Y' and starting iraf works fine as usual, but when starting ds9 i get the following...[quote:980867ad59]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)
[/quote:980867ad59]Using 'localhost:0.0' failed as well.any ideas?regards, Paul
|
|
|
|
fitz |
03/20/2008 06:41PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
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
|
|
|
|
| |
|
Content generated in: 0.15 seconds |
|