Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
Try it without sudo –  Mitch Aug 7 '12 at 20:10

2 Answers 2

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
1  
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 codeweavers.com Please note: Bumblebee is NOT officially supported by codeweavers, but IT does run!

share|improve this answer

Your Answer

 
discard

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.