LinuxQuestions.org
Help answer threads with 0 replies.
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 09-14-2021, 11:05 AM   #1
CurrentWave
LQ Newbie
 
Registered: Sep 2020
Posts: 23

Rep: Reputation: Disabled
Cinnamon DE not loading after screen saver install


I'm lost... yesterday I installed xscreensaver, I had to remove my Cinnamon screen saver first. And today Cinnamon won't load. I'm guessing other important parts were removed? I need an app that prevents me from shooting my own foot!

I'm running Linux Mint 20.2 Cinnamon 4.?

I have managed to get to the root command line, and have tried apt-get install cinnamon-desktop-environment but that said failed.... could not resolve packages.linuxmint.com - same when using reinstall.

From here: root command line - I see where uninstall and reinstall are options... Can I uninstall xcreensaver (all it's parts) and reinstall Cinnamon screensaver? And if I can, and that would solve my problem, can someone give me the command line(s) to do this?

Also I tried apt-get --fix-broken and fix broken install - also no good. Same for using --fix-missing. I got errors for the -- '-' is not recognized or something. Since I do not know what I am typing I do not know what is making it mad. I am doing searches for other people's problems and trying what worked for them, which is not working for me.

I could not get to the bios - to disable secure boot so I could boot from my USB install drive. I will continue to work on doing that...

Any help is much appreciated ~ Thanks

Last edited by CurrentWave; 09-14-2021 at 11:24 AM.
 
Old 09-14-2021, 12:54 PM   #2
CurrentWave
LQ Newbie
 
Registered: Sep 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
So I, not knowing what to try next, did apt-get purge xscreensaver - and no errors for that, it did the purge, but still I see the unable to load cinnamon-session-cinnamon on boot, and now I cannot get back to root shell. No matter if I press ESC or Shift during boot I end up at the cinnamon session error screen, I do not even see the Linux Mint icon while booting any more.
when I click on ok on that session error I'm at a black screen with a pointer.

Is there a way to force the grub to load/show, or ?

I spent all this time trying to change bios to boot to USB, and I did, but this machine never recognized my USB port at the front, and I didn't want to try the others on the back. I'd rather do a reinstall of cinnamon from the root shell. My USB ios will just do a total reinstall - and not a live run. And even if I could do a live USB I do not know what to do from there....

Please help, thanks
 
Old 09-16-2021, 01:17 AM   #3
CurrentWave
LQ Newbie
 
Registered: Sep 2020
Posts: 23

Original Poster
Rep: Reputation: Disabled
Using Live USB to boot up and make repairs

I finally got a live iso that would boot my machine - Step 1

Next I found a solution on Linux Mint Forums that was very close to my problem, and so I made the changes for my situation and it worked like a charm!

Disclaimer: I'm so new to all of this that I mostly do not know what I did, but it worked

These are the steps I used to fix accidentally uninstalling Cinnamon Screen Saver - and breaking my Desktop Environment.


Code:
sudo -i     #this makes you the root user

root@mint ~ $ sudo blkid

sudo blkid  #this identifies the partition that linux is installed in on your machine.
            #/dev/sda2: UUID="8b84f2a1-4593-4961-a47f-9600ca07361a" TYPE="ext4" PARTUUID="498a7541-fc6a-40a7-9b61-6313f3a47555"
            #in my case it is sda2 - 


root@mint ~ $ mkdir /mnt/boot

root@mint ~ $ mount /dev/sda2 /mnt/boot   #Partition ID found by running sudo blkid 

root@mint ~ $ mount --rbind /dev /mnt/boot/dev

root@mint ~ $ mount --rbind /sys /mnt/boot/sys

root@mint ~ $ mount -t proc none /mnt/boot/proc

root@mint ~ $ /usr/sbin/chroot /mnt/boot /bin/bash

root@mint ~ $ echo "nameserver 8.8.8.8" >> /etc/resolv.conf

root@mint ~ $ source /etc/profile

root@mint ~ $ export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](system) #\[\e[0m\] "
            
    #I did manage to get root command line before when trying to change my Bios login order and I did the following  
    #purge xscreensaver, apt-get update, apt-get upgrade, apt-get autoremove - but I didn't get to installing Cinnamon before I exited.
    #If you don't know that your system is up to date, or if you have conflicting software - then use purge and use the apt-get commands to take care of that before going onto the last steps....

 @chroot ~ $ apt-get install --reinstall cinnamon

 @chroot ~ $ apt-get install --reinstall cinnamon-screensaver

 @chroot ~ $ apt-get install --reinstall mint-meta-cinnamon

 @chroot ~ $ exit   #to get back to root@mint ~ $

root@mint ~ $ sudo reboot
I hope this helps someone else.

It's a very good skill to learn how to repair one's system from a Live USB boot.
 
  


Reply


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
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
On-screen keyboard at login and screen saver/locker in linuxmint 17.2 cinnamon Tio Linux - Software 4 10-04-2015 10:28 PM
Dark screen after screen saver O_o!! elekt Ubuntu 0 07-25-2007 09:54 PM
konqueror won't work after after wake mandriva 2006 up from screen saver nila56 Linux - Software 3 06-08-2006 07:06 PM
Keyboard not working after screen saver Dobly Ubuntu 1 04-03-2005 04:45 AM

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

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