Welcome to iraf.net Thursday, May 02 2024 @ 12:41 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Ximtool-alt
   
Anonymous: Guest
 01/05/2006 06:40PM (Read 8972 times)  



Hi Emma,
Sorry for the slow reply, holidays you know. The XGterm graphics window is the same widget as the XImtool
image display, but it doesn't specifically require an 8-bit display
when used only for graphics. Since it works outside of VNC I don't
think it would be an xgterm problem. FWIW, in some cases VNC needs
to be started explicitly with a "-cc 3" flag to enforce a PseudoColor
visual, otherwise you'd get an 8-bit TrueColor/DirectColor and I
suppose this might be a problem.
Otherwise, are the terminal settings correct so that you get
a plot and not gibberish (i.e. "cl> stty xgterm" to tell IRAF you're
using an XGterm)? Do all graphics tasks fail or just CCMAP? Does
an Xterm work instead?Cheers,
-MikeP.S. NOAO helpdesk support is now ended, please find and followup on
this thread in the 'Systems' forum at https://iraf.net
> Ok, I just tried running ccmap on the command line outside of vncviewer
> and it worked - does the irafterm window not work in 8-bit pseudo color
> any more?
>
> On Mon, 19 Dec 2005, Emma Hogan wrote:
>
> Hi there,
>
> I have recently upgraded to Scientific Linux, and it is the first time I
> have tried to use ccmap (which opens a plot in a seperate window). I run
> IRAF in an xgterm window in vncviewer so I can use Ximtool in an 8-bit
> psuedo color window (the vncviewer window), and my whole vncviewer crashes
> after I run ccmap. Do you know why this is happening?

 
 Quote
emma
 01/05/2006 06:40PM  
++++-
Regular Member

Status: offline


Registered: 01/23/2006
Posts: 101
Hi MikeThanks for the reply. In answer to your comment, I am already using the -cc 3 tag when opening my vncviewer (I use "vncserver -depth 8 -cc 3:1" then "vncviewer"). All the setting are correct and if I run imexam for example, the plot appears in a new window with no problems. Also if I run ccmap without the vncviewer in an xgterm it works fine. Seems a bit weird to me! It seems that the irafterm that ccmap brings up is conflicting with the vncviewer - does the way that the irafterm is called up by different tasks differ? Any help on this would be great!Many thanks,Emma Smile

 
Profile Email
 Quote
fitz
 01/05/2006 06:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Emma,
See https://iraf.net/phpBB2/viewtopic.php?t=83187&highlight=vnc+crashfor possible hints. It is the only other such report, but as far as IRAF or XGterm are concerned it shouldn't matter whether this was run inside VNC or not. You might see whether using a different window manager under VNC makes a difference, and/or whether you can use Cntrl-MB3 to bring up the graphics window by itself. Be sure you're using the 'xgterm' graphcap entry as well.-Mike

 
Profile Email
 Quote
Anonymous:
 01/05/2006 06:40PM  



Hi again,I just tried running ccmap using an xterm instead of an xgterm, and it worked, although the graphics window it brings up within an xterm is a bit ugly Wink I then tried it again with an xgterm, and the graphics window popped up and it looked ok, for a few seconds, and then the whole thing crashed!! I can bring up a graphics window by using ctrl-MB3, but I don't know what the graphcap entry thing you mentioned is. Emma Smile

 
 Quote
fitz
 01/05/2006 06:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Emma,
I'm still trying to figure out whether it is VNC or XGterm that is crashing. Is the XGterm the only thing running under VNC, is there only one? Try starting the XGterm from the command line of another terminal window so that if XGterm dies the parent window will still be running, and if you're lucky will have an error message that may help. You might also try the following: cl> stty xtermjhto tell IRAF to use the XTerm graphcap entry. This will give you a B&W plot and things like erasure won't work, but if the task survives it may point to some weird interaction with the graphcap entry. The "graphcap entry thing" is either responding 'xgterm' as the terminal type when you do a MKIRAF, or else explicitly typing "stty xgterm" at the cl prompt (if you're not sure try this as well). Note the XGterm doesn't need to be run under VNC since it doesn't have the same 8-bit limitation XImtool does.
Hope this helps.-Mike

 
Profile Email
 Quote
emma
 01/05/2006 06:40PM  
++++-
Regular Member

Status: offline


Registered: 01/23/2006
Posts: 101
Hi Mike,Ok, here's what I have:ccmap doesn't work using an xgterm in the VNCviewer
ccmap does work using an xterm in the VNCviewer
ccmap does work using an xgterm outside of the VNCviewer
ccmap does work using an xgterm in the old VNCviewer we used to use on redhat, while logged into a redhat machineThis problem has only occured since the update to scientific linux and the installation of a new VNC viewer - the old VNCviewer is actually TightVNC - whether this is making the difference or not I don't know - I never had a problem with it while we were on redhat, so I thought if ccmap still failed in the old VNCviewer installed on the new system then it was the system screwing everything up and not the VNCviewer. I got the computer guy here to reinstall the old version on the new system and ccmap and everything else appears to be working fine. I hope that made sense. I think that something must be conflicting between the new VNCviewer and that task, for some reason. It's definitely the VNC that is crashing - if I try to view my VNC window after the crash it just dies straight away, so I believe it is the VNCviewer crashing, and not the xgterm (I definitely responded with "xgterm" when I did my mkiraf) - especially considering that the xgterm works fine everywhere else - the only common denominator is the new VNCviewer so I'm pointing the finger at that! Wink In answer to your questions, when VNCviewer opens, a terminal window also opens inside the window. From this terminal I open an xgterm window, open ximtool from the xgterm window, and then start iraf. That's all I do. Like I said above, I can't ever view the VNCviewer window after the crash, so I don't know whether the original terminal window or the xgterm or the ximtool are still open. When you say "the XGterm doesn't need to be run under VNC since it doesn't have the same 8-bit limitation XImtool does", does that mean I can send input to the ximtool from an xgterm that is outside the VNCviewer? Is that possible? I was just doing it all in the same window because I didn't know there was another way of doing it!Anyway, basically my work around has been to reinstall the TightVNC (what I was originally using on redhat) onto my machine, and everything is fine now SmileThanks for your help on this, and if you need any more infomation on this (if you *really* want to figure out what is causing the problems Wink) then just let me know. I've just taken the easiest and quickest way out! WinkEmma Smile

 
Profile Email
 Quote
fitz
 01/05/2006 06:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:b1a42175d8]When you say "the XGterm doesn't need to be run under VNC since it doesn't have the same 8-bit limitation XImtool does", does that mean I can send input to the ximtool from an xgterm that is outside the VNCviewer? Is that possible? I was just doing it all in the same window because I didn't know there was another way of doing it![/quote:b1a42175d8]Right, as long as your IRAF and the ximtool are physically on the same machine (or you've made other arrangements for a remote display), the display passes through local unix sockets (by default) and it doesn't matter that the xgterm is on display :0 and the ximtool on the :1 server. In fact having a VNC running solely to use XImtool isn't that uncommon.Anyway, glad you have a workaround.-Mike

 
Profile Email
 Quote
emma
 01/05/2006 06:40PM  
++++-
Regular Member

Status: offline


Registered: 01/23/2006
Posts: 101
Wow! I didn't know that! Maybe I'll give it a go...Thanks again for all your help with this!Emma Smile

 
Profile Email
 Quote
   
Content generated in: 0.22 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login