LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-04-2017, 05:48 AM   #1
fellow2w
LQ Newbie
 
Registered: Jul 2009
Posts: 29

Rep: Reputation: 5
Question Unable to login to Ubuntu 16.04


Yesterday I installed some software updates and now today after rebooting I cannot login. I don't have passwords enabled but it still will not bring me to desktop when I click login. A black screen flashes up as well where it says / Dev/sda2: clean, xxxx files, xxxx blocks

Guest login doesn't work either.

Nothing's changed after numerous reboots as well.
 
Old 03-04-2017, 05:24 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Did you switch to the console yet? Try console one to...any other to see if the system gives some feedback...
Usually console one is the one to go for...the key stroke is
Quote:
Ctrl-Alt-F1
Good luck
Melissa
 
1 members found this post helpful.
Old 03-04-2017, 08:23 PM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
+1 #2 But -I- can't clearly picture what 'state' your Ubu is 'stuck in'

(fyi detail: Looks like 'grub' loaded kernel, which then started 'init', ok.)
Somewhere in the 'zillion' startup steps, it looks like `fsck` said something,
but -I- am not sure whether it was just saying a 'normal ok' ('I'm done my step')
OR (probably NOT) reporting an error/problem/stopping_things.

Then you say "blank screen", which is sometimes mistaken from a shell command prompt.
Does anything you type 'appear'? (IF not, did #2 get you to a command prompt?)
(IF still nothing, one -obscure- idea to try is: Ctrl+Alt+SysRq+s)

IF you can get a # or $ shell prompt, try 'info' commands like: runlevel; df /; ps ax|grep -v ]
IF not, look into 'booting rescue/single-user' concept (catch grub, e, arrow-down-to the
linux line, change [backspace] ro quiet splash vt... -TO-: rw init=/bin/sh THEN F10=ctrl+X)

Posting 'sreenshot'/image/picture of where it is 'stuck' might help here! Best Wishes...
 
Old 03-05-2017, 06:30 AM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
https://journalxtra.com/linux/beginn...e-linux-shell/
 
Old 03-05-2017, 06:30 AM   #5
fellow2w
LQ Newbie
 
Registered: Jul 2009
Posts: 29

Original Poster
Rep: Reputation: 5
I have been able to log in using console but what is the command that will bring me to desktop?

Also here is a photo of where I am stalled attached.
Attached Thumbnails
Click image for larger version

Name:	image.jpg
Views:	128
Size:	251.4 KB
ID:	24403  
 
1 members found this post helpful.
Old 03-05-2017, 06:36 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by fellow2w View Post
I have been able to log in using console but what is the command that will bring me to desktop?

Also here is a photo of where I am stalled attached.
In the cmd-line it's:
Code:
startx
Out of curiosity do you have a proprietary graphics driver installed?

A man in Debian Testing taught me this:
If a system won't boot to desktop it has to be xorg, the kernel or maybe a proprietary video driver most likely.
It could also be something in the init system (sysvinit, startup and systemd) but in testing it's xorg related.
Run a update, if that doesn't work try Recovery Mode and direct it to boot when it get's around to asking what you want.
Recovery Mode runs a few more corrective tools and may fix it on it's own.
If you can run the DE as root the problems is with your user not the system at large.

Last edited by Ztcoracat; 03-05-2017 at 06:38 AM.
 
Old 03-05-2017, 06:52 AM   #7
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
Also here is a photo of where I am stalled attached.
You're in X already. I guess the DE (XFCE, Gnome, or the like) fails somewhere...
Melissa
 
Old 03-05-2017, 07:29 AM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by ButterflyMelissa View Post
You're in X already. I guess the DE (XFCE, Gnome, or the like) fails somewhere...
Melissa
Yup-
Wouldn't be the first time I've seen an update break something.

When I was running pure Ubuntu everytime I would update my Ubuntu distro it would break the proprietary graphics driver or the fglrx driver and I had no gui.

Voyager which I'm running now that's based on Ubuntu and Xubuntu doesn't have that problem.

OP could always drop to a shell and create a password that might help.
OR install a new DE:-
 
1 members found this post helpful.
Old 03-05-2017, 10:17 AM   #9
fellow2w
LQ Newbie
 
Registered: Jul 2009
Posts: 29

Original Poster
Rep: Reputation: 5
Recovery mode failed to complete when I ran it.

By shell do you mean console?

Please let me know what the commands are to create a password
 
Old 03-05-2017, 10:19 AM   #10
fellow2w
LQ Newbie
 
Registered: Jul 2009
Posts: 29

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by Ztcoracat View Post
In the cmd-line it's:
Code:
startx
Out of curiosity do you have a proprietary graphics driver installed?

A man in Debian Testing taught me this:
If a system won't boot to desktop it has to be xorg, the kernel or maybe a proprietary video driver most likely.
It could also be something in the init system (sysvinit, startup and systemd) but in testing it's xorg related.
Run a update, if that doesn't work try Recovery Mode and direct it to boot when it get's around to asking what you want.
Recovery Mode runs a few more corrective tools and may fix it on it's own.
If you can run the DE as root the problems is with your user not the system at large.
I do not have a proprietary graphics driver installed

Startx command doesn't bring me to desktop, keeps me at command line

Last edited by fellow2w; 03-05-2017 at 10:31 AM.
 
Old 03-05-2017, 01:38 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by fellow2w View Post
Recovery mode failed to complete when I ran it.

By shell do you mean console?

Please let me know what the commands are to create a password
That's not good that Recovery Mode failed.
Yes, by shell I mean console or cmd-line terminal.

To create a password in console mode just type:
Code:
passwd
Enter the new password. The console will probably ask you to confirm it again.
If that doesn't work see the link I provided to add a new user.

Make sure you write the password down.

https://www.digitalocean.com/communi...n-ubuntu-16-04

Quote:
Startx command doesn't bring me to desktop, keeps me at command line
What DE are you using?
 
Old 03-06-2017, 05:12 AM   #12
fellow2w
LQ Newbie
 
Registered: Jul 2009
Posts: 29

Original Poster
Rep: Reputation: 5
I don't know what DE I am using, how do I find out?
 
1 members found this post helpful.
Old 03-06-2017, 05:43 AM   #13
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by fellow2w View Post
I don't know what DE I am using, how do I find out?
Run this in the terminal:

Code:
$DESKTOP_SESSION
 
Old 03-07-2017, 08:43 AM   #14
fellow2w
LQ Newbie
 
Registered: Jul 2009
Posts: 29

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by Ztcoracat View Post
Run this in the terminal:

Code:
$DESKTOP_SESSION
The terminal returns command not found
 
Old 03-07-2017, 09:53 AM   #15
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by fellow2w View Post
The terminal returns command not found
That would seem to indicate that there isn't a DE installed.
Perhaps the one you had got hosed.

Try these:
Code:
echo $DESKTOP_SESSION
Code:
ls /usr/bin/*session

If you still get 'cmd not found' it's a sure bet your DE is gone.
You can always install another DE. <OR> perform a fresh installation.

Which one (Gnome, KDE, XFCE, LXDE or Mate) would you like?
 
  


Reply

Tags
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
Unable to login to NIS client machine(Ubuntu) using NIS login user name crazymoonboy Linux - Server 10 05-08-2015 07:28 AM
[SOLVED] Unable to login to my Ubuntu 13.10 but can login to my Gnome Classic? herakles_14 Ubuntu 17 10-26-2013 04:24 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
Ubuntu 11.10 unable to login jgomezh4 Ubuntu 1 03-20-2012 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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