How to force login
How can I force a user login in to the console and open automatically the xinit and rdesktop and after he close rdesktop go back to the login screen
I know this can be done using passwd but I donīt know how Can anyone help!! |
why wouldn't you use kdm / gdm / xdm ? grafics login screen adn when user logs out, the grafics login screen comes up again! change the default runlevel to the grafics (mostly 4) in the /etc/inittab
greetz, iluvatar |
The machines are slow and runing just xinit is much faster then run kdm
|
you could put this in the users ~/.profile or ~/.bashrc (depending on the shell used):
# start ~/.profile startx (or whatever you do to start the enviroment) logout # end ~/.profile this will start the X server and after logging out of X, the user will be logged out. greetz, -= iluvatar =- |
All times are GMT -5. The time now is 09:17 PM. |