个人工具

UbuntuHelp:UbuntuLTSP/AutoLoginFeatures

来自Ubuntu中文

Wikibot讨论 | 贡献2008年12月16日 (二) 20:22的版本 (新页面: {{From|https://help.ubuntu.com/community/UbuntuLTSP/AutoLoginFeatures}} {{Languages|UbuntuHelp:UbuntuLTSP/AutoLoginFeatures}} '''This wiki page is specific to Ubuntu Version(s): 8.04''' -...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

This wiki page is specific to Ubuntu Version(s): 8.04


This page is dedicated to LTSP autologin/guest login features. There are currently two scenarios: 1) You want to be able to turn on a thin-client and have it boot directly to a desktop, with no user intervention (Autologin) 2) You want to be able to turn on a thin-client and have it boot to a login screen, with the click-able option to login as a guest (Guest login) We will describe how to accomplish these tasks below.


1) Autologin

  • Create/Edit your lts.conf file with specific thin-client sections (IP/MAC/Hostname) and the following options, shown below as an example. Please note that you must modify the example to fit your specific network and server/user settings. Obviously, make sure the users and passwords listed exist on the server.

lts.conf:

[Default]
LDM_AUTOLOGIN = True

[192.168.1.101]
LDM_USERNAME = user1
LDM_PASSWORD = password1

[192.168.1.102]
LDM_USERNAME = user2
LDM_PASSWORD = password2

...

NOTE: If no "LDM_USERNAME" / "LDM_PASSWORD" is given per thin-client, it defaults to the hostname of the thin-client. 2) Guest Login

  • Create/Edit your lts.conf file with specific thin-client sections (IP/MAC/Hostname) and the following options, shown below as an example. Please note that you must modify the example to fit your specific network and server/user settings. Obviously, make sure the users and passwords listed exist on the server.

lts.conf:

[Default]
LDM_ALLOW_GUEST = True

[192.168.1.101]
LDM_USERNAME = user1
LDM_PASSWORD = password1

[192.168.1.102]
LDM_USERNAME = user2
LDM_PASSWORD = password2

...

NOTE: If no "LDM_USERNAME" / "LDM_PASSWORD" is given per thin-client, it defaults to the hostname of the thin-client.


This should be all you need to get autologin/guest login features going under Ubuntu LTSP. NOTE: It is said that "LDM_ALLOW_GUEST" is superceded by "LDM_GUESTLOGIN", although my testing shows that "LDM_GUESTLOGIN" doesn't work in Ubuntu 8.04.1 (as of 2008/10/21). This might change in the future, so if "LDM_ALLOW_GUEST" doesn't work, try "LDM_GUESTLOGIN" instead.