LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Exit Fluxbox and Immediately Log Back In (auto login) (https://www.linuxquestions.org/questions/linux-software-2/exit-fluxbox-and-immediately-log-back-in-auto-login-741549/)

waffe 07-20-2009 09:43 PM

Exit Fluxbox and Immediately Log Back In (auto login)
 
Hi,

when I restart my computer(ubuntu 9.04) the auto login takes me straight into Fluxbox. When I use the Exit command from the fluxbox menu I exit Fluxbox and I'm asked for a username/password. Is there a way to log me straight back in? The reason why is it would work as a refresh button; because when I use restart from the Fluxbox menu, it works, but it kills my nm-applet icon and I would like to sometimes reload a different .asoundrc file.

So is there a way never to be asked for a User/Pass and always login as a specific user?

Thanks,
waffe

Edit**

How about

Code:

/etc/init.d/gdm restart
it works but how can I let a none admin(sudo) run this command?

I would rather not give this account admin rights. I tried changing the chmod and chown but nothing worked.

waffe

***Edit
Does not work - I was able to exe gdm restart from the loged in user but gdm never restarts. Probably because the user that called the command is logged out and cannot call the restart command!? - lol

Any ideas...

Tinkster 07-21-2009 03:18 AM

Why not add a specific group for this purpose, and make
it a password-less sudo command? Just add the non-admin
user to this one group and you're away laughing.


Cheers,
Tink


All times are GMT -5. The time now is 11:26 AM.