[gelöst/solved] black screen after startup

Started by Pergola, 2024/06/03, 15:48:49

Previous topic - Next topic

Pergola

Hi everyone,

I am using Standing on the Shoulders of Giants with Fluxbox and NODM. Sometimes I get a black screen after startup. If I press Ctrl+Alt+Backspace then, I get to the normal graphical interface and everything works fine. Any idea what could cause this behavior?

Also - it might be related - I get this message before every shutdown or reboot: "no session for pid" and then a changing number.

Cheers
Pergola

unklarer

If I understand correctly, you start with startx AND automatic user login.

If this is the case, then switch off the automatic login.   ;)

Pergola

#2
Hi,

no, I actually don't have to type startx but just press Ctrl+Alt+Backspace. Then, I don't get a prompt but the graphical interface starts immediately. Apart from that, I want to have automatic login which is why I installed and set up NODM.
This behavior also only happens sometimes. Sometimes I go directly to the graphical interface... very strange.

hendrikL

#3
If I read the homepage/github Readme, nodm is not maintained anymore-

https://github.com/spanezz/nodm/
Quote
I do not use nodm anymore. I do not maintain nodm anymore.

To be really functional, nodm needs to be refactored to properly be a display manager with all that it requires in 2019 to be one. It currently does not make any effort to do so, and will break in obscure way as a result.

Nobody should really need nodm anymore: lightdm's autologin now does the right thing out of the box: please use that.
[...]
On a normal computer, using nodm is a big security issue because it would give anyone access to the computer.
[...]

It is 5 years ago that it has became an update, maybe it is too old to function in modern times on pc, not made for that use?
It will not be easy to find the reason, take a look in the xserver logs, jounalctl, dmesg and so on.

unklarer

apart from hendrikL...    :)

Thank you for writing something about nodm.
I used the internet SUFU (search function) to find out what nodm is.

According to the Debian wiki (from 2019), it is not recommended to use it because
QuoteDebian 9 (Stretch) und höher

Ab Debian 9 (Stretch) ist zu überlegen, ob man nicht doch den Displaymanager der Desktopumgebung entsprechend konfiguriert und auf nodm verzichtet. Denn von nodm, wird der X-Server mit Rootrechten gestartet. Wohingegen GNOME/GDM3 den X-Server unter der eigenen UID, mit eingeschränkten Rechten startet.
---
Debian 9 (Stretch) and higher

From Debian 9 (Stretch) onwards, you should consider whether you should configure the display manager of the desktop environment accordingly and dispense with nodm. This is because nodm starts the X server with root rights. Whereas GNOME/GDM3 starts the X server under its own UID with restricted rights.

and the Ubuntu wiki, development has been discontinued since 2017.
QuoteDie Entwicklung von nodm wurde 2017 eingestellt und der Entwickler hat als Ersatz lightdm-autologin-greeter geschrieben,
---
The development of nodm was discontinued in 2017 and the developer wrote lightdm-autologin-greeter as a replacement,

Pergola

Ok... I deinstalled NODM and switched to slim instead, all problems are solved now. Thank you!

unklarer

Naja, auf deutsch: 'Vom Regen in die Traufe'   :D

Bitte noch deinen Eröffnungspost mit [geklärt] oder [gelöst] in der Betreffzeile makieren. Danke.