APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > telnet autolgin linux sco ––>Re: Telnet AutoLogin
Printer Friendly Version




News Group Posts

telnet autolgin linux sco




From: "Brian K. White" <brian@aljex.com>
Newsgroups: comp.unix.sco.misc
References: <8aad59042bf9f13faffc10f31481d132.13902@mygate.mailgate.org>
<ANVt7.20567$c8.2844755@news1.rdc1.nj.home.com>
<32814c10676910f9ec70a175a42e4b5b.13902@mygate.mailgate.org>
<1oKu7.31596$c8.4606063@news1.rdc1.nj.home.com>
<7200ce12925376313e475bcd25b11b39.13902@mygate.mailgate.org> Subject: Re: Telnet Auto Login X-MSMail-Priority: Normal Message-ID: <BS8v7.37167$c8.5606776@news1.rdc1.nj.home.com> Date: Fri, 05 Oct 2001 02:25:37 GMT "Serge Bromow" <serge@omensys.com> wrote in message news:7200ce12925376313e475bcd25b11b39.13902@mygate.mailgate.org... > "Brian K. White" <brian@aljex.com> wrote in message > news:1oKu7.31596$c8.4606063@news1.rdc1.nj.home.com... > > > > > "Serge Bromow" <serge@omensys.com> wrote in message > > news:32814c10676910f9ec70a175a42e4b5b.13902@mygate.mailgate.org... > > Thanks Brian. > > Setting the DISPLAY variable did the trick. > As you suggested, a small script to init the > variable and launch the appplication got the > system up and running. > > Serge












I just thought of a better script to put on the unix box than the one I
posted before.

on the unix box, in some public path like /usr/local/bin:
vi /usr/local/bin/xrsh

#!/bin/sh
DISPLAY="$1" ; export DISPLAY ; shift
exec "$@"


on the linux box in the window manager, configure a button with this
command:

rsh unixbox xrsh thislinuxbox:0 yourapp -opt -opt -opt...



example: how about a sco utils menu...
unix box hostname is gillespe, and this goes in the window manager on the
linux box named phlebotomy:
rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/scoterm
rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/xterm
rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/scohelp
rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/scoadmin
rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/scopaint
rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/scoedit

this way,
* you only have one single script on the unix box
* it can be used by all the linux boxes at once
* and it can be used to run any program on the unix box.
* you can install the same script on more/other unix boxes without changing
it every time.

you could even define something like this command in your linux box
~/.xinitrc and start up X with the SCO desktop instead of the linux desktop.
(this might not be exactly correct, as I can't test it this minute, but I
have done this before, manually. using rsh and sticking it right in .xinitrc
is just another twist on something that I do know works.

rsh gillespe /usr/local/bin/xrsh phlebotomy:0 /usr/bin/X11/xdt3

Another favorite tool of mine for displaying remote sco x destops and apps
on local linux boxes is xnest.
I happen to have a linux box, with X installed for a nat router for my
office. if I need to run internet configuration manager on some customers
sco box, I start xnest on the router with it's display set to the linux box
at my desk. I then start scoadmin on the remote sco box with *it's* display
set for the xnest that is running on my router. End result, I have a window
on my regular linux x desktop, and in that window is a full sco desktop, or
a blank X background and some bare x apps running on the remote sco box.

too cool

--
Brian K. White  --  brian@aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx  Linux SCO  Prosper/FACTS AutoCAD  #callahans Satriani




If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here