trouble with hydrogen and qsampler in kxstudio

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: khz, MattKingUSA

babag
Established Member
Posts: 23
Joined: Tue Mar 14, 2017 11:06 pm

trouble with hydrogen and qsampler in kxstudio

Postby babag » Sun Apr 29, 2018 5:49 pm

these two are what i've found so far after setup. i can only run them with sudo. is that normal? from what i gather, it's not. if that's the case, how do i get them to run from my normal account?

thanks,
BabaG

stanlea
Established Member
Posts: 546
Joined: Wed Apr 25, 2012 9:49 pm

Re: trouble with hydrogen and qsampler in kxstudio

Postby stanlea » Mon Apr 30, 2018 3:09 pm

This shouldn't happen. You can find the executables and set properties manually, but the good way would be to understand where the problem comes from, for it may occur other times.
Also did you check the permissions ? Your account user should be in the "audio" group.

User avatar
falkTX
Established Member
Posts: 6646
Joined: Sat Jan 09, 2010 3:04 pm

Re: trouble with hydrogen and qsampler in kxstudio

Postby falkTX » Mon Apr 30, 2018 8:43 pm

maybe you ran them with sudo once, so their config files got written with root permissions and now your normal user cannot read them.
One thing to keeping in mind for the future - *never run GUI applications as root*

If that was indeed the case, see if you can find their config files and delete them. Maybe they will start working again afterwards.
Paths should be ~/.config/hydrogen/ and ~/.config/linuxsampler.org/Qsampler.conf

Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet

Re: trouble with hydrogen and qsampler in kxstudio

Postby Lyberta » Thu May 03, 2018 9:17 pm

falkTX wrote:One thing to keeping in mind for the future - *never run GUI applications as root*


What about Synaptic and GParted?

User avatar
lilith
Established Member
Posts: 891
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: trouble with hydrogen and qsampler in kxstudio

Postby lilith » Thu May 03, 2018 10:46 pm

:lol:
Lyberta wrote:
falkTX wrote:One thing to keeping in mind for the future - *never run GUI applications as root*


What about Synaptic and GParted?


Anyway ... that info is also new to me.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
falkTX
Established Member
Posts: 6646
Joined: Sat Jan 09, 2010 3:04 pm

Re: trouble with hydrogen and qsampler in kxstudio

Postby falkTX » Fri May 04, 2018 7:24 am

synaptic and gparted do not run as root directly (I mean, not with sudo).
they use policykit, pkexec or other techniques to escalate user privileges as needed.
and btw, starting with wayland, running apps with sudo or as root user directly will no longer work.

pkexec is actually still not good enough for wayland, since the entire app runs with admin/root permissions.
they need to be ported to use policykit or similar if they want to use them in wayland. at least, this is what I understood from the situation.


Return to “Samplers & samples”

Who is online

Users browsing this forum: No registered users and 1 guest