Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recommended Display (login) Manager for Openbox?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Wed Apr 15, 2020 10:36 pm    Post subject: Recommended Display (login) Manager for Openbox? Reply with quote

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.)
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Apr 16, 2020 1:06 am    Post subject: Reply with quote

I used to use SLiM too, but after seeing the state it was in I removed it and now just start an xsession directly.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Thu Apr 16, 2020 1:40 am    Post subject: Reply with quote

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.)
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Apr 16, 2020 3:21 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
Hund
Apprentice
Apprentice


Joined: 18 Jul 2016
Posts: 218
Location: Sweden

PostPosted: Thu Apr 16, 2020 4:02 am    Post subject: Reply with quote

Do you need a display manager? xinit works great if you're okay without one.
_________________
Collect memories, not things.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Apr 16, 2020 5:10 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 724
Location: /home

PostPosted: Thu Apr 16, 2020 5:16 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 377
Location: UK

PostPosted: Thu Apr 16, 2020 8:54 am    Post subject: Reply with quote

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. :-)
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Thu Apr 16, 2020 10:44 pm    Post subject: Reply with quote

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:
exec ssh-agent openbox-session


I thought I might need something like the following instead of the above line but I didn't:
Code:
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.
Back to top
View user's profile Send private message
A.S. Pushkin
Guru
Guru


Joined: 09 Nov 2002
Posts: 418
Location: dx/dt, dy/dt, dz/dt, t

PostPosted: Thu Apr 23, 2020 11:42 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Vulgar
n00b
n00b


Joined: 15 Sep 2004
Posts: 63

PostPosted: Fri Apr 24, 2020 12:00 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
A.S. Pushkin
Guru
Guru


Joined: 09 Nov 2002
Posts: 418
Location: dx/dt, dy/dt, dz/dt, t

PostPosted: Fri Apr 24, 2020 1:54 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Vulgar
n00b
n00b


Joined: 15 Sep 2004
Posts: 63

PostPosted: Fri Apr 24, 2020 7:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
AlexJGreen
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 149

PostPosted: Sat Apr 25, 2020 9:38 am    Post subject: Reply with quote

_

Last edited by AlexJGreen on Mon Dec 28, 2020 3:12 am; edited 1 time in total
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Sat Apr 25, 2020 8:39 pm    Post subject: Reply with quote

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)
Back to top
View user's profile Send private message
RobPearce
n00b
n00b


Joined: 12 Jul 2005
Posts: 66
Location: Cambridge, England

PostPosted: Sun Aug 30, 2020 11:09 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
389292
Guru
Guru


Joined: 26 Mar 2019
Posts: 504

PostPosted: Sun Aug 30, 2020 12:47 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Aug 30, 2020 1:33 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Sat Sep 26, 2020 6:00 pm    Post subject: Reply with quote

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:
play /scratch/wav/startup.wav &> /dev/null &
startx

The startup sound is just for fun.

.xinitrc =
Code:
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
Back to top
View user's profile Send private message
Crakem
n00b
n00b


Joined: 31 Jul 2007
Posts: 20
Location: Málaga (Spain)

PostPosted: Mon Sep 27, 2021 3:46 am    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Mon Sep 27, 2021 1:21 pm    Post subject: Reply with quote

Code:
~ $ zgrep YAMA /proc/config.gz

??? YAMA?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Sep 27, 2021 2:00 pm    Post subject: Reply with quote

Quote:
??? YAMA?

That's the kernel option that makes our sandbox print funny error messages like the one below:
Code:
* /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
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4148
Location: Bavaria

PostPosted: Mon Sep 27, 2021 4:02 pm    Post subject: Reply with quote

mike155 wrote:
Quote:
??? YAMA?

That's the kernel option that makes our sandbox print funny error messages like the one below:
Code:
* /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" ?
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2964
Location: Edge of marsh USA

PostPosted: Mon Sep 27, 2021 4:17 pm    Post subject: Reply with quote

YAMA=
Code:
$ 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
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21630

PostPosted: Mon Sep 27, 2021 4:29 pm    Post subject: Reply with quote

Tony0945 wrote:
Code:
~ $ 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:
$ 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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum