You are not logged in.

#1 2014-01-20 22:03:01

josealb77
Member
Registered: 2013-06-23
Posts: 90

How to change from SLIM to KDM?

Hello,
I'm using the MATE desktop, OpenBox as window manager and SLIM for login.
I'm starting to feel tired of not being able to change between various desktops without closing the main one, I mean, with OpenSUSE Ctrl+Alt+F1 to F6 are terminal ttys (it is so with Arch+SLIM too), Ctrl+Alt+F7 to F12 are graphical ttys, you can change between any of them and log in as any user you want without closing the F7 tty, or closing it, or doing whatever you want. This was petty cool in order to kill some broken task that hanged the screen or in order to do whatever.
May I don't know how to do it with SLIM, but anytime I do Crtl+Alt+F9, for example, I just got a blank screen with an hyphen blinking. With OpenSUSE I got a graphical login screen.

More:
I've got installed OpenBox, MATE and enlightenment. It is suppose me to be able to change between them pressing F1, and in fact SLIM changes where says "session: XXXX" between them at the login screen, but whatever I choose SLIM ALWAYS log me in MATE. I've got to change it manually in ~/.xinitrc and logout and login again every time I want to change between sessions. I cannot do it directly at the login screen.

Sometimes after login out and login in several times SLIM hangs and I have to reboot.

I think all these problems comes from slim, and since with OpenSUSE, that use kdm, I had no problem I want to try kdm as login manager, but I haven't seen any guide to do it if you've got a login manager already installed. I've seen it just if it is the first system installatio. And I'm a little scared of breaking my login and spend too much time fixing it.

How can I change from SLIM to KDM without pain?

Offline

#2 2014-01-20 22:07:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How to change from SLIM to KDM?

Well changing to kdm is as simple as using systemctl to disable slim and enable kdm. That won't get you graphical logins on tty8+, though.

Online

#3 2014-01-20 22:10:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: How to change from SLIM to KDM?

Install kdm. 
Disable the slim service using systemctl
Enable the kdm service using systemctl
No need to uninstall slim.  Hang on to it until everything is working


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2014-01-20 22:44:58

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: How to change from SLIM to KDM?

josealb77 wrote:

Ctrl+Alt+F7 to F12 are graphical ttys, you can change between any of them and log in as any user you want without closing the F7 tty, or closing it, or doing whatever you want. This was petty cool in order to kill some broken task that hanged the screen or in order to do whatever.

Do you really need a GUI to kill a program?

More:
I've got installed OpenBox, MATE and enlightenment. It is suppose me to be able to change between them pressing F1, and in fact SLIM changes where says "session: XXXX" between them at the login screen, but whatever I choose SLIM ALWAYS log me in MATE. I've got to change it manually in ~/.xinitrc and logout and login again every time I want to change between sessions. I cannot do it directly at the login screen.

Sounds like your xinitrc isn't quite right, check the wiki page for slim.

And you could try LightDM instead (because KDM probably pulls in some KDE crap). It comes with dm-tool (and a replacement for gdmflexiserver) to start a new session on another tty.

Last edited by Raynman (2014-01-20 22:45:12)

Offline

#5 2014-01-20 23:05:08

josealb77
Member
Registered: 2013-06-23
Posts: 90

Re: How to change from SLIM to KDM?

WOW, I had to install kdebase-workspace and it installed as dependency a functional kde system sad . And... I was able to choose between all the other desktops but MATE, so... kdm and all that it installed with it's already uninstalled big_smile
But with kdm I was able to open an enlightenment session in tty 8 without closing kde in tty 7...

ewaller wrote:

Install kdm.
Disable the slim service using systemctl
Enable the kdm service using systemctl
No need to uninstall slim.  Hang on to it until everything is working

Thank you ewaller, it worked perfectly

Scimmia wrote:

Well changing to kdm is as simple as using systemctl to disable slim and enable kdm.That won't get you graphical logins on tty8+, though.

So, how can I do it with slim?

Raynman wrote:

Do you really need a GUI to kill a program?

No, I don't, it was just an example.

Sounds like your xinitrc isn't quite right, check the wiki page for slim.

I'm tired of reviewing my xinitrc in order to make slim let me choose my desktop. I think the F1 to change the session is experimental. I will open other thread in order to get some help or in order to help SLIM to solve this problem.

And you could try LightDM instead (because KDM probably pulls in some KDE crap). It comes with dm-tool (and a replacement for gdmflexiserver) to start a new session on another tty.

Sounds good. I'll try to make slim work perfectly and if I don't get it to work as perfectly I want I'll try other login managers.

Offline

#6 2014-01-20 23:30:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How to change from SLIM to KDM?

josealb77 wrote:

But with kdm I was able to open an enlightenment session in tty 8 without closing kde in tty 7...

Huh, I don't remember that behavior in kdm, but it's been a while. It doesn't work in sddm, which is kdm's proposed replacement.

Online

Board footer

Powered by FluxBB