[regression] Mir gives up too easily - std::exception::what: Failed to find the current VT
Bug #1169020 reported by
Daniel van Vugt
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Medium
|
Daniel van Vugt | ||
mir (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I have always run Mir from an ssh login, but also made sure I have a VT1 login on the console too. This has worked well until recently. Now we seem to have introduced a restriction that mir can only be started from the physical console...
$ bin/mir
ERROR: /home/dan/
Dynamic exception type: boost::
std::exception:
Related branches
lp://staging/~vanvugt/mir/fix-1169020
On hold
for merging
into
lp://staging/mir
- Mir development team: Pending requested
-
Diff: 327 lines (+67/-110)2 files modifiedsrc/platforms/mesa/server/kms/linux_virtual_terminal.cpp (+54/-96)
tests/unit-tests/graphics/mesa/kms/test_linux_virtual_terminal.cpp (+13/-14)
Changed in mir: | |
importance: | Medium → Low |
tags: | added: vt |
tags: |
added: regression removed: regression-update |
Changed in mir: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mir: | |
status: | Triaged → In Progress |
milestone: | none → 0.25.0 |
Changed in mir (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
This should work when running as root. I can add some more logic, so that if the user that is trying to run mir is logged in any VT, then mir will be able to find the current VT, regardless of whether it is the VT the user is logged in. I think this should allow you to work as before (of course, proper VT switching will still not work if your run as a normal user).