fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.39k stars 306 forks source link

logs flows into login screen (bug/feature request) #537

Open beastr45 opened 1 year ago

beastr45 commented 1 year ago

20230823_145404 so ive attached an image with the problem as it is very hard to describe but error messages will flow into the password field of ly display manager after xorg session close. These messages arent only xorg logs and will typically be anything. This Is a MAJOR issue because a lot of distros will have this behavior and its extremely annoying. I believe in order to solve this bug you might want to sanitize the input rendered in the password field based on non system accounts or refresh the password field but it is probably best to find this bug at the root source. If there is a way to circumvent this, the feature resquest is to put it in the documentation right away so its not impossible to find a solution and you have time to fix this bug later. this isnt an issue on ly startup but rather when switching ly sessions which i often do. please dont close this as a duplicate of the guy who had ly in the wrong order on startup because this dosent happen on system startup.

LennyPhoenix commented 11 months ago

I'm also experiencing this issue, recently it has worsened to the point of covering the entire screen with logs :confused:

AnErrupTion commented 5 months ago

@beastr45 @LennyPhoenix You may be able to redirect the stdout and stderr through the config file (e.g. x_cmd = /usr/bin/X > /etc/ly/xstdout.log 2>/etc/ly/xstderr.log, you could even do it inside your xinitrc file if you use that). Though I agree Ly should probably do that automatically.

LennyPhoenix commented 5 months ago

This is an issue with Ly startup, it happens even before launching the Xorg session

AnErrupTion commented 5 months ago

This is an issue with Ly startup, it happens even before launching the Xorg session

Quoting OP:

messages will flow into the password field of ly display manager after xorg session close.

I'm not sure if we can do anything about the logs upon startup. Perhaps changing TTY helps?

LennyPhoenix commented 5 months ago

Oh my apologies I must have misread 😅

I'll try using a different TTY. If that doesn't work should I file a separate issue?

AnErrupTion commented 5 months ago

If that doesn't work should I file a separate issue?

Yes, please.

bsdelf commented 1 month ago

I am experiencing similar issue.

I have set the tty to "9", so it does not conflict with the ttys enabled in a default Void Linux install (tty1-tty6).

However, some boot message (seems to be hardware warnings) supposed to be show up in tty1 as usual comes into the ly login screen.