Link to home
Start Free TrialLog in
Avatar of manuel2002m
manuel2002m

asked on

Openning a remote GUI session to a SOLARIS 10 Machine.

Can somebody please give me an idea on how to open an X session (GUI) over a remote server or workstation? KDE, Java Desktop or any other.

Let say I have a SUN workstation with Solaris 10 and I want more than one people to connect to it graphycally, at the same time.
What kind of computers will they need? X86 with Solaris, Windows, Linux? or Sparc-based machine?

Thanks!!!

ASKER CERTIFIED SOLUTION
Avatar of Brian Utterback
Brian Utterback
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

I would like to add to what blu said.

For you to be able to run xwindows applications on the workstation and get the display on the user PC or workstation, then

1- If the user is having a unix based OS with xwindows already runing, then

a-

 he can telnet to the remote workstation: e.g. telnet workstation1 (or its ip address).
then he need to set the env. variable DISPLAY and export it: e.g. export DISPLAY=mypc:0.0
please note that mypc is the pc / system from which the user is telnetting from. if not defined in dns or in /etc/hosts of the workstation, then use pc ip address in place of mypc in the example above.

then he can run the xwindows tool or utility: e.g. xterm or dtterm, etc.

now, he may face a problem like not displaying on mypc. thne before he telnet to the workstation needs to allow remote xwindows applications to display on his pc. this is done with the command xhost +

to summarize:

on user workstation (mypc) he will run
$ xhost +
$ telnet workstation1

after logging to the remote workstation
$ export DISPLAY=mypc:0.0
$ dtterm (this is an example of an xwindows application. you may try xeyes)

b- if he can not telnet and have to use ssh, then he will do as above but instead of telnet he will use

$ ssh +X workstation1 (check your ssh client specific switch as +X may not work as shown here)

2- if the user is having a PC with windows, then you need xwindows S/W installed on that pc.

There are many commercial and free xwindows S/W for windows. One of them is humming bird.

you need to see the manual or help of that S/W to see how to connect to a remote workstation.

most of the xwindows S/W for windows will search the network for xwindows capable workstations and display a list of them to the user on starting the S/W. the user may choose the one he wants to login to.
the xwindows S/W will do all the settings needed and no more setting from user side is required.
once logged in he can run xwindows applications like xeyes or xterm.

if your remote windows does not allow xwindows directly and has an ssh server already installed on it, then in this case you need to see how to set the xwindows S/W on your pc to connect using  ssh. the S/W i mentioned above supports that, but you need to see the help to see how to configure it.

hope this will get you there :)