[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting next-generation LTSP into Debian/main



On Sat, Aug 06, 2005 at 01:29:46AM +0200, Petter Reinholdtsen wrote:
> Not quite sure where to send this message, so I keep the original
> addresses and add the lessdisks list.  I do not know the address of
> the proper ltsp list to use.
> 
> [Vagrant Cascadian]
> > packages and source available at:
> > 
> > deb http://llama.freegeek.org/~vagrant/debian experimental/
> 
> Cool.  I installed ltsp-server and dependencies in my laptop, and then
> generated the ltsp root using running this as user root:
> 
>   ltsp-build-client --dist sarge \
>     --mirror "http://developer.skolelinux.no/debian sarge main" \
>     --extra-mirror "http://llama.freegeek.org/~vagrant/debian experimental/"
> 
> This worked fine, but I had to remove /opt/ltsp/i386 after any failed
> tries.
> 
> Next, I booted the thin client using qemu like this, running as a
> normal user:

Actually, I forgot to mention that I had to update /etc/exports with

  opt/ltsp       *(ro,no_root_squash,async,insecure)

and restart nfs-kernel-server to get the client booting.

Should the client use sdm or ldm?  The ldm start script need this
patch to limp along with 2.4 kernels.

--- orig/client/screen.d/ldm
+++ mod/client/screen.d/ldm
@@ -6,7 +6,14 @@
 PATH=$PATH:/usr/bin/X11

 tty=$(tty)
-ttynum=${tty#/dev/tty}
+case "$tty" in
+  /dev/tty*) # 2.6 kernel
+      ttynum=${tty#/dev/tty}
+      ;;
+  /dev/vc/*) # 2.4 kernel
+      ttynum=${tty#/dev/vc/}
+      ;;
+esac
 displaynum=$(($ttynum - 1))

 exec ldm vt$ttynum :$displaynum



I still have not gotten X starting at boot time, but am working on it.
I installed xdebconfigurator on sarge and enabled it to regenerate the
X config at boot time.

  echo 'ENABLE_AT_BOOT=true' >> /opt/ltsp/i386/etc/default/xdebconfigurator



Reply to: