Forum › Forums › New users › New Users and General Questions › How to change desktop manager via command line
- This topic has 4 replies, 2 voices, and was last updated Sep 2-8:10 am by phirephoto.
-
AuthorPosts
-
August 31, 2018 at 9:28 am #12006Member
phirephoto
Ok, I goofed up. I installed a few desktop managers. Switched to Cinnamon. It gave an error – something like unsupported. Accidentally hit cancel before was able to read it all. Then it booted to just a background logo, no menu, nothing. Logged in as root, could then access the menu but couldn’t change desktops. got in via shell (I can ssh to it from another computer) and apt remove cinnamon. Now it still boots to cinnamon, but when I login says Failed to load session *cinnamon* <Log Out>. No way to change the login desktop manager. One other DM I recall said hit F1 at login and it would allow me to change which DM to login to, I see no way to do this in cinnamon and now I’m in a loop 🙁 I can still ssh to it from my desktop machine but can’t see how to fix this).
Any ideas? Thanks.August 31, 2018 at 1:29 pm #12007Forum Admin
Dave
::ssh into the machine as root and run
apt-get purge lightdm gdm kdm
Which should get rid of the most common login managers and leave you with the default slim login manager (which is the press f1 option).If that only gets you to a text login chances are slim is not instead or setup funny from installing the other login manager.
First Purge slim in case it has remaining buggered files
Apt-get purge slim
Then install
Apt-get -f install slimAlternatively from the command line you could run
startx /usr/local/bin/desktop-session space-icewm
To get one of the default desktops.
From there you can select the one you want from the desktops menu and then drop space-icewm from the command or change space-icewm to the variant you would like.Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
September 1, 2018 at 8:54 am #12019Memberphirephoto
::Thank you! That did it (the apt-get purge.) So it now boots to XFCE – I forgot which it was before, but I kind of like XFCE. So a few questions now on XFCE –
The Windows Key doesn’t bring up the Applications menu. Is there a clean way to ‘map’ it so it’s like the built in launch – meaning if I hit the Windows Key, it brings up the App menu, if I hit it again, it closes the app menu? Right now if I hit it again, it doesn’t do anything, the App menu stays up. I mapped it in Keyboards. Same with Application Finder – I mapped a hot key to application finder, I’d prefer it ‘close’ if I hit it again, right now it launches another instance. I use the app Launchy – launchy.net which acts this way.
And lastly, I can’t shut down. I go to Start/ Log off, and only choice is Log off. Reboot, shutdown, etc is greyed out. AFAICT I’m a member of sudoers – I can open a terminal and sudo shutdown or sudo reboot.Thanks!
September 1, 2018 at 11:20 pm #12026Forum Admin
Dave
::If you like xfce it might be worth while to look at mx. It is possible to fix the problems you are having. If you want to use antiX to try and have a little lighter system or one completely without systemd (or just learn) it would be worth the time.
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
September 2, 2018 at 8:10 am #12031Memberphirephoto
::If you like xfce it might be worth while to look at mx. It is possible to fix the problems you are having. If you want to use antiX to try and have a little lighter system or one completely without systemd (or just learn) it would be worth the time.
I tried to install MX. Couldn’t get it to install. Actually, Antix has been the only Linux I could get to install on my laptop. AMD A9 with Radeon graphics. Not sure what the problem is, but no other linux would install, and I tried a dozen. It would either just freeze during the install, or crash at some point towards the end. I’ll try to run a full memory test one of these days, but just tried MX the other day and froze during the install. Usually really early on, like maybe the 3rd or 4th option during setup. 🙁
-
AuthorPosts
- You must be logged in to reply to this topic.