Commit 404c1296 authored by Vitezslav Humpa's avatar Vitezslav Humpa
Browse files

headless-next: ought to check and kill the Xorg if running after service stop

Happens on F25 Xorg session. Should have no influence on using wayland
or other distributions.
parent 71333989
......@@ -235,6 +235,10 @@ class DisplayManagerSession(object):
('sudo pkill --signal 9 %s' % (self.session_binary.split('/')[-1])).split()).wait()
if self.isProcessRunning('Xorg'): # Xorgs respawns the session on F25.. xorg never should be here... kill it
print('dogtail-run-headless-next: WARNING: Xorg still running, proceeding with kill -9')
subprocess.Popen('sudo pkill --signal 9 Xorg'.split()).wait()
def parse():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment