What's needed for an application to be able to set realtime priority?

Asked by Uqbar

LMMS is saying "Notice: could not set realtime priority.".
But running it with sudo I run the application as root and it will get the realtime priority.
Is there another way to do it without sudo (like adding the user to some group)?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Uqbar
Solved:
Last query:
Last reply:
Revision history for this message
Kenji (kenji-3g) said :
#1

You can add your user account to root group. (so you will boot and run and always be under root rights)

Revision history for this message
Uqbar (uqbar) said :
#2

That wouldn't work for two reasons: first, I already tried it with no result, second belonging to root group doesn't give you root rights but just root group rights.

Revision history for this message
Uqbar (uqbar) said :
#3

You need to run as root UID not root GID.