automatické přihlášení

Luděk Šafář ludek.safar na suse.cz
Středa Únor 4 16:38:27 CET 2004


V St, 04. 02. 2004 v 15:37, Jan Nemsak píše:
> Myslim ze v kdm ide nastavit automaticke prihlasenie na niektoreho
> uzivatela a pustenie oo impress sa da prinajhorsom zabezpecit v

ano, viz /opt/kde3/share/config/kdm/kdmrc:

# Core config for 1st local display
[X-:0-Core]
# Enable automatic login on this display. USE WITH EXTREME CARE!
# Default is false
#AutoLoginEnable=true
# The user to log in automatically. NEVER specify root!
#AutoLoginUser=fred
# The password for the user to log in automatically. This is NOT required
# unless the user is to be logged into a NIS or Kerberos domain. If you use
# it, you should "chmod 600 kdmrc" for obvious reasons.
#AutoLoginPass=secret!
# The session for the user to log in automatically. This becomes useless after
# the user's first login, as the last used session will take precedence.
#AutoLoginSession=kde
# If "true", the auto-login is truly automatic, i.e., the user is logged in
# when KDM comes up. If "false", the auto-login must be initiated by crashing
# the X-server with Alt-Ctrl-BackSpace. Default is true
#AutoLogin1st=false

> startkde(urcite to ide spravit aj niekde inde).
Mám dojem, že možná ~/.xinitrc ?

> alebo zlozitejsi sposob:
> do /etc/rc.d/rc.local dat 
> X :1 -ac&
> su <user> -c 'bash -c "export DISPLAY=:1 && startkde && ooimpress"'

-- 
Ludek Safar
SuSE CR



Další informace o konferenci Linux