https://bugs.freedesktop.org/show_bug.cgi?id=64882

          Priority: medium
            Bug ID: 64882
          Assignee: [email protected]
           Summary: fbdev-backend backend appears it can't just USE a TTY.
                    It must be run ON a tty to work.
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: 1.0.90
         Component: weston
           Product: Wayland

Hi.

It will appear that when using the fbdev-backend backend, that I can't just
pass --tty=2 to use tty2 when I call weston directly as root.

I have to call weston directly as root in my loginmanager. And I can't use
weston-launch because it nukes the custom XDG_RUNTIME_DIR I am using for it.

If I just pass weston --tty=2 --backend=fbdev-backend.so, it starts hijacking
all the ttys, if I switch to a text tty, and move the mouse, it starts drawing
over it.

I noticed that when I called weston like this, it does not seem to operate
under a tty when I check the process under ps

As a workaround, I now call it open with openvt -c $TTY -- weston --tty=$tty .
When I do this, it works correctly, and when I look at the process under ps, it
is running on the tty

So it appears that if the fbdev-backend backed weston is not confined to a tty,
it tries to take over everything.

I hope I'm clear enough in my wording.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to