Subject: Re: [linux-audio-user] ams, jackd & X as root? on debian
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Dec 27 2002 - 12:31:48 EET
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?
This archive was generated by hypermail 2b28 : Fri Dec 27 2002 - 12:33:05 EET