[Wayland-bugs] [Bug 64882] New: fbdev-backend backend appears it can't just USE a TTY. It must be run ON a tty to work.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 22 16:32:54 PDT 2013


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

          Priority: medium
            Bug ID: 64882
          Assignee: wayland-bugs at lists.freedesktop.org
           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: nerdopolis1 at verizon.net
          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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130522/9dd4eb42/attachment.html>


More information about the Wayland-bugs mailing list