LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Alternative login manager (http://www.linuxquestions.org/questions/slackware-14/alternative-login-manager-4175468080/)

isaque 07-01-2013 08:20 PM

Alternative login manager
 
Although I really like KDE and all its features, recently I started to play with XFCE.

One thing that I couldn't find so far is a login manager that does the following actions:
- allow multiple X sessions; and
- have the option to reboot/shutdown buttons.

So far I tried lxdm, but I couldn't make it work... I am probably missing something in the setup.

One that I really liked was SLIM, but unfortunately it doesn't have the above options.

So, please let me know which login managers you are using with Slackware and if possible, let me know if you used the above features.

Thanks.

ReaperX7 07-01-2013 10:11 PM

I use gdm whenever I want to use a display manager. usually though I don't use one and simply use the console.

hitest 07-01-2013 10:16 PM

I also prefer to boot-up in run level three. startx

bartgymnast 07-02-2013 02:11 AM

Hi Isaque,

you would be looking into the old gdm 2.x package
http://slackbuilds.org/repository/14.0/system/gdm/

in the config file you can use the following options:

gdm.conf file (bottum):

[servers]
0=Standard vt7
1=Standard -xf86config [filename] vt8


I don't think a newer login manager will be logical, as they use systemd/logind for your requests
the shutdown and log-off buttons should be normally in every login manager

kooru 07-02-2013 02:50 AM

runlevel 3: startx

Paulo2 07-02-2013 08:08 PM

Quote:

Originally Posted by kooru (Post 4982302)
runlevel 3: startx

Same here, ctrl+alt+f1-f6 for consoles, f7-f12 for X sessions, really KISS :D

But I understand what you're saying isaque , if you boot (or logout from X)
with KDM (or other) and press ctrl+alt+f8, it should display a new graphical login.
Maybe there's a configuration for this.

frankbell 07-02-2013 09:28 PM

Quote:

runlevel 3: startx
I even configured up my Debian to do that.

psionl0 07-03-2013 12:55 AM

slim.

TommyC7 07-03-2013 01:51 AM

The OP has stated he already tried (and liked) SLiM but it didn't come with the KDM features he was looking for.

bartgymnast 07-03-2013 01:51 AM

psionl0

slim does not allow multiple X sessions unless you start multiple slim instances on multiple TTY's(VTE's)

isaque 07-03-2013 06:12 AM

Quote:

Originally Posted by bartgymnast (Post 4983164)
psionl0

slim does not allow multiple X sessions unless you start multiple slim instances on multiple TTY's(VTE's)

Right, but I really would like to have that only when I needed or it would be a waste of resources.

Here at home sometimes I need to step aside my main desktop because my son wants to play with it. So instead of closing everything in my desktop, I just open a new session for him, using KDE's "change user" feature.

isaque 07-03-2013 06:14 AM

Quote:

Originally Posted by hitest (Post 4982142)
I also prefer to boot-up in run level three. startx

That would be no problem if just me used the box, but my wife and kid use it too and although my son already know how to use a mouse, he barely know how to use a keyboard (he can type his user/pass, he's 4).

isaque 07-03-2013 06:16 AM

Quote:

Originally Posted by bartgymnast (Post 4982273)
Hi Isaque,

you would be looking into the old gdm 2.x package
http://slackbuilds.org/repository/14.0/system/gdm/

in the config file you can use the following options:

gdm.conf file (bottum):

[servers]
0=Standard vt7
1=Standard -xf86config [filename] vt8


I don't think a newer login manager will be logical, as they use systemd/logind for your requests
the shutdown and log-off buttons should be normally in every login manager

Thanks for the tip, I'll give it a try.

gezley 07-03-2013 08:33 AM

Quote:

Originally Posted by isaque (Post 4983322)
Here at home sometimes I need to step aside my main desktop because my son wants to play with it. So instead of closing everything in my desktop, I just open a new session for him, using KDE's "change user" feature.

Isaque: below is a way of doing it which will allow you to start a second X display and keep your first X display intact.

(You might need to start the machine at runlevel 3 for the following to work. Edit /etc/inittab to set this option if so.)

When you start the machine at runlevel 3 type startx to start your own X session. On Slackware this starts X at virtual terminal VT7; you can check this by typing CTRL+ALT+F8 which will give you a blank TTY and then returning to your X session on VT7 by typing CTRL+ALT+F7.

To start a second display server on virtual terminal VT8 all you have to do is use the following command on one of the virtual terminals from CTRL+ALT+F2 to CTRL+ALT+F6. On Slackware these are reserved as text terminals and CTRL+ALT+F7 to CTRL+ALT+F12 are reserved for X displays.

Let's say you have KDE on VT7, which you started by typing startx when the machine boots up.

Now you can start Xfce on VT8 without touching your KDE:

Code:

ctrl+alt+F2
[login]
xinit /usr/bin/startxfce4 -- :1

If you type CTRL+ALT+F7 you will be returned to your KDE session on display :0. If you type CTRL+ALT+F8 you will be taken to your Xfce session on display :1

You can start other desktop environments or window managers on one of the other spare VTs.

For example:

Code:

ctrl+alt+F3
[login]
xinit /usr/bin/fluxbox -- :2

Now you have three X sessions running: KDE at CTRL+ALT+F7, Xfce at CTRL+ALT+F8, and Fluxbox at CTRL+ALT+F9.

I hope this helps. It is easier than finding the right display manager, and on Slackware it is always sure to work.

isaque 07-03-2013 03:48 PM

Quote:

Originally Posted by gezley (Post 4983410)
Isaque: below is a way of doing it which will allow you to start a second X display and keep your first X display intact...

Thanks for the info and detailed description, but I really would like to have a GUI option.


All times are GMT -5. The time now is 07:28 PM.