LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 12-08-2022, 11:33 AM   #1
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Rep: Reputation: Disabled
unable to launnch cinnamon session cinnamon question...


From what I've been able to ascertain, because of the backup I made, now I'm unable to get to the desktop of my Linux installation.

The thread I saw, said to run

Quote:
sudo apt install cinnamon
and that should do the trick for my LinuxMint 20.3 installation.

My question is: if I run that command, will I lose all my documents in my Home folder, etc?

Thanks...
 
Old 12-08-2022, 06:22 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
1) I am guessing you can not login due to other post so you do need to read the chown command

get a getty

hold down CTRL key and ALT key and press either F1 or F2 etc....most distros have your graphics on getty 7

login as root
run
Code:
ls -al /home/yourlogin name
if you have lost ownership fix it using root powers

you may also need to fix read write permissions but you can report what you find later

Code:
chown yourname:yourname -R /home/<your login name>
reboot and see if you can login

2)

I suggest you get a linux live cd/usb.
It always helps in the long run to have a dedicated live product to let you look at things or rescue things.
eg
https://distrowatch.com/table.php?di...n=systemrescue

I use this distro to make backups using
fsarchiver rather than luckybackup

https://www.fsarchiver.org/quickstart/

however I use it for a full parition image to save or restore so that on a SSD writing takes just a few minutes and restoring about 40 seconds depending on how much data you have collected.

system rescue automatically is a root power autologin
Code:
# set up mount point
mkdir /z
mount /dev/sda4 /z

# to save a single partition
fsarchiver savefs /z/1.fsa /dev/sda1 -a

# to restore it after setting up mount point as this is a new boot up
fsarchiver restfs /z/1.fsa id=0,dest=/dev/sda1

Last edited by aus9; 12-08-2022 at 06:26 PM.
 
Old 12-10-2022, 07:50 AM   #3
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,834
Blog Entries: 17

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
This might be relevant here:
https://www.linuxquestions.org/quest...etc-etc-38387/

I'm not suggesting you are a newbie, but this contains a large part about Bash and Coreutils, and what you are looking for is a central part of coreutils. Specifically ls, chown, chgrp, chmod. Of which chmod is the most complicated.. And I hate too be too specific, but
Code:
ls -la
seems like a good place to start, creating a good overview. Even
Code:
man ls
, and probably even more useful is
Code:
ls -lhRa
to understand what that is exactly then
Code:
ls --help
Then:
Code:
man chown
Code:
man chgrp
Code:
man chmod
Once all these are settled, it should be far easier to move on to the next part and find a great solution to what it is you are trying to do.

Last edited by zeebra; 12-10-2022 at 07:57 AM.
 
  


Reply



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
My Samsung notebook n150 display unable to display "cinnamon-session-cinnamon" not found; falling back to default session Gastoneciacci Linux - Laptop and Netbook 1 04-28-2018 11:25 AM
Session key renegotiation if session lasts longer than configured (e.g. an hour) then session keys needs to be renegotiated. dakshinya Linux - Newbie 1 02-04-2016 04:15 PM
[SOLVED] Slackware 13.1 beta1 "Cannot open ConsoleKit session: Unable to open session..." fl0 Slackware 2 05-13-2010 09:37 AM
add a session to Session of gdm freenet Linux - Software 0 08-07-2003 05:21 AM

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

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