通过SSH在Windows 11上远程启动Ubuntu桌面的问题求助
通过SSH在Windows 11上远程启动Ubuntu桌面的问题求助
我现在在Windows 11上装了PuTTY和Xming,想通过SSH远程运行Ubuntu的桌面会话(之前用Solaris的时候这么成功过)。目前已经能通过ssh -Y连接到Ubuntu,而且xeyes和xclock这类简单的X应用都能正常运行。
查看DISPLAY变量的输出如下:
$ echo $DISPLAY localhost:10.0 $
不过当我尝试启动Firefox的时候,出现了一堆错误:
$ firefox update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help none bind,ro 0 0): cannot open directory "/var/lib": permission denied update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib": permission denied PuTTY X11 proxy: Unsupported authorisation protocol Error: cannot open display: localhost:10.0 $
启动Nautilus的时候也遇到了问题:
$ nautilus . Nautilus-Share-Message: 11:16:20.428: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
之后程序就直接挂住了。
想请教大家,这种远程启动Ubuntu桌面的方式到底可行吗?如果可以的话,我应该尝试哪些方法来解决这些问题?
更新信息
我查了本地的桌面包安装情况,输出如下:
$ dpkg -l | grep ubuntu-desktop ii ubuntu-desktop 1.481 amd64 The Ubuntu desktop system ii ubuntu-desktop-minimal 1.481 amd64 The Ubuntu desktop minimal system $
备注:内容来源于stack exchange,提问作者Richard Barraclough
相关产品推荐
相关产品推荐

