Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi; I'm a bit lost here; sorry about #3, where I was thinking boot/grub!
#2 Ctrl+Alt+F1 probably 'got you to' tty1
You can check with: tty (CLI/shell/terminal command). Does it say: /dev/tty1?
Alt+F7 'should' get back the 'pretty' screen in #5 picture!
(or doubtfully F8; Alt+F2 should get a tty2 login: )
In #5, did you get a "console" via #2, and -who- did you login as?
(I assume it needed a password, --or-- did it NOT?)
Back at the #5 GUI, did any USERname work? Yours? Try:
id; w; who; whoami; tail /etc/passwd | grep -v /bin/false
#5 picture shows X/GUI/desktop/windows/... running. Check for 5 via cmd:
runlevel
You can 'look under the hood' at what ALL is running with like: ps afx|grep -v ]
(the |grep -v ] excludes the [irrelevant] 'kernel threads'; f adds formatting)
You should see a bunch of GUI-related stuff, but I won't try to detail the 100pieces!
Sidenote: for a one# summary, you can get a line-count by appending: |wc -l
Btw, I would NOT 'jump' from #5pic to #15gone conclusion!
A couple things I'm wondering about:
What -exactly- was the output/result from: startx
? (see `ps` above) Optionally, try: echo $PATH
You can list all installed pkgs with: dpkg --list
but I'm not sure what to |grep for, to find DesktopEnv=GUI stuff.
Before the upgrade, you must have had a username (tho -formerly- it auto-logged-into DE)
In the -original install- long ago, you probably gave that username a password but forgot.
(Ubu user 'root'/UID 0 doesn't have a password! sudo is used; head -1 /etc/shadow shows root:!: or *)
The #11 (# meaning root shell prompt) command would be:
passwd yourORthatORIGuserNAMEwhatEVERitWAS
(IF you are root, # passwd <ENTER> would set a root password, -irrelevant- to all this!)
When/why were you in "Recovery Mode"? What did you mean by: "failed" ?
Anyway, more 'status' info will bring clarity. Best wishes! Let us know (for future readers!)
Hi; I'm a bit lost here; sorry about #3, where I was thinking boot/grub!
#2 Ctrl+Alt+F1 probably 'got you to' tty1
You can check with: tty (CLI/shell/terminal command). Does it say: /dev/tty1?
Alt+F7 'should' get back the 'pretty' screen in #5 picture!
(or doubtfully F8; Alt+F2 should get a tty2 login: )
In #5, did you get a "console" via #2, and -who- did you login as?
(I assume it needed a password, or did it NOT?)
Back at the #5 GUI, did any USERname work? Yours? Try:
id; w; who; whoami; tail /etc/passwd
#5 picture shows X/GUI/desktop/windows/... running. Check for 5 via cmd:
runlevel
You can 'look under the hood' at what ALL is running with like: ps afx|grep -v ]
(the |grep -v ] excludes the [irrelevant] 'kernel threads'; f adds formatting)
You should see a bunch of GUI-related stuff, but I won't try to detail the 100pieces!
Sidenote: for a one# summary, you can get a line-count by appending: |wc -l
Btw, I would NOT 'jump' from #5pic to #15gone conclusion!
A couple things I'm wondering about:
What -exactly- was the output/result from: startx
? (see `ps` above) Optionally, try: echo $PATH
You can list all installed pkgs with: dpkg --list
but I'm not sure what to |grep for, to find DesktopEnv=GUI stuff.
Before the upgrade, you must have had a username (tho -formerly- it auto-logged-into DE)
In the -original install- long ago, you probably gave that username a password but forgot.
(Ubu user 'root'/UID 0 doesn't have a password! sudo is used; head -1 /etc/shadow shows root:!: or *)
The #11 (# meaning root shell prompt) command would be:
passwd yourORthatORIGuserNAMEwhatEVERitWAS
(IF you are root, # passwd <ENTER> would set a root password, -irrelevant- to all this!)
When/why were you in "Recovery Mode"? What did you mean by: "failed" ?
Anyway, more 'status' info will bring clarity. Best wishes! Let us know (for future readers!)
Ah! That was FAST! THANKS! +2 All [of 'my'] CLIworld looks FINE!
#17 says gnome (but I know very little about GUI/X, sorry)
Does Alt+F7 get #5GUI back? (probably not -right- now: X exited[I guess])
Does a [sudo] reboot get #5GUIpicture back (when it finishes booting)?
THEN, Is it 'frozen dead'? Or ...? MAYBE `cat`/examine that X .log
To clarify, can you get back to the screenshot you posted in #5?
IF so, what exactly happens when you try things on that GUI login screen?
Ah! That was FAST! THANKS! +2 All [of 'my'] CLIworld looks FINE!
#17 says gnome (but I know very little about GUI/X, sorry)
Does Alt+F7 get #5GUI back? (probably not -right- now: X exited[I guess])
Does a [sudo] reboot get #5GUIpicture back (when it finishes booting)?
THEN, Is it 'frozen dead'? Or ...? MAYBE `cat`/examine that X .log
To clarify, can you get back to the screenshot you posted in #5?
IF so, what exactly happens when you try things on that GUI login screen?
When I enter alt f7 it says a few lines and then just stalls. See attachment
Hi again fellow2w. I'm so very sorry that I don't 'do' "GUI" (only OLD netbook for CLI).
That Alt+F7 post looks like a 'log' screen... Try Alt+F8 (unlikely but... Also, +F2-F9!)
Because I don't have the resources to run a Linux GUI, I'm not sure what you mean by:
"rebooted and it asks me for my credentials. But it won't allow me to enter my credentials; when I enter my username [HOW/WHERE?] it doesn't come up on the screen"
Do you mean that you get the 'picture' you posted in #5? IF so, Then [I feel] there's 'hope'!
(maybe you can write/explain in more detail about what happens on that #5 GUIlogin)
Maybe your ?upgrade? got confused by your auto-login/no-password GUI settings[??] Here's a LONG article about 'fixing/cleaning' Ubu broken pkgs, to MAYBE TRY (or...)
In your later pictures, I'm guessing after the Ctrl+Alt+F1, you seem to CLIlogin OK (max/<pwd>), yes?
Will you 'loose a lot' by reinstalling? IF you want to 'keep trying to fix it', maybe a UbuntuGUI LQ'er will 'visit' this Thread
Here's some 'stuff' from my Mint18.1 .iso (as ideas to -TRY-)
TRY just the first 2 (there's tons of ps/pgrep/pstree option switches!)
Code:
pstree -acuSslg `pgrep -t tty7`
NOTE: those are backticks, key to LEFT of 1, UNshifted ~, NOT quotes!
egrep -w 'EE|\?\?' /var/log/Xorg.0.log
NOTE: I think your log file (in #18 startx .local/...) is elsewhere per your pic!
AND be precise with the uppercase, single-quoting, two backslash questionmarks!
-My- 'idea' is to: find the X process(es) and their tty# (&check log!)
&Again, SORRY! I'm just -learning- X (withOUT the 'resources' to run it)
if you can login cli - can you bring up your network/wifi? if yes.
have you tired removing whatever desktop you think you have installed on it, purge it get rid of everything - then reinstall it and cross your fingers hoping that the system will take care of setting it up properly so you can get a gui back, and or install xinit as well to get startx installed on it, then edit your .xinit file to start whatever you need ie. nm-applet & and a wm/de at the very lest to at least hopefully get something going?
try: if you have sudo as Ubuntututu (mo sucks for taking away root) but if you have sudo rights make a new user give him a password and try getting in by that user instead and see if that new users GUI works.
if you can then all you got a do is login root do some dir name changing moving files and such, if I had it here I'd just show you. but a new user might get you in at least. then go from there.
View Post
If I do a fresh install will I lose all my data?
if you do not have you system split then yep, if you have it split
Code:
/
/home
then you are good to go. just reinstall - set /home mount point and DO NOT format and bada bing you're in like flint. Else start backing up your stuff onto a different medium as you can log in cli all you got a do is get a external hdd USB blkid to see what to mount. then back it up first.
for this if you do not have you system split then yep, if you have it split
Code:
/
/home
then you are good to go. just reinstall - set /home mount point and DO NOT format and bada bing you're in like flint. Else start backing up your stuff onto a different medium as you can log in cli all you got a do is get a external hdd USB blkid to see what to mount. then back it up first.
Code:
cp -vr /home/userName /mountpoint
I might try recovery mode again. How exactly do I run in recovery mode?
I might try recovery mode again. How exactly do I run in recovery mode?
I have Luckily have never had to deal with that mode. So I have no idea. did you try that other stuff first in regular multiuser mode yet? if you can login cli on multiuser mode then you can just copy your home onto a external hdd. if all else fails. Or wait and see what someone else says on recovery mode --
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.