LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2014, 09:12 AM   #1
pansinghtomar
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
Question please help with login problem in slackware.


i am completely new to slackware. I find it a beautiful platform to learn. So, I think here comes my time for first lesson. After installation I logged in by adduser command with a username and password. After first session went alright today i logged in I was again presented with the non graphical interface at bootup. I again used the adduser command and used the user name same as in the first session. Access denied saying that user exists. I entered as another user. In the third session I didnot used the adduser command and simply enterd with startx command. And in this case I an not able to view the files i created during my first login. So, My question is how to login to slackware using an existing username?????Or, every time we have to create a new username(seems unlikely).Please help
 
Old 03-03-2014, 09:48 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
At the prompt, type in your user name. You should be prompted for a password. Enter that and hit the Enter key. Then type startx.
Or you can change the runlevel from 3 to r in the /etc/inittab file to boot to gui.
 
Old 03-03-2014, 09:55 AM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
First, this question should probably be moved to the Slackware forum.

Second, if you created, as root, a user name and password and saved it, you should be name to sign on to that user name.

Is your computer booting to the command line? If so, when it asks you to log in, simply do so. Enter your user name, hit enter. When prompted for the password, type in the password for that user name and hit the enter key. That should do it.

If you signed in as root, log out, then log in under your user name.

BTW, for security reasons, one user cannot see the files of another user, but root can.

Did you install Slackware from a DVD? The entire process of creating a user name is outlined in the Slackware Linux Installation HOWTO, which is on the CD and DVD and
there is information on the procedure here,

http://docs.slackware.com/slackbook:users

Last edited by cwizardone; 03-03-2014 at 09:57 AM.
 
Old 03-03-2014, 10:42 AM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Once you boot in slackware you get a non graphical (Terminal) loggin.
Type the username you created hit enter then type your password once you have logged in as user type
Code:
startx
There are ways to have slackware boot into the graphical interface

Quote:
Graphical Login
To start with a graphical login screen on boot instead of Slackware's default console login, change the default runlevel to 4. Edit the file /etc/inittab and change the line that looks like

Code:
id:3:initdefault:
to

Code:
id:4:initdefault:
Note the difference from other Linux distributions; many of those use runlevel 5 for their graphical login. In Slackware, runlevel 5 is identical to runlevel 3 (console boot).

In the graphical runlevel, you will be greeted by one of the available display (login session) managers. Slackware will by default look for the availability of GDM (Gnome Display Manager), KDM (KDE Display Manager) and XDM (X Display Manager) - in that order. You can also install a third-party login manager like SliM but you will have to edit /etc/rc.d/rc.4 and add a call to your new session manager all the way at the top.

Last edited by TroN-0074; 03-03-2014 at 10:45 AM.
 
  


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
[SOLVED] Trying to set up a "clean" chroot login at console in Slackware - can't login Eldarby Slackware 4 07-28-2013 09:35 AM
[SOLVED] SSH login problem for additional users after password-less login setup uncle-c Linux - Newbie 3 02-10-2010 12:51 PM
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 02:21 PM
slackware login problem - starts wrong GUI darksmiley Slackware 17 10-10-2004 04:37 PM
slackware 8.0 login problem ronss Linux - Software 1 04-07-2002 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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