I'm running Ubuntu 14.04 and I want to run wine under a different account for security reasons. I also want to access it from different accounts. So I made an account called wine and now I want a way to make it easy to run Wine or Playonlinux w/o having to run special commands each time. (I'm setting this up for my family who each have different accounts.)
Asked
Active
Viewed 1,291 times
1 Answers
4
This is a 4-step process:
- Install
gksubyapt-get install gksu - Create a bash script that uses
gksu - wineto change to the userwineand then execute the commands needed. (as that script is used by all users, it should probably go in/usr/local/bin.
(For the cautious types: try it in~/binfirst) - Turn X11 forwarding on by adding the following line as last line:
export $(dbus-launch)to your/etc/bash.bashrc - Create a link (or a desktop file) to that script and put it on the individual user's desktop.
Pro Tip: If you want to run that link without a password, have a look here
Fabby
- 35,017