PDA

View Full Version : Password protection and forced graphical login



jmrizz
01-29-2003, 07:10 PM
I am really happy with my customization but now am blocked: I have to enable kdm or xdm to control the access.
It works in chrooted environment but not on the burned image.
Tried to launch kdm in /etc/init.d/xsession (after X is started) but with no success (nor with xdm)
Any help by you gurus would be really appreciated.

Knoppix is GREAT !

Alextreme
01-29-2003, 09:11 PM
don't you have to start *dm instead of starting X?

jmrizz
01-30-2003, 09:10 AM
I thought about this but what about the detection of the accurate X server ?
I think I also have to play with pam config but I am a little bit lost ....

Alextreme
01-30-2003, 12:33 PM
imho it isn't a big problem, just change XFree86 in kdm in xsession. you may have to remove some of the parameters though. Detection isnt done in xsession, it copies XF86Config-4 to /etc/X11/ in knoppix-autoconfig

jmrizz
01-30-2003, 05:51 PM
Ok but it seems that there's some (re)probing in xsession.
I can't figure where I should start *dm and how the process could go on after (but it must also be because of my lack of knowledge in Linux)

pachox
01-31-2003, 05:21 PM
simply put /etc/init.d/xdm start in your inittab.
then be sure to copy /etc/X11/XF86config-4 to your chrooted X11.
it works fine, i did some days ago
good luck