[linux-audio-user] ams, jackd & X as root? on debian

Steve Harris S.W.Harris at ecs.soton.ac.uk
Fri Dec 27 05:38:01 EST 2002


On Thu, Dec 26, 2002 at 10:41:32 -0500, Eric Dantan Rzewnicki wrote:
> Anyway. I end up with an executable ams. When I run ./ams I get this:
> 
> ./ams: error while loading shared libraries: libjack.so.0: cannot open
> shared object file: No such file or directory
> 
> I have that in /usr/local/lib/libjack.so.0 so creating this link appears
> to help:
> 
> box1:/usr/lib# ln -s /usr/local/lib/libjack.so.0 libjack.so.0
> 
> Is that the correct sollution?

No, delete that link then try running ldconfig as root, if that doesn't
work, check your /etc/ld.so.conf includes /usr/local/lib.
 
> box1:/home/eric/audio_code/ams-1.5.5# ./ams
> ams: cannot connect to X server
> 
> I assume this is because X is running as me (eric) and not as root. I'll
> try getting out of X and starting it as root as soon as I finish writing
> this message. But, is there a way to let root connect to the X server
> that's running as eric?

Run "xhost + localhost" as you to allow root to connect, there is a cleaner
way involving cookies, but I cant remeber it. I'm supprised your
distribution doesn't set that up automatically.
 
> Do those of you running jackd as root also run your X session as root?

No.

- Steve 



More information about the Linux-audio-user mailing list