Skip to content

Add no display manager support #3

@RaafatTurki

Description

@RaafatTurki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions