File: README

package info (click to toggle)
ldm 2:2.0.6-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,012 kB
  • ctags: 144
  • sloc: sh: 3,813; ansic: 1,648; makefile: 105; sed: 16
file content (53 lines) | stat: -rw-r--r-- 1,790 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
ldm is the LTSP Display Manager which handles authentication for remote desktop clients.

Currently, it doesn't interface with a greeter, as this design will require a 
conversation with the greeter, rather than a simple "get name and password"
of the existing greeter.

Work on the greeter will also be done.

For now, We're using a simple GTK greeter that Ollie designed.  We'll make
it more pretty.

If you'd like to play with ldm, here's the steps.

1) Get the branch (you've obviously done this already)
2) Build ldm (standard ./configure --prefix=usr && make)
3) Copy ldm to $CHROOT/usr/sbin
4) Copy share/ldm-script to $CHROOT/usr/share/ldm
5) Copy scripts/* to $CHROOT/usr/share/ldm/rc.d
6) Install ldmgtkgreet to $CHROOT/usr/libexec/ldm

Currently, most things work.  Sound and Localdev seems to setup ok.
The command socket for ldm now lives in  /var/run/ldm_socket, snd the udev
scripts have been patched up in my ltspfs-upstream branch.

LDM_DIRECTX works!

We've got a new scripting mechanism for startup and shutdown scripts.
Right after the ssh connections been completed,
"/usr/share/ldm/ldm-script start" is called, which exectutes everything
called S* in the rc.d dir in the ldm share.

Two environment variables are passed down:

LDM_SERVER points to the server LDM is talking to, and
LDM_SOCKET points to the command socket the ssh connection has set up.

A three line script now replaces all the functionality of the delayed-mounter
daemon.

to exectute something on the server, you can simply do:

ssh -M $LDM_SOCKET $LDM_SERVER "your server command here"

After the X session's ended, ldm-script stop is called which looks for K* 
scripts.

Note that the scripts are .'d so, exits in your rc scripts will be bad mojo.

Have Fun!

--
The LTSP Team
http://www.ltsp.org