Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Recommended Display (login) Manager for Openbox?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
30 posts
  • 1
  • 2
  • Next
Author
Message
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

Recommended Display (login) Manager for Openbox?

  • Quote

Post by jagdpanther » Wed Apr 15, 2020 10:36 pm

I currently am using SLiM as the display manager (aka login manager) for the Openbox Window manager. I notice that the gentoo SLiM wiki https://wiki.gentoo.org/wiki/SLiM states that I should consider using a different display manager as SLiM appears to be abandoned.
I am thinking of switching from SLiM to SDDM https://wiki.gentoo.org/wiki/SDDM and want to know if there is a better choice?

I currently am using OpenRC and consolekit. (I am also about to switch from consolekit to elogind as recommended in the recent eselect news titled: Desktop profile switching USE default to elogind.)
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu Apr 16, 2020 1:06 am

I used to use SLiM too, but after seeing the state it was in I removed it and now just start an xsession directly.
Top
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

  • Quote

Post by jagdpanther » Thu Apr 16, 2020 1:40 am

Ant P.:

Thanks for the comment. On my work system (Gentoo Linux, of course) I don't use a login manager, I just login on the console and type "exec startx". (The exec ensures that if I am not in front of the box and xscreensaver dies that my console session is gone.) However, on my home system I am not the only user, so the display manager is handy. (Also, I never figured out how to have a console session screen go into power save mode , which is easy to do when running X.)
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Thu Apr 16, 2020 3:21 am

My wife logs in from console and X is started automatically from ~/.bashrc_profile. So it is just text mode login instead of GUI login.
My Gentoo installation notes.
Please learn how to denote units correctly!
Top
Hund
Apprentice
Apprentice
User avatar
Posts: 221
Joined: Mon Jul 18, 2016 7:40 am
Location: Sweden
Contact:
Contact Hund
Website

  • Quote

Post by Hund » Thu Apr 16, 2020 4:02 am

Do you need a display manager? xinit works great if you're okay without one.
Collect memories, not things.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu Apr 16, 2020 5:10 am

jagdpanther wrote:However, on my home system I am not the only user, so the display manager is handy.
How I have it set up here, since I don't really need security, is starting X and running a user .xsession directly from init. For a multi-user system you can't really do that though.

SDDM seems fine for your use case. There's LightDM too, but from what I can see it's not as light as SDDM.
Top
Juippisi
Developer
Developer
User avatar
Posts: 784
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Thu Apr 16, 2020 5:16 am

I switched from slim to lightdm - been happy with it. Works with systemd and elogind.

sddm needs Qt and my system is full GTK so it was either lightdm, gdm or startx.
Top
ipic
Guru
Guru
User avatar
Posts: 467
Joined: Mon Dec 29, 2003 9:50 am
Location: UK

  • Quote

Post by ipic » Thu Apr 16, 2020 8:54 am

I'd second lightdm, also switched from slim a while back.
It works with OpenRC and elogin - if you are allergic to systemd, like me. :-)
Top
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

  • Quote

Post by jagdpanther » Thu Apr 16, 2020 10:44 pm

Thanks for all of the replies.

Right now I have removed Slim, switched from consolekit to elogind, and using startx, openbox starts with the following at the end of my ~/.xinitrc file:

Code: Select all

exec ssh-agent openbox-session 
I thought I might need something like the following instead of the above line but I didn't:

Code: Select all

exec dbus-launch --exit-with-session openbox-session
So now sddm or lightdm ....

I admit I like Jaglover's suggestion to put startx in ~/.bashrc_profile
but I'll go with the eye-candy route for my wife's login.
Top
A.S. Pushkin
Guru
Guru
Posts: 418
Joined: Sat Nov 09, 2002 5:37 am
Location: dx/dt, dy/dt, dz/dt, t

  • Quote

Post by A.S. Pushkin » Thu Apr 23, 2020 11:42 pm

I'm using SLIM and have been very happy with it. I like the simple security in the interface.

What are the things about LightDM there are better than SLIM. I'd every much be interested.

Thanks.
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
Top
Vulgar
n00b
n00b
Posts: 63
Joined: Wed Sep 15, 2004 3:26 pm

  • Quote

Post by Vulgar » Fri Apr 24, 2020 12:00 am

Warning
With the last release in 2013, the SliM project appears to be abandoned. Please consider a different display manager.

https://wiki.gentoo.org/wiki/SLiM

I have never used a login manager. I like keeping things separated, so I always have access to a console, with no gui failing and disallowing login. Either way you have to login unless you set things up without login. Login manager has never made any sense to me, just a middle man that will fail.

If you just have to have pretty pictures while away, why if your not there, and want security, use a screen locker which can be configured to what ever you want.

Perhaps I am not aware that a big login manager impress's the girls!
Top
A.S. Pushkin
Guru
Guru
Posts: 418
Joined: Sat Nov 09, 2002 5:37 am
Location: dx/dt, dy/dt, dz/dt, t

  • Quote

Post by A.S. Pushkin » Fri Apr 24, 2020 1:54 am

Thanks for the heads up on slim. I've been rather satisfied with it so I'll be sorry to see it go.

I have almost always just used a terminal to login for the reason you mention. I decided
to go this route due my girl. She's not a computer person. A she's a Windose user so
using a terminal is like to someone from another planet.

Thanks again and I'll investigate something else.
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
Top
Vulgar
n00b
n00b
Posts: 63
Joined: Wed Sep 15, 2004 3:26 pm

  • Quote

Post by Vulgar » Fri Apr 24, 2020 7:54 pm

I never installed a login manager on my girlfriends laptop. :twisted:

Sat there and taught her how to login, then type in "startx" push enter. She has been doing fine with it for 10+ years now. She was intimidated at first, as she is not a computer person at all. But she has got the hang of it, startx is all she can do. She has been doing fine with xfce running. Still have to show her how to do little things though. Some times it makes me wonder!

Her father had dementia the last couple years of his life. I used slim that logged in automatically after boot to xfce. He simply could not remember how to login even with slim. But he sure would get into xfce and change everything. He always denied making any changes. It was funny, once a week I had to stop by and fix things. He used to be an engineer and had a lifetime of experience with computers. That dementia really did a number on him.
Top
AlexJGreen
Tux's lil' helper
Tux's lil' helper
Posts: 149
Joined: Wed Sep 19, 2018 5:37 pm

  • Quote

Post by AlexJGreen » Sat Apr 25, 2020 9:38 am

_
Last edited by AlexJGreen on Mon Dec 28, 2020 3:12 am, edited 1 time in total.
Top
jagdpanther
l33t
l33t
Posts: 820
Joined: Sat Nov 22, 2003 2:26 pm

  • Quote

Post by jagdpanther » Sat Apr 25, 2020 8:39 pm

I gave up on the display manager. startx is easy.
For my wife I put startx at the end of her ~/.bashrc_profile
(thanks again for that suggestion, Jaglover)
Top
RobPearce
n00b
n00b
Posts: 66
Joined: Tue Jul 12, 2005 8:30 am
Location: Cambridge, England

  • Quote

Post by RobPearce » Sun Aug 30, 2020 11:09 am

A.S. Pushkin wrote:Thanks for the heads up on slim. I've been rather satisfied with it so I'll be sorry to see it go.
SLiM still works, with elogind, if you fork the ebuild into your /usr/local/portage. I had done so a few years back because of a patch I'd put in to fix a bug with handling of expired accounts.
Top
389292
Guru
Guru
Posts: 504
Joined: Tue Mar 26, 2019 2:06 pm

  • Quote

Post by 389292 » Sun Aug 30, 2020 12:47 pm

My grandpa uses a cheap throwaway Android tablet, with couple of shortcuts like 'News', 'Weather', 'Radio', 'YouTube', he did not breake anything for like 2 or 3 years, little to no maintenance for me.
If a person refuses to type his/her credentials and initiate startx manually due to 'complexity' or laziness, then a todler's Android tablet is the absolute maximum you can entrust to him/her, basic computer literacy shouldn't be negotiable.
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Sun Aug 30, 2020 1:33 pm

I've always used plain old xdm. I could use startx, but why? I do have a console, six of them, I just have to press CTL-ALT-F1 or (F2..F6) and CTL-SLT-F7 to return. easier than typing "exec startx maye-seesion-manager" (see I had a typo already), two typos.
Slim was nice for having a menu and running different environments. I do this with xdm by adding a menu from an article in Linux Journal. Sadly, that's not available any more. I could post a How-To in tips and tricks if there is any demand.

A login manager is handy if more than one person uses the computer or could potentially use it. I used to have logins for my grandkids (still do on one computer). They couldn't mess with my files or desktop. It also opened their eyes that computers are more than Microsoft Windows. They loved running Linux on the low power mass market machines that were all that was available at the time.

No kids? Have a spouse or girl/boy-friend? Don't get into the blame game. Let each have their own desktop.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sat Sep 26, 2020 6:00 pm

I still don't use a display manager on most of my machines, but where one is handy, for myself or others, I've been using lightdm and happier with it than any others I've tried. I have a script in my path "x" that contains:

Code: Select all

play /scratch/wav/startup.wav &> /dev/null &
startx
The startup sound is just for fun.

.xinitrc =

Code: Select all

setxkbmap -option terminate:ctrl_alt_bksp
xhost +local:root > /dev/null
/usr/bin/numlockx on
dbus-launch --sh-syntax --exit-with-session startlxde
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
Crakem
n00b
n00b
User avatar
Posts: 20
Joined: Tue Jul 31, 2007 6:23 pm
Location: Málaga (Spain)

  • Quote

Post by Crakem » Mon Sep 27, 2021 3:46 am

I'm working on xlogin if some DM user wants to give it a try. Non-root not implemented but its ultra lightweight and there is a ebuild here #814575 This is for experimented users worried with security. This package enforces you to use some security policies (YAMA in kernel for example) Like to found more desktop users other than lxde for testing :wink:
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Mon Sep 27, 2021 1:21 pm

Code: Select all

~ $ zgrep YAMA /proc/config.gz
??? YAMA?
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Mon Sep 27, 2021 2:00 pm

??? YAMA?
That's the kernel option that makes our sandbox print funny error messages like the one below:

Code: Select all

* /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/libsandbox/trace.c:_do_ptrace():75: failure (Operation not permitted):
* ISE:_do_ptrace: ptrace(PTRACE_TRACEME, ..., 0x0000000000000000, 0x0000000000000000): Operation not permitted
Top
pietinger
Administrator
Administrator
Posts: 6640
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Sep 27, 2021 4:02 pm

mike155 wrote:
??? YAMA?
That's the kernel option that makes our sandbox print funny error messages like the one below:

Code: Select all

* /var/tmp/portage/sys-apps/sandbox-2.13/work/sandbox-2.13/libsandbox/trace.c:_do_ptrace():75: failure (Operation not permitted):
* ISE:_do_ptrace: ptrace(PTRACE_TRACEME, ..., 0x0000000000000000, 0x0000000000000000): Operation not permitted
Do you have "kernel.yama.ptrace_scope = 3" (with hardened sources) or do you have "...=2" ?
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Mon Sep 27, 2021 4:17 pm

YAMA=

Code: Select all

$ grep -i yama /usr/src/linux/.config
CONFIG_SECURITY_YAMA=y
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,selinux,smack,tomoyo,apparmor"
But, I'm lost at "kernel.yama.ptrace_scope =" which is from where?
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Mon Sep 27, 2021 4:29 pm

Tony0945 wrote:

Code: Select all

~ $ zgrep YAMA /proc/config.gz
??? YAMA?
YAMA is a Linux Security Module. See security/yama/Kconfig for a brief and unhelpful description, or follow the instructions there to the fuller documentation at Documentation/admin-guide/LSM/Yama.rst. (Choice of v5.14 kernel sources is arbitrary, and based on it being the most recent non-rc as of this writing.)
figueroa wrote:YAMA=

Code: Select all

$ grep -i yama /usr/src/linux/.config
CONFIG_SECURITY_YAMA=y
CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,selinux,smack,tomoyo,apparmor"
But, I'm lost at "kernel.yama.ptrace_scope =" which is from where?
That is a sysctl setting. You would most commonly access it via /proc/sys/kernel/yama/ptrace_scope, though I think sysctl could be used as well. The notation you quoted is popularly used because that is how you would write it in /etc/sysctl.conf if you wanted to have your system boot scripts set it to a particular value.
Top
Post Reply

30 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic