[K12OSN] need help running sshd on client for fl_teachertool

Gideon Romm ltsp at symbio-technologies.com
Tue Sep 29 14:03:46 UTC 2009


> >
> > I am trying to run sshd on the client so I can send the command to run
> > x11vnc (for monitor and control) on the client. Unlike ltsp 4 I have
> > to run x11vnc with auth (magic cookie) of a running X session. Which
> > means I can only start x11vnc once someone has logged in (not at boot
> > up). I was able to install openssh-server via yum but sshd fails to

Robert, no need for sshd on the client for this! LTSP5 has a whole
system for starting processes after X launches, but before the greeter.

There are in fact two different paths of interest in your chroot:

.../usr/share/ltsp/xinitrc.d/  (This is used for ANY graphical screen
script, ldm, rdesktop, etc)

.../usr/share/ldm/rc.d/ (This is used only for LDM)

If you create a script prefixed with the capital letter "I" (as in
"init"), this script will be *sourced* after X initializes but before
the greeter.

This is the ideal place to put a call to x11vnc.  Just make sure you
call x11vnc to die along with X, so it starts up every time and does not
daemonize or anything.

You will find other scripts in those directories as examples.  If you
are running an image-based distro, such as ubuntu, remember to update
the image after making changes.

-Gadi

-- 
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
ltsp at symbio-technologies.com

Pay It Forward!  
Intel Atom 1.6GHz, 512MB RAM + Symbiont Boot Stick = $275
10% of order goes to school or open source project of your choice!

Buy yourself a lab or office and use your donation to set up a school,
pay for a desperately needed feature added to a software package,
or sponsor part of LTSP's annual developer's conference LTSP-by-the-sea!

Check out:  http://www.symbio-technologies.com/payitforward 




More information about the K12OSN mailing list