LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-30-2016, 02:39 AM   #1
LilyPebbs
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
Question Unable to login after 16.4 instalation


I can't access my laptop (Dell 10) after Ubuntu 16.04 installation as I forgot my login. I know my password as use it everytime I open my laptop but login I used perhaps only to set up my computer 5 years ago. My question is how to retrieve login or how to bypass it?
Thanks
 
Old 07-30-2016, 05:28 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
You can use your Ubuntu installation disk as a rescue disc. Boot from it, mount your hard drive on /mnt and type
Code:
cat /mnt/etc/passwd
You will see your login name in the passwd file.

Have you really not logged in for five years? How the heck did you manage that?

Last edited by hazel; 07-30-2016 at 05:32 AM. Reason: corrected error
 
Old 07-30-2016, 05:31 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
cat suits the job better than ls.
 
Old 07-30-2016, 05:40 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by Emerson View Post
cat suits the job better than ls.
Yeah, I noticed that a couple of minutes later. I've corrected the error.
 
Old 07-30-2016, 06:36 AM   #5
LilyPebbs
LQ Newbie
 
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
i do not have installation disc, as i bought my laptop with ubuntu installed. it was my first time to use linux so i was confused.

i do login every time i open my laptop, but it ask me only password. not login
what i can not remember is my login name. password i used when upgrading settings, and similar. never been asked for my user name
 
Old 07-30-2016, 06:49 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Follow these instructions, do first 7 points, do not proceed with 8. When at prompt type
Code:
ls /home
You should see all home directories for users, named after their login name. If you never added any users there will be just one.
 
Old 07-30-2016, 06:59 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Ah yes! I'd forgotten that Mint does that. It's a good example of how something that is supposed to make life easier for the user ends up just causing more aggro. It also illustrates an important point: you must always have an alternative way of booting your system. In most cases, the installation disc serves that purpose, but you don't have one so you need to create a rescue disk.

Take a cd to a friend's house. He doesn't have to be a Linux user; Windows is quite OK for this job. Go to the SystemRescue website. Download and burn the SystemRescue image. Keep it for emergencies. It's a special distro full of tools for fixing problems and I swear by it.

PS: I've just seen Emerson's post. Follow his advice but make a rescue disc all the same. It's something everyone should have.

Last edited by hazel; 07-30-2016 at 07:01 AM.
 
Old 07-30-2016, 12:18 PM   #8
LilyPebbs
LQ Newbie
 
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
now i found my login, but look like did configure display wrongly, so it still show only terminal where i got welcome screen

i don't know how to start ubuntu? what command to write? or should i still go to wiki instructions?
 
Old 07-30-2016, 01:15 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
If you are still at command prompt just execute reboot command and your PC should boot normally.
 
Old 07-30-2016, 01:53 PM   #10
LilyPebbs
LQ Newbie
 
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
i followed it all, it has two names as my nephew used it few times. after that i reboot ir, and now ubuntu started but it got back to terminal, asking again for my login that i know now... as many tie as i tried to get out of it, it always repeat same.
i need a command to get out of terminal and start system normally, please.
 
Old 07-30-2016, 02:04 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Everything you did following the wiki was temporary, next boot should have been back to normal. You say when you power off your PC and turn it back on it goes to console login without GUI?
 
Old 07-30-2016, 02:11 PM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Try typing startx after logging in.
 
Old 07-30-2016, 03:17 PM   #13
LilyPebbs
LQ Newbie
 
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
after command startx system started. now i have next problem that is too big picture for screen i have (dell inspirion mini) so i can't access commands, wifi button, etc. my wifi is off after instaling new version of ubuntu and i can not instal component that was not installed correctly in a first place.
i need to shrink picture to fit into display. any idea how? or to start wifi
 
Old 07-30-2016, 03:35 PM   #14
LilyPebbs
LQ Newbie
 
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
also, every time i restart computer, as soon as ubuntu starts it goes into console login; needs startx to start

i found the way to access settings, but when i get into network, getting this message: Oops, something went wrong. Please contact software vendor
network manager needs to be running

when i tried display: could not get screen information
 
Old 07-30-2016, 05:51 PM   #15
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
All this is happening after you installed Ubuntu 16.04 over previous Ubuntu installation?
 
  


Reply

Tags
bypass, login, retrieve, ubuntu 16.04



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
CentOS 7 - users unable to login, root can login to GUI triley555 Linux - Newbie 5 02-04-2016 08:33 PM
Ubuntu/AD/KRB5/LDAP/NIS able to use domain user login with putty, unable in gui login Nitroglycerine Linux - Server 0 06-28-2012 04:17 AM
unable login via GUI but can login via Putty (command line) linuxandtsm Linux - Newbie 10 06-09-2011 02:08 PM
unable to mount cdrom during instalation zaetnick Linux - Hardware 3 08-18-2008 03:20 PM
red hat new instalation is asking for login\password, larz Linux - Newbie 3 08-31-2006 07:30 AM

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

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