LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-14-2003, 08:00 AM   #1
DLM
LQ Newbie
 
Registered: Dec 2003
Posts: 15

Rep: Reputation: 0
Logon screen, Users & Passwords.


hello, I've just installed slackware so I'm still finding my way around, I did the full 2 disk install with all the suggested packets. When I boot, at the logon console prompt I just type root and hit enter, (I haven't set a password yet), if I then type "startx" I'm taken straight to the KDE desktop, so I need to do a few things,

set a password for root
add a user account and password for user
make slackware start at the KDE logon screen automatically (not the desktop)
enable the various startup options ie- (different window managers etc) at the KDE logon screen

I've no clue what the commands should be so thanks for any advice.
 
Old 12-14-2003, 09:47 AM   #2
thewizard20
Member
 
Registered: Sep 2003
Location: ny
Distribution: slackware 9.1
Posts: 73

Rep: Reputation: 15
to add a user type adduser name of user then answer the questions
type passwd to set up the root password
 
Old 12-14-2003, 09:51 AM   #3
thewizard20
Member
 
Registered: Sep 2003
Location: ny
Distribution: slackware 9.1
Posts: 73

Rep: Reputation: 15
go to /ect/innitab change to run level 4 that will bring up the login screen and if click on sessions that will give you the opption of wm you want to log into
 
Old 12-14-2003, 11:50 AM   #4
DLM
LQ Newbie
 
Registered: Dec 2003
Posts: 15

Original Poster
Rep: Reputation: 0
I've added the new acconts/ passwords .... thanks.

Regarding the logon screen, I edited the /etc/inittab to default 4
but slackware still takes me directly to the KDE Desktop,

What I would like to happen is to boot slackware and it goes directly to
the KDE logon box where root and any other users can logon and select which
windows manager to use. (ie not at the slackware console prompt)

What happens at the moment is I boot, I'm taken to a slackware console to
logon,then I have to type "startx", then Im taken directly into the
KDE desktop there are no options to select different window managers,
no options to reboot or shutdown,and no options to select a different user
here's my /etc/inittab ....any advice is appreciated, thanks.

=============================

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails.
pf:owerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg:owerokwait:/sbin/genpowerfail stop

# These are the standard console login getties in multiuser mode:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# Local serial lines:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100

# Dialup lines:
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

# Runlevel 4 used to be for an X window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something
# happens to X.
x1:4:wait:/etc/rc.d/rc.4

# End of /etc/inittab

================================================
 
Old 12-14-2003, 12:23 PM   #5
thewizard20
Member
 
Registered: Sep 2003
Location: ny
Distribution: slackware 9.1
Posts: 73

Rep: Reputation: 15
with that runlevel when u boot up ur system it should bring you to a login screen. im not sure why it would boot up to login screen once you change the runlevel. im still learning. if you want to switch user after you do start x and get into kde logout that should bring you to the login screen.
were you can login as different user and change wm. sorry i couldnt be more help but maybe
someone with more experince in this could give more information on how to fix this problem
 
Old 12-14-2003, 01:19 PM   #6
DLM
LQ Newbie
 
Registered: Dec 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks I'm getting there slowly, now it's coming up (I didn't reboot after editing the inittab file), but it's the Gnome logon screen not the KDE screen which I chose as the default when installing, so now it's just a matter of getting the KDE screen to come up, thanks again for your advice.
 
Old 12-14-2003, 01:59 PM   #7
thewizard20
Member
 
Registered: Sep 2003
Location: ny
Distribution: slackware 9.1
Posts: 73

Rep: Reputation: 15
i found on this forum it states to goto /etc/rc.d/rc.4 and put the kdm before the gdm and that will give you the log in screen that you want
 
Old 12-14-2003, 03:06 PM   #8
DLM
LQ Newbie
 
Registered: Dec 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you wizzard! it's working great now, yes that was the correct solution, to change the order in /etc/rc.d/rc.4
 
  


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
Default passwords for users paddyjoy Linux - Security 7 11-17-2005 04:30 AM
remove passwords from all users? paul_mat Linux - Networking 2 06-23-2005 06:59 PM
Users & passwords in shared /home partition mikieboy Linux - Newbie 1 02-24-2005 07:26 PM
Cant set passwords for new users ribbones Linux - Newbie 2 09-03-2003 11:52 AM
Help with users and passwords???? graystarr Linux - Software 3 04-21-2003 10:40 AM

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

All times are GMT -5. The time now is 04:02 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