LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2009, 09:43 PM   #1
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
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...

Last edited by waffe; 07-21-2009 at 01:26 AM.
 
Old 07-21-2009, 03:18 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed Ubuntu Alternate AMD64 log on and get send straight back to login screen?! andibrosig Linux - Newbie 6 10-20-2008 03:53 AM
Auto-login (KDE) - will not auto-login without monitor attached Mithrilhall Linux - General 2 03-04-2008 10:16 AM
Mandriva 2008 immediately switches back to WEP instead of WPA H4N5 Linux - Wireless Networking 2 02-29-2008 01:44 PM
How to configure auto login & after login auto startup some program. hocheetiong Linux - Newbie 1 02-18-2008 12:49 AM
KDE logs in then immediately back to login screen lelava Linux - Software 1 06-27-2006 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration