Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-13-2013, 05:44 PM
|
#1
|
Member
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38
Rep: 
|
jack - how to run as a user?
hello all
I have a little problem. I am running slackware 14 and installed jack, qjackctl and all the dependencies. I can run qjackctl successfully as root but not as my user.
I am a musician and am running the program guitarix (awesome software) and would love to be able to run this program as a normal user.
please help
--scarrs
|
|
|
09-14-2013, 01:22 AM
|
#2
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Where did you put the binary? Normally it should go in /usr/bin. Assuming that's where it is, then post the output for this:
Code:
ls -l /usr/bin/qjackctl
If it's not in /usr/bin (or perhaps, /bin) then find out where it is and check on the permissions using the command suggested above.
jdk
|
|
|
09-15-2013, 10:48 AM
|
#4
|
Member
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38
Original Poster
Rep: 
|
nope
that command totally killed qjackctl I can't even start it now. please help
Quote:
Originally Posted by turtleli
|
|
|
|
09-15-2013, 11:48 AM
|
#5
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep: 
|
Reading the page again it seems you also need to set jackd to have the same capabilities.
So you also need
Code:
setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/jackd
But if that doesn't work, you can remove the capabilities with
Code:
setcap -r /usr/bin/qjackctl
setcap -r /usr/bin/jackd
|
|
|
09-15-2013, 03:14 PM
|
#6
|
Member
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38
Original Poster
Rep: 
|
still no luck...
I tried both of those commands and I can't get qjackctl running as a user. I reverted the qjackctl line and qjackctl starts again but fails to run when I try to start the server. qjackctl still continues to run perfectly as the root user. I am so close, don't give up guys. I need a little help with one.
Quote:
Originally Posted by turtleli
Reading the page again it seems you also need to set jackd to have the same capabilities.
So you also need
Code:
setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/jackd
But if that doesn't work, you can remove the capabilities with
Code:
setcap -r /usr/bin/qjackctl
setcap -r /usr/bin/jackd
|
|
|
|
09-17-2013, 08:11 AM
|
#7
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep: 
|
Perhaps the people in the Slackware section would be able to help you out more. If you think it'll help solve your problem then use the report button and ask for your thread to be moved.
|
|
|
09-17-2013, 08:46 AM
|
#8
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Moved: This thread is more suitable in Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
09-22-2013, 09:44 AM
|
#9
|
Member
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 38
Original Poster
Rep: 
|
update: working
I reinstalled slackware and installed all my programs again. setting those 2 commands provides the help I was looking for.
|
|
|
All times are GMT -5. The time now is 05:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|