LDM screen not started by default
Bug #687296 reported by
Wim Muskee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Low
|
Unassigned |
Bug Description
On Gentoo by default, the client stays on vt1 after startup. Only after switching to vt7 (ALT F7), the ldm login screen starts up and a user can login normally.
One workaround is the specify SCREEN_01 = ldm in the lts.conf
Another by Horst Prote (http://
To determine the initial active screen after boot I added
to my lts.conf and changed /usr/share/
while [ ${SCREEN_NUM} -ne ${START_SCREEN} ] && \
[ $(fgconsole) -ne ${SCREEN_NUM} ]; do
sleep 2
done
Changed in ltsp: | |
status: | New → Fix Committed |
Changed in ltsp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On Wed, Dec 08, 2010 at 12:33:28PM -0000, Wim Muskee wrote:
> On Gentoo by default, the client stays on vt1 after startup. Only after
> switching to vt7 (ALT F7), the ldm login screen starts up and a user can
> login normally.
i think gentoo uses it's own init script (or something sort of like an init client/ initscripts/ ltsp-core:
script), but there's code to handle the switching in
ltsp-trunk/
if [ -z "${SCREEN_DEFAULT}" ]; then
eval num=\$SCREEN_ $screen DEFAULT= $screen
for screen in 01 02 03 04 05 06 07 08 09 10 11 12; do
[ -n "$num" ] && SCREEN_
done
fi
# Find current tty, and if it is not the same as SCREEN_DEFAULT, chvt
if [ -n "${SCREEN_DEFAULT}" ] && [ $(fgconsole) -ne ${SCREEN_DEFAULT} ]; then
chvt ${SCREEN_DEFAULT}
fi
you'll need to add similar code to one of the scripts in client/ initscripts/ Gentoo/
ltsp-trunk/
if possible, make it into a function that can be included in client/ initscripts/ ltsp-init- common, an then used by multiple
ltsp-trunk/
distros.
live well,
vagrant