Remote NX login to Ubuntu, Gnome can't mount CD/DVD drive
- by T.J. Crowder
Even though I'm sitting next to it, I log into my Ubuntu 10.04 LTS system via NX Free Edition from another system at the moment (this is temporary, not worth buying a KVM for). Curiously, though, when I do that Gnome's auto-mounting fails for CD/DVD media (I haven't tried other kinds) with a "Not Authorized" error. For instance here's what happens when I put the Ubuntu 10.04 LTS installation CD in:
This does not happen if I log into it locally (not via NX) with the same user account.
When using NX, I can mount the media if I go to mount directly:
tjc@midnight:~$ sudo mkdir /media/dvd
tjc@midnight:~$ sudo mount -r -t iso9660 /dev/sr0 /media/dvd
tjc@midnight:~$ ls /media/dvd
autorun.inf casper dists install isolinux md5sum.txt pics pool preseed README.diskdefines ubuntu wubi.exe
...which, along with the "not authorized" error, suggests some kind of permissions problem to me (doh). What I find odd is that the same user is involved in both cases (local and via NX).
I'm new to Ubuntu on the desktop (used it and other distros on servers for years), so I'm afraid I don't know how this auto-mounting is happening. I think it's handled by the gvfs package and its daemon, but that's about as far as I got (and perhaps I've taken a left turn even getting that far).
Although I can work around it with mount, does anyone know how I might get auto-mounting to work?