GDM autologin untuk thinstation dan LTSP client

GDM autologin untuk thinstation dan LTSP client

Contoh-contoh file Mengguna file configurasiku (thinstation Warnet)

edit gdm.conf-custom

# mousepad /etc/X11/gdm/gdm.conf-custom

[daemon]
RemoteGreeter=/usr/lib/gdm/gdmgreeter
AutomaticLoginEnable=true
AutomaticLogin=/usr/bin/autologin.sh|
TimedLoginEnable=true
TimedLogin=/usr/bin/autologin.sh|
TimedLoginDelay=1

[security]
DisallowTCP=false
AllowRemoteAutoLogin=true

[xdmcp]
Enable=true

[greeter]
GraphicalTheme=UbuntuME
SoundOnLogin=true
GraphicalThemedColor=#105408

Buat file autologin.sh

# mousepad /usr/bin/autologin.sh

#!/bin/bash
HOSTNAME=$(echo $DISPLAY | cut -d: -f1)
case “$HOSTNAME” in
“192.168.0.101”) disp=com-1;;
“192.168.0.102”) disp=com-2;;
“192.168.0.103”) disp=com-3;;
“192.168.0.104”) disp=com-4;;
“192.168.0.105”) disp=com-5;;
esac
echo $disp
exit 0

simpan dan chmod agar bisa dieksekusi
# chmod +x /usr/bin/autologin.sh

ip client di buat fix, edit dhcp.conf

# mousepad /etc/dhcp3/dhcpd.conf

authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name “example.com”;
option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;

if substring( option vendor-class-identifier, 0, 9 ) = “PXEClient” {
filename “/thinstation/pxelinux.0”;
}
else{
filename “thinstation.nbi”;
}

use-host-decl-names on;

host com-1{
hardware ethernet 00:C0:4F:8D:B8:F5;
fixed-address 192.168.0.101;
}

host com-2{
hardware ethernet 00:B0:D0:2D:39:A9;
fixed-address 192.168.0.102;
}

host com-3{
hardware ethernet 00:50:8B:76:38:D1;
fixed-address 192.168.0.103;
}

host com-4{
hardware ethernet 00:50:DA:8D:E8:29;
fixed-address 192.168.0.104;
}

host com-5{
hardware ethernet 00:50:8B:4E:D8:49;
fixed-address 192.168.0.105;

}
range 192.168.0.101 192.168.0.150;
}

restart dhcp server dan gdm

# /etc/init.d/dhcp3-server restart
# /etc/init.d/gdm restart

Iklan

5 comments on “GDM autologin untuk thinstation dan LTSP client

  1. eamng warnetnya paki Thin Clinet 🙂 servernya pakai apa, Debian , dan bagaimana perforam dari Thin Clinet tersebut mas !!!

  2. sy baru experiment ltsp di pclinuxos gnome, terima kasih sy banyak make petunjuk dr situs ini, utk gdm autologin sampe skrg belum bisa jg, pdhl sdh ngikutin petunjk anda berkali2 dan jg googling, tp tetep juga blm bisa (begitu jg sound, usb, trus shutdown, semuanya gak ada yg jalan), please help me….

  3. mas, saya bangun ltsp menggunakan sabily 10.04. tapi sepertinya client menggunakan ldm bukan gdm. jika saya ingin menggantikannya dengan gdm, bagaimana cara installnya ya..! trims

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s