virt Manager「エミュレータにそのパスの検索権限がない可能性があります」

virt Manager「エミュレータにそのパスの検索権限がない可能性があります」

Fedora 27で仮想マシンを設定しようとしていますが、仮想マシンを作成してISOを選択するとメッセージが表示されます。

The emulator may not have search permissions for the path '/path/to/fedora.iso'

問題を解決するために「はい」をクリックするとエラーが発生します。

Errors were encountered changing permissions for the following directories: 
/run/media/user : [Errno 1] Operation not permitted: '/run/media/user'
It is very likely the VM will fail to start up.

メッセージからわかるように。仮想マシンを実際に起動できません。問題を検索して発見した問題この投稿sudoを使用してvirt-managerを実行することをお勧めしますが、これは出力を提供しました。

No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused

(virt-manager:14616): Gtk-WARNING **: cannot open display: :0

仮想管理者を機能させるにはどうすればよいですか?

ベストアンサー1

Nautilusを管理者として実行し、目的のユーザーのグループ権限を変更することをお勧めします。ユーザーが libvirt グループにあることを確認します。

  1. #sudo -i
  2. #ノーチラス

ユーザーとグループの権限を管理するためのグラフィカルツールが必要な場合は、LXQT-admin-toolが私が見つけた最も簡単な方法です。https://github.com/lxqt/lxqt-admin

おすすめ記事