Hi Terry, > We need to do some work with our SparcStation again, but this time > remotely from a windows machine. I can telnet to it and carry out the > usual shell type activities, but one or two things we need to do with > it, launch a dialog box under X. > > What is the simplest way to do this? I was initially advised to try > PuTTY, which was just as good at getting me into a shell as telnet, > but I couldn't get it to give me a graphical environment.
PuTTY won't help the X window from your client on the SparcStation display on your PC's screen AFAIK. > I was then told to try cygwin, which (eventually) gave me a graphical > environment, but so far has defied my attempts to connect. > > Can anyone suggest how to get any of these solutions working? Or is > there a better way? If you had an X server running on your Windows PC then you could set your DISPLAY environment variable to an "appropriate value" at the shell prompt on the SparcStation before you run your program. That would tell all X clients that the X server to connect to is on the Windows PC. http://www.straightrunning.com/XmingNotes/ is one Windows X server, and I tend to use xclock(1) as a simple test X client. You may want to make sure it will display OK when sitting at the SparcStation's screen before using it to test connecting to a remote X server. You've still got to sort out stuff like the X server allowing connections from the SparcStation, and the value of DISPLAY. It's normally "hostname:0" but that assumes the Windows PC's IP address is resolvable as "hostname" on the SparcStation. You could put its IP address in instead. And the ":0" may need to be something else, depending on what port Xming listens. Alternatives include having the SparcStation export its screen over something like VNC, but I don't know if it can do that easily out of the box. Cheers, Ralph.
-- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue

