I have OpenSUSE 10.3 on the workplace. And I need to automate launch of one windows app by local user with root privileges (transparent for user). I know, that wine developers recommends to lunch wine under local user, but my app need some privileges that can’t supply by regular user.
I have tried to use sudo (sudoers file was modified accordingly) “sudo wine …”, but I received “Cannot connect to X server …”. Tried “DISPLAY=:0 sudo wine …” output was the same.
How can I solve it?
P.S. “su root -c ‘wine …’” doesn’t spawn the error, but can’t satisfied my needs, because it asks for root pass.