Syed Jahanzaib Personal Blog to Share Knowledge !

June 30, 2010

uBuntu: LTSP / lts.conf /dhcpd.conf / Auto Login

Filed under: Linux Related — Syed Jahanzaib / Pinochio~:) @ 8:31 AM

Following lts.conf is an example on howto boot ltsp client to autoboot with ubuntu id and then present Terminal screen directly, so user will feel that he is logging to windows pc transparently.
+++++++++++++++++++++++++++++++++++++++++++++

[default]
LDM_AUTOLOGIN = True

#Auto login for use
[00:16:76:78:15:e9]
LDM_USERNAME = root
LDM_PASSWORD = ponka
SCREEN_01 = startx
SCREEN_02 = ldm
SCREEN_04 = rdesktop
RDP_SERVER = 192.168.2.4

++++++++++++++++++++

How to USE nix locally connected USB to REMOTE WINDOWS DESKTOP my computer.

rdesktop -r disk:usb=/media/zaib/usbdisk-sdb1 192.168.2.4 -u administrator -p hehehe

+++++++++++++++++++++++++++++++++++++++++++++++++++++

Howto run Windows Application SEAMLESS via LTSP Client ???

(Default Ubuntu 9.10 rdesktop donot hide the double title window, First remove rdesktop, then download 6.0.2 version from debian repo. then install compiz-config & search for adding the string to bypass SEAMELSSRDP window)
rdesktop -s ‘c:\seamless\seamlessrdpshell.exe C:\Program Files\Internet Explorer\iexplore.exe’ 192.168.2.4 -u administrator -p hehehe

++++++++++++++++++++++++++++++++++++++++++++++

Sample DHCP configuration file (DHCP3-SERVER)
==========
(Also to start dhcp3-server, use
service dhcp3-server start
==========

# Default LTSP dhcpd.conf config file.
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.200 192.168.2.220;
option domain-name "zaib.com";
option domain-name-servers 192.168.2.1;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
option root-path "/opt/ltsp/i386";
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
filename "/ltsp/i386/nbi.img";
}
}

host zaibpc.zaib.com {
hardware ethernet 00:08:02:39:83:b4;
fixed-address 192.168.2.6;
}


++++++++++++++++++++++++++++++++++++++++++++++
DHCP config file location
/etc/ltsp/dhcpd.conf

++++++++++++++++++++++++++++++++++++++++++++++

LTS.CONF location
/opt/ltsp/i386/etc/lts.conf
++++++++++++++++++++++++++++++++++++++++++++++

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: