Bug 32329 - Не запускается при использовании GDM3
Summary: Не запускается при использовании GDM3
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: caffeine (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Антон Мидюков
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-31 08:08 MSK by Антон Мидюков
Modified: 2023-09-14 20:43 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2016-07-31 08:08:19 MSK
$ caffeine-indicator
Traceback (most recent call last):
File "/usr/bin/caffeine-indicator", line 176, in <module>
caffeine = Caffeine()
File "/usr/bin/caffeine-indicator", line 125, in __init__
self.root = display.Display().screen().root
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 62, in __init__
display.Display.__init__(*(self, ) + args, **keys)
File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 129, in __init__
raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'No protocol specified\n'

Проблема решается добалением в $HOME/.bash_profile строчки:
xhost +
Которая отключает аутентификацию через xauth, что не есть правильно. Другого решения пока не нашёл.
Comment 1 Антон Мидюков 2023-09-14 20:43:11 MSK
Проблему с xwayland решили в gnome 32.