LoginSignup
5
2

More than 5 years have passed since last update.

xgd-openのエラー

Last updated at Posted at 2017-12-01

UbuntuでCUI上で操作しているフォルダをGUIで表示したい時などに以下のコマンドを使いますね

$ xgd-open .

そうするとこんなエラーが!

Nautilus-Share-Message: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)

NautilusはNetコマンドを使ってnet usershare infoを叩きます。これがないので、以下でインストール

sudo apt install samba-common-bin

そうするとまたエラーが・・

Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.

/var/lib/samba/usersharesがないと言っているので、作ってあげる。

sudo mkdir -p /var/lib/samba/usershares

これでエラーが出なくなった!

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2