LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-01-2016, 01:56 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Locked out of Debian OS


Ok. here it goes. I hope you'll understand this. short story.

I installed Debain/Bunsenlabs, it did not even ask me for a root password during install.
my user is not able to get into its login home directroy, slim longin then back to slim login.

How do I get into Debain via root without having given Debain a root password so I can add a different user to it in order to get into Debain?

example
switch tty to that black screen with a login prompt type root, then password then I am in as root. then I can do what root is intended for.
 
Old 11-01-2016, 02:04 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
It probably just set up sudo so try "sudo su --" and your normal password. Otherwise, since you're setting it up, perhaps try again and make note of any passwords carefully and of any issues.
 
Old 11-01-2016, 02:09 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by 273 View Post
It probably just set up sudo so try "sudo su --" and your normal password. Otherwise, since you're setting it up, perhaps try again and make note of any passwords carefully and of any issues.
thanks I'll give it a try
ok back
got in gave root a password logged in to root startx in a windows openbox with a browser and terminal so that is good.

slim much or maybe messed up not allowing me to log in a user because i actually gave myself a user first then tried to log in using that new user .. didn't even create a home directory, but that may have been becuse I used useradd and not adduser as they both have their they do, one creates everything whereas the other does not, but that is not an issue.


how to see what is wrong with that slim login manager????????

or strip it out and either use startx or a different login manager. three options.

it might even be lighDM I don't know...

Last edited by BW-userx; 11-01-2016 at 02:24 PM.
 
Old 11-01-2016, 02:31 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Code:
#systemctl disable lightdm.service

Synchronizing state for lightdm.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d lightdm defaults
insserv: warning: current start runlevel(s) (empty) of script `lightdm' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `lightdm' overrides LSB defaults (0 1 6).
Executing /usr/sbin/update-rc.d lightdm disable
insserv: warning: current start runlevel(s) (empty) of script `lightdm' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `lightdm' overrides LSB defaults (0 1 6).
reboot it came back . didn't stop it from working.

I removed lightDM but now how do I get back to startx?

xinit I think let me check ... got something esle / idea let me know. thanks whoever

Last edited by BW-userx; 11-01-2016 at 02:46 PM.
 
Old 11-01-2016, 02:54 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Ok then I think I am done here.
thanks for all of your help ....
 
Old 11-01-2016, 03:04 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
bunsenlabs sucks, it does not even have auto mount setup in user yet... LOL what?
mounted it manually and still have to navegate to my external hdd via filemanager filesystem to media/hd1 which I added that directory,,, just saying...
 
  


Reply

Tags
root login


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
[SOLVED] Updated glibc in Debian squeeze, now locked out davama Linux - Software 2 03-25-2014 03:35 PM
Debian Locked up jag2000 Debian 4 08-11-2007 11:56 AM
nVidia drivers on debian XF86Config-4 locked?? DebianDummy Linux - Hardware 1 01-23-2007 01:55 PM
locked out kwickcut Mandriva 6 11-14-2005 10:09 PM
Locked out of RH 9 carmoda Linux - Security 3 12-16-2003 09:44 AM

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

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