我有几台通过xRDP从Windows机器连接到的机器。我使用的是x11rdp后端和xRDP。我的桌面是KDE。当我执行动作时,我通常会被要求执行,当我远程连接时,我不会得到提示。
我正在试验一些我为其他发行版找到的信息,这些信息似乎表明问题在于xauthority在登录时没有被正确设置。但是,我无法找到正确的方法来设置KDE下的内容,并确保x11rdp在登录时做了需要做的事情。
发布于 2018-03-30 17:42:52
我想我找到了一个答案,在综合了另外两个关于这个问题的答案。它的要点似乎是.Xauthority文件有一些问题。
我根据我在以下链接中找到的其他两位信息拼凑了一些似乎解决了这个问题的东西:
https://superuser.com/questions/806637/xauth-not-creating-xauthority-file https://forums.linuxmint.com/viewtopic.php?t=61971
以下是我所做的:
# Rename the existing .Xauthority file by running the following command
mv .Xauthority old.Xauthority
# xauth with complain unless ~/.Xauthority exists
touch ~/.Xauthority
# I have xRDP set up to start at display 10.
# I'm the only user and sessions reconnect so I only use a single entry.
mcookie|sed -e 's/^/add :10 . /'|xauth -q在重新启动系统后进行快速检查时,当我访问gnome磁盘管理器时,它会提示我输入密码,而gnome磁盘管理器从来没有这样做过。
https://askubuntu.com/questions/1018706
复制相似问题