On Sat, 2006-02-25 at 14:08 +0200, Andre Truter wrote:
On 2/25/06, Mike McMullin
wrote: Well there are ac couple of places that you could have looked. I suggest that you fire up YAST choose the Security and Users Tab, and select User Management. Look under Expert Options. Somewhere under there you will find the options to auto-login a user and to passwordless-login a user.
I have looked in YaST under Users. There are no autologin settings anywhere at any of the tools available in the 'Security and Users' Tab.
I fired up my 9.1 server for this. YAST-->Security and Users-->Edit and create users. Expert Options drop down Menu. Login settings. My screen shows KDM login settings and allows for teh auto-login and passwordless login of a selected user.
I also grepped through all the files under /etc/sysconfig for autologin and found nothing.
The machine is running SUSE 9.3
If you happen to be using KDE as your gui,
then try it's Control Center, System Administration, and look for Login Manager, and the Convenience tab, you'll need your root password to make changes.
I can get it to work if I use a KDE environement, but I am not. This is a Freevo box, not KDE or TMW, or whatever. I don't even have KDE or GNOME installed, only gdm.
I cannot tell you what YAST might have for GDM on that screen.
I do not use a Window manager or Desktop environment. When the user logs in (and only one user) the X server is started. Once the X server is up, Freevo is started. The machine should not have a keyboard or mouse, it only has a remote control unit (Like a TV or VCR has)
The intention is to set up the machine as a utility. You boot the machine and after a while Freevo appears on your TV. The user should not even be aware that it is actaully a computer running Linux. To the user it should be a very nifty VCR/DVD Player/music player.
I have everything working, except that when X starts up, it asks for the password.
It seems that SUSE have some additional stuff or a custom gdm that asks for the password, because the Ubuntu version of gdm does not do that.
Or that at install time the default might be different. I know that you can set up SuSE to do an automatic passwordless login during the point where you set up the users.
I don't want to use KDM, as I don't want to install the KDE framwork also. Freevo already require a basic GNOME framwork (Not the full desktop, just a number of libraries and utilites). So, adding GDM is just one additional package.
Freevo has a nice way of doing it witout any login managers at all. They use mingetty with the --autologin option. This will login a user at runlevel 3 into a tty. Then you just set startx in the user's bashrc file and as soon as the user logs in, it starts X and then Freevo. This is nice a lean, but unfortunately SUSE's mingetty does not support the autologin option. (I think most modern distro's have disabled that due to security reasons)
Have you looked at /etc/sysconfig/displaymanager? Look towards the bottom of the files for DISPLAYMANAGER_AUTOLOGIN="" and DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no" I think that what you need is for the top on to say "freevo" and the bottom one to say "yes"