1753520 Members
4831 Online
108795 Solutions
New Discussion юеВ

Spawning SAM via remote

 
Henry Chua
Super Advisor

Spawning SAM via remote

Hi Guys,

If I am assessing a workstation remotely via telnet using my pc, can i spawn SAM on the workstation (i.e. the application pops up on the workstation itself), or other GUI via the telnet?

Thanks
Henry
11 REPLIES 11
T G Manikandan
Honored Contributor

Re: Spawning SAM via remote

can you please be elaborate,you can get your Q's
Robert-Jan Goossens
Honored Contributor

Re: Spawning SAM via remote

Hi,

Yes, but you will need some kind of X terminal emulation software. Something like ReflectionX, Xvision, Cygwin etc.

Hope this helps,
Robert-Jan
Steven E. Protter
Exalted Contributor

Re: Spawning SAM via remote

SAM has two modes with the same functionality.

Text, which works via telnet or ssh

GUI which requirs an X emmulator on the machine connecting remotely from the workstation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Thayanidhi
Honored Contributor

Re: Spawning SAM via remote

Did you try set the DISPLAY variable to the remote host and start sam.

Don't know whether this will work?

Regds

TT
Attitude (not aptitude) determines altitude.
Steven E. Protter
Exalted Contributor

Re: Spawning SAM via remote

SAM decides which mode to use based on whether DISPLAY variable is set and whether it can communicate with that address.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Naveej.K.A
Honored Contributor

Re: Spawning SAM via remote

Hi,

If you are using telnet to connect to your workstation you can still invoke SAM and it will start in the menu based mode rather than the GUI mode.

Also if you use any other Xterminal emulation softwares, you will get a GUI on your local PC/workstation but will still be using a telnetd connction.

As mentioned by Robert, some softwares offering GUI interface are Xterm, ReflectionX, etc.

Regards,
Naveej
practice makes a man perfect!!!
T G Manikandan
Honored Contributor

Re: Spawning SAM via remote

telnet supports terminal mode of SAM.

you are looking for a GUI version of tool capable of working from remote use the PC X -server software.

Like the Xmanager.
You can download it by searching in google.com

"Xmanager downloads"

Install it.
run XManager
you will receive xdmcp broadcasts from the unix servers that are running CDE.
Then you can login into the appropriate server.
Then do a
$DISPPLAY=:0.0;export DISPLAY

Henry Chua
Super Advisor

Re: Spawning SAM via remote

Hi Guys,

Thanks for the info. I apologise for the incomplete query. Actually what i'll like to do is to spawn an application remotely on the workstation itself i.e. I do not need to see it on my screen but it has to appear on the actual workstation which maybe far away from me.
If i type "hpterm" via a telnet connection, it will prompt an error, how can i make the system fork a terminal on the actual workstation(appear locally) remotely via telnet?

Is this possible? Sounds ridiculous, but I am just curious... =)

Thanks
Henry
Pete Randall
Outstanding Contributor

Re: Spawning SAM via remote

Henry,

It's should be quite simple. From your telnet session, just do:

/usr/sbin/sam -display workstation:0.0


Pete


Pete