Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Nomachine NX server on my Ubuntu 12.04, and I'm connecting from a Windows 7 machine using NX client.

When I try to start VirtualBox, I get a permission denied error. The same user that I use to connect to NX session can obviously run VirtualBox just fine.

How do I fix this?

share|improve this question
Run an strace -Ff virtualbox 2>&1 | grep -i denied and see what system call is giving the permission denied... – allquixotic Oct 28 '12 at 19:26
thanks, this is going to be useful – mahonya Oct 28 '12 at 21:55

I've found out that local access from the Ubuntu machine was leading to the same error. A restart fixed the problem, though this is the first time I've had to resort to a restart for VirtualBox. allquixotic's response will help next time I face a similar problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.