SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 935
Rep:
Quote:
Originally Posted by kooru
runlevel 3: startx
Same here, ctrl+alt+f1-f6 for consoles, f7-f12 for X sessions, really KISS
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.
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.
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).
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
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:
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.
Last edited by Gerard Lally; 07-03-2013 at 08:37 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.