Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Mir kills my running X session #535

Closed
tsimonq2 opened this issue Aug 12, 2018 · 6 comments
Closed

Building Mir kills my running X session #535

tsimonq2 opened this issue Aug 12, 2018 · 6 comments

Comments

@tsimonq2
Copy link

Using native-compile.sh I built Mir on my system. I'm running LXQt in X with Openbox on Lubuntu Cosmic. Twice now, once in QTerminal and once in tty2, when the tests are ran, my session seems to be killed.

Cycling through all the ttys reveals that it's gone... But I was playing a YouTube video and I could still hear that for a short time afterwards.

@RAOF
Copy link
Contributor

RAOF commented Aug 13, 2018

Hm, what version?

Specifically, does it contain this merge? Because prior to that the acceptance tests would use the default behaviour of probing for a usable ConsoleServices implementation. If run as root or on a VT that hasn't been claimed from logind it would successfully build either LinuxVirtualTerminal or LogindConsoleServices, both of which would mess with your session.

The core Mir team uniformly build as non-root in an X session that's claimed the logind session, so we were accidentally immune to this problem 😁

@tsimonq2
Copy link
Author

Hm, what version?

Tip of master when I reported it.

@RAOF
Copy link
Contributor

RAOF commented Aug 14, 2018

Harumph. That shouldn't interact with the hardware at all :(

If it happens again could you please attach the build log, if you can get it?

@AlanGriffiths
Copy link
Contributor

Wow! I don't think I ever knew that file exists. It is ..um.. interesting.

@AlanGriffiths
Copy link
Contributor

I wonder if this is related to #539?

@tsimonq2 would you mind checking the scenario described there from the LXQt desktop?

@AlanGriffiths
Copy link
Contributor

Pretty sure now that this and #539 are both the result of our logind console-services messing with an X11session that hasn't claimed the VT from logind.

bors bot added a commit that referenced this issue Aug 16, 2018
547: Don't try logind if X is about r=RAOF a=AlanGriffiths

Avoid breaking X11 desktops that have not claimed the VT from logind. (Fixes #535, #539)

Co-authored-by: Alan Griffiths <alan@octopull.co.uk>
@bors bors bot closed this as completed in #547 Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants