LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." (https://www.linuxquestions.org/questions/linux-mint-84/unable-to-launch-cinnamon-session-cinnamon-x-session-cinnamon-session-cinnamon-found%3B-falling-back-to-default-session-4175650292/)

xxxindigo 03-16-2019 01:39 PM

Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session."
 
I was replacing Network Manager with Wicd and restarted the computer and now after the login screen I get

"Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session."

I can exit the prompt and then I get a black screen, then if I press CTRL-ALT F1 it takes me to a login terminal and then I have an open terminal, is there a way to reinstall cinnamon from there so I don't lose all the work I've done?

I used the command "sudo apt-get purge network-manager" after installing Wicd and I saw "removing cinnamon" but didn't realize it would do this. I think the right command was "sudo apt-get remove network-manager"

hydrurga 03-27-2019 02:35 PM

There would have been no difference between a purge and a remove. Those packages dependent on the network manager would have been removed in either case. It's always useful to read warning messages carefully before proceeding.

You don't say which version of Mint you are using, but if you have TimeShift installed and running then you should be able to simply revert to a previous snapshot before you carried out the removal of network-manager. Is this the case?

CrippyRed 04-21-2019 01:38 AM

Does anyone have a solution for this? I have the same exact issue due to replacing the network manager with Wicd . I’m using Linux mint 18.3 Sylvia.

debashisiitg 08-31-2019 10:11 AM

I also have the same proble. Please anyone help ASAP.

Firerat 08-31-2019 05:59 PM

it looks like cinnamon is dependent on network-manager
so

Code:

sudo apt install cinnamon
should get it back ( along with network-manager )

debashisiitg 09-01-2019 03:55 AM

the problem occurs after using the command "sudo apt-get purge network-manager" after installing Wicd. So i cannot connect to internet access to install any software. I would like to request you to let me know where should i get to download the cinnmon package. As my same laptop has dual system, so i can download the cinnamon package on harddrive and try to install offline.

Thanks in advance.

Firerat 09-01-2019 04:38 AM

download network-manager and install that, it will be quicker

I can't tell you where to d/l it from as I have no idea what disto you are using.
you will need the package for your version

debashisiitg 09-01-2019 05:18 AM

From where I could download network-manager package..? I had tried to install it by downloading from gnome project site. But it does not work.

Firerat 09-01-2019 05:21 AM

Quote:

Originally Posted by Firerat (Post 6031877)
download network-manager and install that, it will be quicker

I can't tell you where to d/l it from as I have no idea what disto you are using.
you will need the package for your version

what disto?
what version?

Firerat 09-01-2019 05:25 AM

how do you normally connect to the internet>
is it through a wire or over wifi?

we can *maybe* connect to network manually

debashisiitg 09-01-2019 05:38 AM

Quote:

Originally Posted by Firerat (Post 6031885)
what disto?
what version?

here I attach a photo. Please check it.

Firerat 09-01-2019 05:39 AM

just type it

debashisiitg 09-01-2019 05:43 AM

Quote:

Originally Posted by Firerat (Post 6031894)
just type it

Name= linux mint
Version= 19.2(tina)
Id= linuxmint
Id_like= ubuntu
Pretty_name= linux mint 19.2
Version_id= 19.2
Version_codename= Tina
Ubuntu_codename= bionic

4.15.0-58 generic

debashisiitg 09-01-2019 05:47 AM

Quote:

Originally Posted by Firerat (Post 6031889)
how do you normally connect to the internet>
is it through a wire or over wifi?

we can *maybe* connect to network manually

Normally I connect to the internet through wifi. But here the things is different. Here I can access only terminal by ctrl+alt+f1. So I think the only way to install any package is to download it from different OS and then copy/paste on this hard disk, after that install it offline.

Firerat 09-01-2019 05:51 AM

ok
First try

Code:

sudo dhclient
that assumes you are on a wire

now we will try to install network-manager ( and hope you have internet)
Code:

sudo apt install network-manager
did that work?

Firerat 09-01-2019 06:00 AM

Quote:

Originally Posted by debashisiitg (Post 6031897)
Normally I connect to the internet through wifi. But here the things is different. Here I can access only terminal by ctrl+alt+f1. So I think the only way to install any package is to download it from different OS and then copy/paste on this hard disk, after that install it offline.

you must have typed that while I was typing my last reply

not really a copy/paste , needs to be a copy

https://launchpad.net/ubuntu/bionic/...10.14-0ubuntu2

this is the "main" package
http://launchpadlibrarian.net/423115...ntu2_amd64.deb

that might be enough

do you know how you are going to get that file from your undisclosed second OS to your Linux Mint?

an external usb disk is probably the easiest

debashisiitg 09-01-2019 07:03 AM

Quote:

Originally Posted by Firerat (Post 6031899)
you must have typed that while I was typing my last reply

not really a copy/paste , needs to be a copy

https://launchpad.net/ubuntu/bionic/...10.14-0ubuntu2

this is the "main" package
http://launchpadlibrarian.net/423115...ntu2_amd64.deb

that might be enough

do you know how you are going to get that file from your undisclosed second OS to your Linux Mint?

an external usb disk is probably the easiest

Thanks....but it also not working. at the time of installation, it shows some dependency error.

Firerat 09-01-2019 07:08 AM

ok

details like what was missing would be nice

https://launchpad.net/ubuntu/bionic/...10.14-0ubuntu2


can you see what was missing in this list?

Code:

Package relationships

Depends on:
    adduser
    dbus (>= 1.1.2)
    isc-dhcp-client (>= 4.1.1-P1-4)
    libaudit1 (>= 1:2.2.1)
    libbluetooth3 (>= 4.91)
    libc6 (>= 2.25)
    libcurl3-gnutls (>= 7.16.3)
    libglib2.0-0 (>= 2.43.2)
    libgnutls30 (>= 3.5.0)
    libjansson4 (>= 2.0.1)
    libmm-glib0 (>= 1.0.0)
    libndp0 (>= 1.2)
    libnewt0.52
    libnl-3-200 (>= 3.2.21)
    libnm0 (>= 1.10.14-0ubuntu2)
    libpam-systemd
    libpolkit-agent-1-0 (>= 0.99)
    libpolkit-gobject-1-0 (>= 0.104)
    libpsl5 (>= 0.13.0)
    libreadline7 (>= 6.0)
    libselinux1 (>= 1.32)
    libsystemd0 (>= 221)
    libteamdctl0 (>= 1.9)
    libudev1 (>= 183)
    libuuid1 (>= 2.16)
    lsb-base (>= 3.2-14)
    policykit-1
    udev
    wpasupplicant (>= 0.7.3-1)


debashisiitg 09-01-2019 07:59 AM

Quote:

Originally Posted by Firerat (Post 6031905)
ok

details like what was missing would be nice

https://launchpad.net/ubuntu/bionic/...10.14-0ubuntu2


can you see what was missing in this list?

Code:

Package relationships

Depends on:
    adduser
    dbus (>= 1.1.2)
    isc-dhcp-client (>= 4.1.1-P1-4)
    libaudit1 (>= 1:2.2.1)
    libbluetooth3 (>= 4.91)
    libc6 (>= 2.25)
    libcurl3-gnutls (>= 7.16.3)
    libglib2.0-0 (>= 2.43.2)
    libgnutls30 (>= 3.5.0)
    libjansson4 (>= 2.0.1)
    libmm-glib0 (>= 1.0.0)
    libndp0 (>= 1.2)
    libnewt0.52
    libnl-3-200 (>= 3.2.21)
    libnm0 (>= 1.10.14-0ubuntu2)
    libpam-systemd
    libpolkit-agent-1-0 (>= 0.99)
    libpolkit-gobject-1-0 (>= 0.104)
    libpsl5 (>= 0.13.0)
    libreadline7 (>= 6.0)
    libselinux1 (>= 1.32)
    libsystemd0 (>= 221)
    libteamdctl0 (>= 1.9)
    libudev1 (>= 183)
    libuuid1 (>= 2.16)
    lsb-base (>= 3.2-14)
    policykit-1
    udev
    wpasupplicant (>= 0.7.3-1)


I had install network manager correctly. But I cannot connect to any network. please help me how to connect to wifi through terminal.

Here are some outputs FYI
$ iwconfig

enp7so no wireless extension

wlp6s0 IEEE 802.11 ESSID: off/any
Mode: Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit: 7 RTS thr: off Fragment thr: off
Power Management: on

lo no wireless connection

$ iwconfig wlp6s0 essid AndroidAP key 12345678 # my wifi network id AndroidAP and its pwd is 12345678

Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlp6s0 : Operation not permited.

Firerat 09-01-2019 08:29 AM

I'm hoping that is not the real password :D

try as root ( i.e. prefix with sudo )

or, restart
Code:

sudo service network-manager restart
oh wait, you purged the configuration files

Code:

nmcli r wifi on
nmcli d wifi connect AndroidAP password 12345678

if they don't work, try with sudo

Code:

sudo nmcli r wifi on
sudo nmcli d wifi connect AndroidAP password 12345678


debashisiitg 09-01-2019 08:59 AM

Quote:

Originally Posted by Firerat (Post 6031950)
I'm hoping that is not the real password :D

try as root ( i.e. prefix with sudo )

or, restart
Code:

sudo service network-manager restart
oh wait, you purged the configuration files

Code:

nmcli r wifi on
nmcli d wifi connect AndroidAP password 12345678

if they don't work, try with sudo

Code:

sudo nmcli r wifi on
sudo nmcli d wifi connect AndroidAP password 12345678


It has worked. Thank u very much. The system is now connected to internet. Now can you please help me how to install cinnamon package.

Please don't mind for asking very simple question. I am new in linux. So I will request you to elaborate as much as possible in your suggestion.

Thank you very much again.

Firerat 09-01-2019 09:14 AM

Code:

sudo apt update
sudo apt install cinnamon
sudo apt upgrade

  1. update pakage lists
    might as well get the newest cinnamon ( and its depends ) now
  2. install cinnamon
  3. upgrade rest of system

once you reboot and get to GUI you may need to reconfigure wifi access


regards new to linux
my advice would be to play with VirtualBox
https://www.virtualbox.org/wiki/Linux_Downloads
less of a headache if you break it

Don't blindly follow things written on blogs, they are usually poor quality
but with a VM feel free to do the blog stuff


if you wanted to play with wifi in VirtualBox you could do a usb passthough
usb dongles are cheap
tbh it has been a while since I used Virtualbox, I use virt-manager these days

debashisiitg 09-01-2019 09:21 AM

Quote:

Originally Posted by Firerat (Post 6031963)
Code:

sudo apt update
sudo apt install cinnamon
sudo apt upgrade

  1. update pakage lists
    might as well get the newest cinnamon ( and its depends ) now
  2. install cinnamon
  3. upgrade rest of system

once you reboot and get to GUI you may need to reconfigure wifi access


regards new to linux
my advice would be to play with VirtualBox
https://www.virtualbox.org/wiki/Linux_Downloads
less of a headache if you break it

Don't blindly follow things written on blogs, they are usually poor quality
but with a VM feel free to do the blog stuff


if you wanted to play with wifi in VirtualBox you could do a usb passthough
usb dongles are cheap
tbh it has been a while since I used Virtualbox, I use virt-manager these days

Thanks a lot. it works fine and my problem is solved. Now my linux mint os run as normal, it has no problem. thank u very much.


All times are GMT -5. The time now is 02:22 PM.