however in this tutorial it is explained how to get FPS (frames per second) boost: https://www.playonlinux.com/en/topic-97 ... Games.html
but i can not get this part done:
Code: Select all
Now we need to change some permissions for the X-server so that your script will work. Before you go further you should know that changing this setting is not a security best practice but there are no exploits in the wild that make use of it and the chance of seeing one in our lifetime that targets home Linux PCs is virtually nonexistant.
If you're fine with that, run this command in the terminal:
sudo dpkg-reconfigure x11-common
Select the 'Anybody' option and then 'OK' to exit. You can close the terminal emulator now.is this what i need to "change some permissions for the X-server so that your script will work"??
Code: Select all
Alternative method
In this section we will detail "setgid" mentioned above.
The objective is to run X as an unprivileged user without adding a user to the input group. This can prevent user from accidentally or intentionally snooping on the input.
To achieve this goal we make use of setgid so that when a user starts X, the X server will be automatically granted permission to access input devices.
Change the ownership of /usr/bin/Xorg:
root #chown -v :input /usr/bin/Xorg
Change the file permission of /usr/bin/Xorg:
root #chmod -v g+s /usr/bin/Xorg
Now your user is not required to be in the input group to run X server. To remove your user from input group:
root #gpasswd -d user input
But your user still needs to be in the video group:
root #usermod -a -G video user
Now start X as a regular user (see above) and X server should function well. 
