[Wayland-bugs] [Bug 70876] New: Launching Weston on different tty corrupts original tty

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 26 00:00:36 CEST 2013


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

          Priority: medium
            Bug ID: 70876
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Launching Weston on different tty corrupts original
                    tty
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: ullysses.a.eoff at intel.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

When executing weston from a console tty and instructing it to launch on a
different tty causes the original tty to be corrupted.  That is, the original
tty's command-line echos garbled characters when attempting to type in it after
shutting down weston.  Moreover, while weston is running, vt-switching no
longer works.  One must use 'chvt' from an ssh session to force a vt switch.

1. Start a new console/tty session, say, on tty2 (e.g. <ctrl>+<alt>+<F2>)
2. Execute 'weston --tty=3' (as root/suid)
 * Weston should now be active and running
3. Attempt to vt-switch back to tty2 (or any other tty)
 * Observe that vt-switching does not work
4. Exit weston with <ctrl>+<alt>+<backspace>
 * Observe that display/screen does not return to a text console and
vt-switching is still not working; screen goes blank
5. Start an ssh session to the misbehaving weston device
6. Execute 'sudo chvt 2'
 * Observe the original console/tty2 session activates
7. Try typing into the console
 * Observe garbled characters echo to the screen and vt-switching is not
working

wayland (master) heads/master-0-g16b2dab
drm (master) 2.4.47-0-g951ebe0
mesa (master) heads/master-0-g64c081e
libva (master) heads/master-0-g73a11b3
intel-driver (master) heads/master-0-g01b39f7
weston (master) heads/master-0-gc85f1d4

-- 
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/20131025/120d52ab/attachment-0001.html>


More information about the Wayland-bugs mailing list