Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add no display manager support #3

Open
RaafatTurki opened this issue Jun 28, 2022 · 1 comment
Open

Add no display manager support #3

RaafatTurki opened this issue Jun 28, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@RaafatTurki
Copy link

RaafatTurki commented Jun 28, 2022

Some folks (me included) don't use display managers like lightdm or gdm
I personally just execute good old xinit right after login (using .profile), other people use ly or tbsm

Point is not all use a graphical display manager.
I ended up editing stop_display_manager to

function stop_display_manager {
  pkill xinit
  while pgrep xinit > /dev/null; do
    sleep 1
  done
}

Which works fine (keep in mind this is x11, wayland people should do something else) however I couldn't get restore_display_manager to work
Simply executing xinit doesn't do anything, I believe because it's not executed in a tty

The end result is whenever I shutdown my vm, I face a really scaled down version of my tty to the point all text becomes blurred
scaled_down_tty

I can execute xinit or startx - and get back to my window manager just fine (even the tty restores its original resolution) but I'd rather my window manager be automatically launched

I will test with ttyecho and see what I can do

@RaafatTurki
Copy link
Author

ttyecho worked, I've installed it via the aur and edited restore_display_manager to

function restore_display_manager {
  ttyecho -n /dev/tty1 xinit
}

it opens my windows manager on tty7 instead of tty1 (where it originally was) but I'm nitpicking at this point

@mateussouzaweb mateussouzaweb added the wontfix This will not be worked on label Feb 5, 2024
@luvher luvher mentioned this issue Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants