Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I recommend gui-apps/emptty over other display managers.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 436

PostPosted: Fri Oct 09, 2020 4:02 am    Post subject: I recommend gui-apps/emptty over other display managers. Reply with quote

gui-apps/emptty is a pretty minimal console display manager written in Go.

You can configure logging and customized user sessions with emptty.
I personally disabled logging output from xorg and my compositor, sway.

It is the best display manager I've used so far. It is lightweight. It has convenient features. It doesn't require a huge dependency tree unlike GDM or LightDM.

If you want neither graphical display managers nor startx on terminal, emptty is the happy middle ground.

One caveat with emptty is that it doesn't support rootless xorg sessions, yet. Subscribe to https://github.com/tvrzna/emptty/issues/12 if you want updates to this issue.
Back to top
View user's profile Send private message
ff11
l33t
l33t


Joined: 10 Mar 2014
Posts: 657

PostPosted: Fri Oct 09, 2020 10:51 am    Post subject: Reply with quote

For a long time, I just used the sys-apps/qingy to start the fluxbox here, but one day I asked myself:
Why do I need a manager to always choose the same options?
Then I removed everything, and for other long periods of time, I'm using just:

* ${HOME}/.bash_profile with added:
Code:
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi


* ${HOME}/.xinitrc with added:
Code:

if [[ "$DISPLAY" = ":0" ]] || [[ "$DISPLAY" = ":0.0" ]]; then
    exec startfluxbox
else
    exec xterm
fi


So I don't need anything extra to keep choosing the same options.
_________________
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary
"I want to apologize for being so powerless" - Lee
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1438

PostPosted: Fri Oct 09, 2020 11:23 am    Post subject: Reply with quote

Been doing something similar with a .bash_profile for a while as well, only for the tty where I've setup auto-login (Edit: although could also just use a basic openrc script if auto-login). In the event that X is stopped it leaves a "Press enter to restart X". On my setup I can also start it as non-root without elogind as long as I give it access to video/input groups (I find that running it as its own user rather than mine is preferable, so I don't need access to those groups myself).

In the past (on debian) I've used "nodm" (basically auto-login to Xorg and does nothing else) but that's long dead. There are other options but why bother when a few .bash_profile lines are enough.

Still neat to see a text-based DM though, especially if need a bit more features without going all out.


Last edited by Ionen on Fri Oct 09, 2020 12:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
Banana
l33t
l33t


Joined: 21 May 2004
Posts: 686
Location: Germany

PostPosted: Fri Oct 09, 2020 12:05 pm    Post subject: Reply with quote

Displaymanager, whats that? /s

For all of my gentoo installations, I do not use one. With other distros and thus other usecases I just use the default one. But at the end it comes to personal preference.
_________________
My personal space
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 436

PostPosted: Fri Oct 09, 2020 1:06 pm    Post subject: Reply with quote

Ionen wrote:
On my setup I can also start it as non-root without elogind as long as I give it access to video/input groups (I find that running it as its own user rather than mine is preferable, so I don't need access to those groups myself).


How is it possible?
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1438

PostPosted: Fri Oct 09, 2020 1:46 pm    Post subject: Reply with quote

crocket wrote:
How is it possible?
Said "on my setup" given won't be like that for everyone, doable with nvidia-drivers where X just needs access to /dev/nvidia* and two /dev/input/event*, no further privileges needed. Can create a xorg user with access to those, and then start X as xorg user while allowing X access only for your own user.

Not that I consider running X as root to be that big of a deal on a single-user machine. If actually concerned may as well just rely on (e)logind and a full featured DM.
Back to top
View user's profile Send private message
figueroa
l33t
l33t


Joined: 14 Aug 2005
Posts: 875
Location: Lower right-hand corner USA

PostPosted: Sat Oct 10, 2020 2:58 am    Post subject: Re: I recommend gui-apps/emptty over other display managers. Reply with quote

crocket wrote:
gui-apps/emptty is a pretty minimal console display manager written in Go.


I think you need to make a more convincing case. It's not in the tree. If I wasn't using lightdm just for grins at the moment, I'd just use nothing like I'd always done.
_________________
Andy Figueroa
andy@andyfigueroa.net Working with Unix since 1983.
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 436

PostPosted: Sat Oct 10, 2020 4:52 am    Post subject: Re: I recommend gui-apps/emptty over other display managers. Reply with quote

figueroa wrote:
I think you need to make a more convincing case. It's not in the tree. If I wasn't using lightdm just for grins at the moment, I'd just use nothing like I'd always done.


It's gui-apps/emptty::crocket-overlay for now. Search http://gpo.zugaina.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
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