Re: Accessing Solaris and application
Re: Accessing Solaris and application
- Subject: Re: Accessing Solaris and application
- From: Todd Sampson <email@hidden>
- Date: Fri, 27 May 2005 08:08:32 -0500
Title: Re: Accessing Solaris and application
Hi Jean,
I do the same thing that you are trying to do. I use a G4 at work and at home I VPN with my G5. With Panther and X11 v1.0, it worked as you have described. With Tiger and X11 v1.1, things are a little broken, but you can still get it to work.
There is something funny going on with the DISPLAY environment variable. If you use ssh instead of telnet, DISPLAY is automatically set for you. ssh –X doesn’t work but ssh –Y does. Try:
xhost +
ssh –Y –l <your logon name> <the name of the machine you telneted into>
-Y is a capital Y. -l is small el. Don’t type the ‘<‘ and ‘>’.
It will complain about not having a key or something like that but just answer “yes” and it will work. You can type echo $DISPLAY to see what DISPLAY is set to. It sets mine to localhost:10.0.
The only problem that I have, and it’s a big one, is that we use load sharing software, (LSF), to send jobs to the least used box in our farm. When my job is dispatched to another unix box, localhost:10.0 no longer works and the box cannot display to my computer. As long as you stay on one unix box, you should be all right.
You can also use VNCViewer, (free at www.versiontracker.com), to connect to a VNC session. You would have to start the VNC session on your Solaris box by typing vncserver –display 1280x1024 –depth 8. (or whatever resolution and depth you want.) It will give you a session number. Remember the number. When you launch VNCViewer on your iMac, you enter the machine name and the number. There is also a password that you set. I think it may ask you to set it the first time you create a vncserver on the Solaris. If you have an IT person, they should be able to help you out. Keep in mind that VNC is another method of working on your Solaris box. If you use X11, you don’t need to worry about VNC. One advantage of VNC however is that you can connect and disconnect to the vnc server anytime you want. The down side is that the window is managed on the Solaris so it has to go over the network so it runs slow. The down side to X11 is that once you disconnect, it’s gone.
Another thing: when you set an environment variable in an X11 terminal window, you use: setenv DISPLAY xxx. There are lots of different shell environments but the one that comes up in X11 uses setenv. Maybe the ‘export’ that O'Reilly talks about is for another shell.
Good luck,
todd
From: "Jean M. Feuillet" <email@hidden>
Date: Fri, 27 May 2005 08:06:12 -0400
To: <email@hidden>
Cc: "Jean M. Feuillet" <email@hidden>
Subject: Accessing Solaris and application
I want to connect from my iMac G5 to a Solaris box running an X11 application I need to use. I loaded X11, fink and other apps on the iMac. When I load X11 I get an xterm window where I type: xhost + to give access to the Solaris device. Then I telnet to it and once logged in I type: export DISPLAY=xxx.xxx.xxx.xxx:0.0 where xxx is the IP address I retrieved from the server. Then I type the name of the application. Nothing happens.
I followed the directions in the O'Reilly's book about Unix, but I may have missed something. Can you help me get started?
I connect to the Solaris box via the Cisco VPN and on the iMac, I have the firewall turned ON. I'm using Tiger.1
Best regards,
Jean M. ('Jay') Feuillet
954-294-5771
_____________________________________
Education is when you read the fine print. Experience is what you get if you don't. (Pete Seeger)
This transmission is intended to be delivered only to the names addressee(s) and may contain confidential and proprietary information for the use of the individual(s) and/or entity to which it is addressed. If this transmission is received by anyone other than the names addressee(s), the recipient(s) should immediately notify the sender, Mr. Jean M. ('Jay') Feuillet, by email (<<mailto:email@hidden>>), and obtain instructions as to the disposal of the transmitted material. In no event shall this material be read, used, copied, reproduced, stored or retained by anyone other than the named addressee(s), except with the express written consent of the sender. Thank you.
_____________________________________
*** Powered by Mac OS X Tiger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden