Morning,

Please forgive the length.

LTSPV3, RH7.1

I am trying to setup my Work Stations to auto load
X applications without the use of xdm. Xdm at the console
is fine but all of the station are designed to present an specific
application when they start.

I see that I can alter the "rc.local" file to configure the "start_ws"
file for the purpose of loading my own startup proceedure.
I am trying to "rlogin" to the station
without the use of passwords. Most station applications
are touch screens and keyboards a rarely used.

The server login in this case is "apps". In the
"/home/apps/.bash_profile" I have
added a script as follows;

host=`who -lm | awk "{ print "'$NF'" }" | sed 's/(//;s/)//'`

This return the workstation hostname logging in. i.e ws001,2,etc
Base on the workstation hostname I load the appropriate
application.

On the work station I execute;

/usr/X11R6/bin/xinit  -- :0

with an "/.xinitrc" file containing

xhost +&
gnome-terminal -e rlogin -l apps 192.168.0.254

This works from a regular Linux box but
the work station always asks for a password.

I believe this is the result of rlogin not being able to
resolve the host and login information. I see that the
files /etc/hosts and /etc/hosts.equiv are located in the
WS:/tmp directory. I cannot changes these since they are
read only temp files. Also there is no "apps" entry in the
WS:/etc/passwd file.

QUESTION:

1) Am I doing this the hard way or what? If not,

2) How to I configure the WS hosts & hosts.equive file
before the station starts?,

3) How do I create a user "apps" on the WS with
an entry in WS:/etc/passwd file so rlogin can resolve its
password

Any help appreciated.


Serge



_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to