Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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've been trying to run a windows program with wine using optirun.

However when i do:

sudo optirun wine PROGRAM_NAME.exe

I get the following output:

wine:/home/USERNAME/.wine is not owned by you

Why won't it run?

Thank you.

share|improve this question
Try it without sudo – Mitch Aug 7 '12 at 20:10
up vote 4 down vote accepted

The sudo is causing it to run as root, not as fawkes5. Instead run optirun wine PROGRAM_NAME.exe. If you need sudo to run optirun then follow this guide to give yourself permission to run it without sudo. Specifically you should run:

$ sudo groupadd bumblebee
$ sudo usermod -a -G bumblebee $USER

then log out and back in.

share|improve this answer
Thanks, that did it. – Fawkes5 Aug 7 '12 at 20:28

If you still cant get it to run, I have run it fine using crossover. The free trial is available in Software Center or you can buy it from Please note: Bumblebee is NOT officially supported by codeweavers, but IT does run!

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.