Python3 xlib:无法解析Xauthority

问题描述 投票:0回答:1

作为最小的示例,以下代码:

from Xlib import xauth
xauth.Xauthority()

提供以下输出:

Xlib.xauth: warning, failed to parse part of xauthority file /home/sam-barr/.Xauthority, aborting all further parsing

Python xlib版本:0.27

xorg-xauth版本:1.1

OS:(arch)linux

python-3.x xorg
1个回答
0
投票

对我有用的解决方案是删除我的.Xauthority文件,然后重新启动。

© www.soinside.com 2019 - 2024. All rights reserved.