Unix Technical Forum

starting the application remotely

This is a discussion on starting the application remotely within the AIX Operating System forums, part of the Unix Operating Systems category; --> HI, Once I telnet as root to a remote machine - I need to force the green screen waiting ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 08:03 AM
MoshiachNow
 
Posts: n/a
Default starting the application remotely

HI,
Once I telnet as root to a remote machine - I need to force the green
screen waiting for any login to login as a certain user,this will start
the application I need like If I was typing on the remote system
terminal.

Is there a way to achieve it - login to application remotely,but let
the machine think (environment,display,etc) that I'm a locall user ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:03 AM
Lorinczy Zsigmond
 
Posts: n/a
Default Re: starting the application remotely

MoshiachNow wrote:
> HI,
> Once I telnet as root to a remote machine - I need to force the green
> screen waiting for any login to login as a certain user,this will start
> the application I need like If I was typing on the remote system
> terminal.
>
> Is there a way to achieve it - login to application remotely,but let
> the machine think (environment,display,etc) that I'm a locall user ?


Could you please explain this? What 'green screen' do you mean?
What is the definition of the 'local user'?
Perhaps this is related with inetd?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 08:03 AM
AIX n00b
 
Posts: n/a
Default Re: starting the application remotely

MoshiachNow wrote:
> HI,
> Once I telnet as root to a remote machine - I need to force the green
> screen waiting for any login to login as a certain user,this will start
> the application I need like If I was typing on the remote system
> terminal.
>
> Is there a way to achieve it - login to application remotely,but let
> the machine think (environment,display,etc) that I'm a locall user ?
>


There is a product called DoubleVision that will allow you to do this.

It is made by Tridia. www.tridia.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 08:03 AM
MoshiachNow
 
Posts: n/a
Default Re: starting the application remotely

HI,
What I mean exactly is :
On my server ,after reboot (a green screen =terminal shows) ,in order
to start a server application requiring display,the user has to type a
<userlogin> (no password),which shoots off a Java interface,xinit,etc.

I'd like to login remotely to the above machine as root (I have a root
password) and force the console to receive the <userlogin> as an
input,so that the application starts in a perfect local environment,not
in a remote one.
Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 08:03 AM
AIX n00b
 
Posts: n/a
Default Re: starting the application remotely

MoshiachNow wrote:
> HI,
> What I mean exactly is :
> On my server ,after reboot (a green screen =terminal shows) ,in order
> to start a server application requiring display,the user has to type a
> <userlogin> (no password),which shoots off a Java interface,xinit,etc.
>
> I'd like to login remotely to the above machine as root (I have a root
> password) and force the console to receive the <userlogin> as an
> input,so that the application starts in a perfect local environment,not
> in a remote one.
> Thanks
>


I think DoubleVision will do what you need. You can "connect" to your
local terminal via a remote one, and anything you start from within that
"connection" will run as if it was started from the local
terminal/console. You can then disconnect and leave everything running,
or allow somebody else use the terminal. It was originally used as a
tool for support people to see error messages and verify user input.
Some users are not very apt at explaining error messages at times, but
that was probably in my old Solaris world. :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 08:03 AM
MoshiachNow
 
Posts: n/a
Default Re: starting the application remotely

Yes,

But since I need my solution to be distributed with out SW to 8000
machines we have worldwide - I need some freeware solution,while
DoubleVision is not.
Thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 08:03 AM
MoshiachNow
 
Posts: n/a
Default Re: starting the application remotely

A typo - I meant "with " our SW ...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 08:03 AM
Nathan
 
Posts: n/a
Default Re: starting the application remotely

Use the portmir command. There's a smitty shortcut if you want:

smitty portmir

Tell it what tty you are on and what tty you need control of. It's as if
you are actually connected to that terminal.



MoshiachNow wrote:
> HI,
> Once I telnet as root to a remote machine - I need to force the green
> screen waiting for any login to login as a certain user,this will start
> the application I need like If I was typing on the remote system
> terminal.
>
> Is there a way to achieve it - login to application remotely,but let
> the machine think (environment,display,etc) that I'm a locall user ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 08:03 AM
Markus Baertschi
 
Posts: n/a
Default Re: starting the application remotely

MoshiachNow wrote:
> On my server ,after reboot (a green screen =terminal shows) ,in order
> to start a server application requiring display,the user has to type a
> <userlogin> (no password),which shoots off a Java interface,xinit,etc.


I'd start playing with a sequence like this:
- telnet to remote server
- log in as root
- switch to the target user 'su - <user> -c <script>'
<script> is a script starting X ('startx') and the application

If this works then you can script things together to work the same
unattended after booting the system.

Markus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 08:03 AM
AIX n00b
 
Posts: n/a
Default Re: starting the application remotely

Nathan wrote:
> Use the portmir command. There's a smitty shortcut if you want:
>
> smitty portmir
>
> Tell it what tty you are on and what tty you need control of. It's as if
> you are actually connected to that terminal.
>
>
>
> MoshiachNow wrote:
>
>> HI,
>> Once I telnet as root to a remote machine - I need to force the green
>> screen waiting for any login to login as a certain user,this will start
>> the application I need like If I was typing on the remote system
>> terminal.
>>
>> Is there a way to achieve it - login to application remotely,but let
>> the machine think (environment,display,etc) that I'm a locall user ?


This is pretty good and the price is right too! I never knew this was
built into AIX.

This is probably what you are looking for.

SG
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com