我不再能够访问我的计算机上的外部驱动器(运行Ubuntu18.04LTS)。几周前情况很好,所以我不确定是什么改变了。
当我试图打开Nautilus中的驱动器时( USB驱动器和我的额外硬盘驱动器),我会收到以下错误消息:
Unable to access "8.1 GB Volume"
Not authorized to perform action当我把Nautilus作为根运行时,它甚至没有显示驱动器。我能够以这种方式运行sudo gnome-disks并与驱动器进行交互。如果我只运行gnome-disks,那么我就没有权限并得到相同的错误消息。
我没有这个问题在另一个Ubuntu18.04LTS机器与相同的USB驱动器。没有根茎的牛肝菌效果很好。所以我认为问题不在于硬盘,而在于计算机。
发布于 2019-12-08 20:05:40
我终于想出来了。我的用户帐户是chrome-remote-desktop组的一部分。一旦我从那个组中删除它并重新启动我的计算机,自动安装和访问驱动器就会像预期的那样工作。
我在下面的文章:chrome-remote-desktop中添加了我的用户:https://superuser.com/a/850359/588342。这样做后,铬远程桌面自动运行启动.相反,我只是在“启动应用程序首选项”中添加了一个运行它的命令:/opt/google/chrome-remote-desktop/chrome-remote-desktop --start
发布于 2019-11-25 17:28:39
使用命令:
sudo chown yourusername:yourusername /media/yourusername/path_to_mounted_volume在nautilus用户模式下,卷被安装在/media/yourusername/中。
将yourusername替换为用户名,将path_to_mounted_volume替换为path from命令:
ls -l /media/yourusername/发布于 2020-02-20 22:49:28
我试过了,但还是不能工作。解决办法是将用户名保存在铬远程桌面中。从chrome-remote-desktop服务中删除systemctl服务。
sudo systemctl disable chrome-remote-desktop然后通过GUI将命令/opt/google/chrome-remote-desktop/chrome-remote-desktop --start添加到“启动应用程序首选项”。
https://askubuntu.com/questions/1191603
复制相似问题