Bug #10460

Test suite's display_in_use is not compatible with rootless X.Org

Added by intrigeri 2015-10-31 06:23:34 . Updated 2015-12-14 13:34:25 .

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2015-10-31
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

On current sid (at least when using GDM, not sure if the other DM’s have caught up yet) X runs as non-root, and our usual ways to detect if :0 is used don’t work, so we try to start Xvfb on that display and it fails and then start_xvfb runs sleep 1 in an endless loop. I haven’t found another way to identify whether a display is in use yet.


Subtasks


History

#1 Updated by intrigeri 2015-12-14 13:34:25

I’ve just seen that again. /tmp/.X11-unix/X0 doesn’t exist (anymore?) even though my $DISPLAY is :0. sudo touch /tmp/.X11-unix/X0 works around the problem temporarily here.