LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2010, 09:46 AM   #1
azeri
LQ Newbie
 
Registered: Jun 2010
Location: Germany
Distribution: Slackware 13.1
Posts: 5

Rep: Reputation: 0
set default user and/or password in console login, automate startx


Hello. I use Slackware 13.0.

- is there a way to set the default user in console login so that all needed is to press enter(or event without it) to be able to input the password for that user

- also is it possible to console login without password, by just inputting user name and pressing enter

- how to put startx for that user right on login, so that the user doesn't input the command manually

Thanks in advance!
 
Old 06-23-2010, 10:42 AM   #2
AlvaroG
Member
 
Registered: Jul 2009
Location: Canelones, Uruguay
Distribution: Slackware
Posts: 147

Rep: Reputation: 43
Why bother with console login if you anyway want to automatically startx? Why don't you try setting 4 as the default runlevel and then use KDM to autologin?
Honest question, I'd like to know if what you want is possible :-)


Regards.
 
Old 06-23-2010, 12:45 PM   #3
Fidori
LQ Newbie
 
Registered: Oct 2007
Location: Finland
Distribution: Slackware
Posts: 27

Rep: Reputation: 17
You can simply put this at the end of /etc/rc.d/rc.local:
Code:
su - username -c startx
Where username is the user you want to login as.
 
1 members found this post helpful.
Old 06-24-2010, 06:55 AM   #4
azeri
LQ Newbie
 
Registered: Jun 2010
Location: Germany
Distribution: Slackware 13.1
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you for your replies. Yes, the auto "startx" works now.
Also another question, if I change to GUI login, then my keyboard layout becomes English although once I login I get to see my previously set layouts(RU/DE). How can I change this behavior to have these layouts on GUI login and not the default English one? Thank you.
 
Old 06-25-2010, 10:47 AM   #5
azeri
LQ Newbie
 
Registered: Jun 2010
Location: Germany
Distribution: Slackware 13.1
Posts: 5

Original Poster
Rep: Reputation: 0
Does anyone know the answer to this 1000000000$ question of how to change the default kb layout in GUI login?
 
Old 06-25-2010, 11:12 AM   #6
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
If you are not using english keyboard layout, there are two alternative ways of fixing this. Both are described in CHANGES_AND_HINTS.TXT on your slackware image/dvd.
 
Old 06-25-2010, 11:13 AM   #7
AlvaroG
Member
 
Registered: Jul 2009
Location: Canelones, Uruguay
Distribution: Slackware
Posts: 147

Rep: Reputation: 43
You'll have to edit the keyboard settings for HAL, and restart the hal daemon
Follow the instructions on this thread: http://www.linuxquestions.org/questi...13-0-a-751252/


Regards
 
1 members found this post helpful.
  


Reply



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
Can a user login without having a password set? kinetik Linux - General 6 07-25-2009 01:17 PM
How to set login and password and root password in suse 10.2 sirius57 SUSE / openSUSE 8 07-24-2007 09:51 AM
How to login if I didnt set a root password and no user? lonecrow Linux - Newbie 7 05-14-2006 07:56 PM
kybd input suddenly not working after login; OK if 'startx' from console OpenMacNews SUSE / openSUSE 7 02-10-2005 12:41 PM
to set tty3 as default console D. Marowa Linux - General 4 03-24-2004 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:49 PM.

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