running X from irix->windows or even irix<->irix

running X from irix->windows or even irix<->irix

Post by Jonatha » Sat, 01 Nov 2003 11:59:48


Does anyone have a good pointer to a tutorial for getting X windows to run
over a lan (either between IRIX & a PC w/ Hummingbird Exceed or Reflections
or [more simply?] another IRIX box), and then maybe I can take it a step
further and run through an SSH tunnel?

I've managed to get the SSH tunnel running between two indys, and when I
try to run an app on the remote machine (say... imgview) I get the app
window to open, but no functionality (eg: the image I am trying to view
never appears).

I'm
 
 
 

running X from irix->windows or even irix<->irix

Post by Emmanuel F » Sat, 01 Nov 2003 18:09:58

Dans article < XXXX@XXXXX.COM >, jonny_spam-
XXXX@XXXXX.COM disait...

It should works automagically. I never had anything to tweak (except the
DISPLAY environment variable and xhost to get it to work, between
windows PCs, Linux PCs, SGIs, etc.

--
Quis, quid, ubi, quibus auxiliis, cur, quomodo, quando?

 
 
 

running X from irix->windows or even irix<->irix

Post by MagaDo » Fri, 14 Nov 2003 13:16:19

Jonathan < XXXX@XXXXX.COM > wrote in



Apart from a "should just work" response, I haven't seen anything. Does
ANYONE have ANYTHING that can help me out here?

-Jonathan
 
 
 

running X from irix->windows or even irix<->irix

Post by Khalid Sch » Fri, 14 Nov 2003 17:28:34

Well you need to enable xdmcp and make sure your Xaccess is set up right.
google for enableing xdmcp under irix. Or setting up irix for xterm's.

http://www.yqcomputer.com/

this site is about dissabling it but hay just work backwards :-) on linux
I can run

linuxbox$X :2 -query octane

Then XDMCP jumps in and picks up the xdm broadcast from my octane and
displays it on my linux box. It's not great and can be slow. But hay 100Mb
of bandwidth compaired to the bandwidth of Octane ESI graphics with
trams.....

*********************
Khalid Schofield
System Administrator / EM Technician
Dept. Of Materials
University Of Oxford
Parks Road
Oxford
OX1 3PH

Email: XXXX@XXXXX.COM
Tel: 01865 273785
Fax: 01865 283333
Web: http://www.yqcomputer.com/
 
 
 

running X from irix->windows or even irix<->irix

Post by Jonatha » Wed, 19 Nov 2003 22:26:59

Thank you! I will resume my efforts using the info you provided. :)


Khalid Schofield < XXXX@XXXXX.COM > wrote in
 
 
 

running X from irix->windows or even irix<->irix

Post by doug » Thu, 20 Nov 2003 07:03:59

Snip)

Some things I have done:

PC w /Exceed display IRIX Applications & desktop:

1. Run Exceed in passive mode. Then telnet / ssh whatever to irix
box and launch app. Should display using the PC window manager. If
the user login files have been tweaked, you might need
DISPLAY=ipaddrofpc:0

2. Do same as #1, then fm -b & This will display the entire desktop
sans background, but with icons. Launch apps in the usual SGI way.
Cannot remember which window manager gets used in this case, but I
think it it still the PC window manager.

3. Chkconfig xdm on then launch exceed (or other x server software)
using xdmcp mode. Pick your machine and log in. You will get an
xterm & the toolchest. Launch what you want from there. This mode
uses the SGI window manager on top of the PC one.

One advantage of #1 and #2 over #3 is that you can generally switch
user id's and even hop between machines with your display intact. #3
limits you in those areas requiring the display variable to be set far
more often.

(As an aside, you can also chkconfig fontserver on and specify your
SGI as the font server in the Exceed xconfig options. Many things
render nicely this way.)

Note, some applications are still running with IRIS-GL code. These
will never display anywhere but another SGI. (Jot, gr_osview are a
couple that come to mind. I think the little fractal thing is this
way also.)

Also note, the Exceed software requires a 3D extension in order to
render GL applications over the network. Other software, like X-win32
does not, but is more buggy...)

Linux display IRIX

1. Khalid Schofield's method gives you an entire display running on
your Linux box. This is great and I use it all the time. use
cntrl+alt 7 and 8 to toggle between the displays. Sometimes it is
nice to just remote an application of interest... so,

2. xhost + (On your Linux box), then telnet ssh whatever to sgi,
launch. Display issues same as mentioned above.)

Another note here. If you have hostname problems, either use ip
addresses to set your display, or make sure the proper host names are
in the SGI hosts file and the Linux file; otherwise, X might not
understand the request given the difference between host name and IP
address. ie 30.2.5.4:0 -- machinename:0

#1 does not work with the SGI X server. Seems this is an XFree thing
so it's a one way method only. #2 works no matter what.

When using ssh, the compression method really matters on the SGI end
of things. For example, if you are using putty to connect a PC to an
SGI for remote display, you will want to move blowfish to the top of
the compression preferences for best speed. Also make sure the X
tunnel is toggled on and the compression is toggled on.

Unix equiv: ssh -l loginname -X -C sgihostname

On the SGI, assuming it is the sshserver, you might also check the
/etc/sshd.config file <-- watch that name, I am going from memory to
enable X port forwarding; otherwise, the server will not pass the
protocol over the wire. Watch changing user names in a window,
unless you allow very sloppy connections, the X protocol will not work
in this case. Rather than deal with this, I would prefer you just
login as the user you intend to be on the SGI for security reasons.

Oh, be sure and have your X server running before a connection is
made. In theory this should not matter until the display machine sees
a request, but I have had probl
 
 
 

running X from irix->windows or even irix<->irix

Post by doug » Thu, 20 Nov 2003 07:04:03

Snip)

Some things I have done:

PC w /Exceed display IRIX Applications & desktop:

1. Run Exceed in passive mode. Then telnet / ssh whatever to irix
box and launch app. Should display using the PC window manager. If
the user login files have been tweaked, you might need
DISPLAY=ipaddrofpc:0

2. Do same as #1, then fm -b & This will display the entire desktop
sans background, but with icons. Launch apps in the usual SGI way.
Cannot remember which window manager gets used in this case, but I
think it it still the PC window manager.

3. Chkconfig xdm on then launch exceed (or other x server software)
using xdmcp mode. Pick your machine and log in. You will get an
xterm & the toolchest. Launch what you want from there. This mode
uses the SGI window manager on top of the PC one.

One advantage of #1 and #2 over #3 is that you can generally switch
user id's and even hop between machines with your display intact. #3
limits you in those areas requiring the display variable to be set far
more often.

(As an aside, you can also chkconfig fontserver on and specify your
SGI as the font server in the Exceed xconfig options. Many things
render nicely this way.)

Note, some applications are still running with IRIS-GL code. These
will never display anywhere but another SGI. (Jot, gr_osview are a
couple that come to mind. I think the little fractal thing is this
way also.)

Also note, the Exceed software requires a 3D extension in order to
render GL applications over the network. Other software, like X-win32
does not, but is more buggy...)

Linux display IRIX

1. Khalid Schofield's method gives you an entire display running on
your Linux box. This is great and I use it all the time. use
cntrl+alt 7 and 8 to toggle between the displays. Sometimes it is
nice to just remote an application of interest... so,

2. xhost + (On your Linux box), then telnet ssh whatever to sgi,
launch. Display issues same as mentioned above.)

Another note here. If you have hostname problems, either use ip
addresses to set your display, or make sure the proper host names are
in the SGI hosts file and the Linux file; otherwise, X might not
understand the request given the difference between host name and IP
address. ie 30.2.5.4:0 -- machinename:0

#1 does not work with the SGI X server. Seems this is an XFree thing
so it's a one way method only. #2 works no matter what.

When using ssh, the compression method really matters on the SGI end
of things. For example, if you are using putty to connect a PC to an
SGI for remote display, you will want to move blowfish to the top of
the compression preferences for best speed. Also make sure the X
tunnel is toggled on and the compression is toggled on.

Unix equiv: ssh -l loginname -X -C sgihostname

On the SGI, assuming it is the sshserver, you might also check the
/etc/sshd.config file <-- watch that name, I am going from memory to
enable X port forwarding; otherwise, the server will not pass the
protocol over the wire. Watch changing user names in a window,
unless you allow very sloppy connections, the X protocol will not work
in this case. Rather than deal with this, I would prefer you just
login as the user you intend to be on the SGI for security reasons.

Oh, be sure and have your X server running before a connection is
made. In theory this should not matter until the display machine sees
a request, but I have had probl
 
 
 

running X from irix->windows or even irix<->irix

Post by Jonatha » Fri, 21 Nov 2003 00:28:25


XXXX@XXXXX.COM (Doug Dingus) wrote in


(Snip) (of some suggestions that look VERY helpful)

FWIW -- I've also tried to 'jot readme.txt' through the SSH tunnel using
Reflections -- the Jot app comes up, but no readme.txt and it won't let
me open a file on the remote Indy.
I'm going to spend today/tonight working through all of your suggestions
(THANK YOU!), and I'll post back w/ results.

-Jonathan
 
 
 

running X from irix->windows or even irix<->irix

Post by Emmanuel F » Fri, 21 Nov 2003 00:31:18

Dans article < XXXX@XXXXX.COM >, jonny_spam-
XXXX@XXXXX.COM disait...

IIRC jot is very old software using IRIS GL or a similar SGI only library
: it won't ever display properly on anything but an SGI X server... Try
with something standard such as nedit...

--
Quis, quid, ubi, quibus auxiliis, cur, quomodo, quando?
 
 
 

running X from irix->windows or even irix<->irix

Post by Jonatha » Fri, 21 Nov 2003 23:33:04

Emmanuel Florac < XXXX@XXXXX.COM > wrote in



Yes, you are correct. Also seems to hold true for ImgView... figures I
would pick two things to try that are not compatable. :)
Thanks to the help that Doug D. provided I was able to get xclock,
netscape, etc. working though, so looks like I'm good to go.
 
 
 

running X from irix->windows or even irix<->irix

Post by doug » Mon, 24 Nov 2003 14:42:15


(stuff)

Sorry for the double post folks. I posted using google, but never got
a reply page. Given the length, I hit it again....

arrgh!
 
 
 

running X from irix->windows or even irix<->irix

Post by doug » Mon, 24 Nov 2003 14:55:39


I am surprised it displayed at all. Normally, I get 'Display not DGL
capable' or something along those lines.


You might grab xnview (use google) or electric eyes and or gimp off
the freeware collection.

imgworks fails just as imgview, thought I would check.

If you see this:

dgl error (protocol): remote machine not DGL capable -
feona.opengeek.org:0.0
dgl error (default init): default dglopen(feona.opengeek.org:0.0,4)
returned -13

forget it unless you plan on using another SGI for display.

gimp works well as does xnview --just checked on my spare Indy here.
 
 
 

running X from irix->windows or even irix<->irix

Post by Jonatha » Thu, 27 Nov 2003 22:29:42


XXXX@XXXXX.COM (Doug Dingus) wrote in


<snip>

Ahhh... xnview - good suggestion. That should load a little faster than
Netscape accross a WAN!!

and just to clarify -- I think I was 'mis-remembering' with my account of
getting Jot to run. It too suffers the DGL fate. No biggie there
though, vi is fine for my needs. (emacs zealots -- yeah yeah yeah...
"emacs - rah rah rah!" :) )

ps- I only saw the one post + the apology for double-posting.