Notices


Reply
Thread Tools
Posts: 39 | Thanked: 1 time | Joined on Aug 2006
#11
Afaik amarok has no esd use flag and compiling xine-lib with the esd use flag should suffice. I even compiled amarok-1.4.2 final from source today without using any ebuild and reemerged xine-lib ad esd, still the same result. Seems that something else is borked on this system.
I will have to stick to slimserver for now when I want to stream music to my 770, fortunately that works well.
Anyway, thanks for trying to help.

Bye, Val.
 
Posts: 39 | Thanked: 1 time | Joined on Aug 2006
#12
Found the cause! Since I compiled the last amarok with the debug flag set got some hints. Seems to have been NX related and have to do with name resolution and the correct value of the $DISPLAY environment variable.
Now output worked, but only for a few moments. When pausing sound in amarok it freezed and even when there ws sound quality was low and had a constant phweeeeee tone in my headphones like I had with slimserver when no sound was playing.

Bye, Val.
 
Posts: 39 | Thanked: 1 time | Joined on Aug 2006
#13
jnack95, I guess you wrote a little shell script that lets you start amarok from the 770 with all set up for the sound streaming working with esd?
If so, could you please help me since I have trouble here with setting $ESPEAKER and $DISPLAY variable right.

Bye, tira.
 
Posts: 39 | Thanked: 1 time | Joined on Aug 2006
#14
So, I finally was able to X-forward an Nx session to the 770. Worked quite like normal X-forwarding, but unfortunately suspending and resuming a session didn't work, which probably is related to nxserver issues (not openssh on the 770). I tried to get it to work on kubuntu, but there I was stopped much earlier, as the nxserver wouldn't work at all). When I find where to I will send a bug report to NoMachine about this.
Just to recap what I did:
ssh -Y taco@tux1
/usr/NX/bin/nxserver --startsession --type=unix-application --application=/usr/bin/amarokapp --rootless=1

Then I suspended the session, at the moment I had this to do as root on tux1.
ssh root@tux1
/usr/NX/bin/nxserver --suspend taco

Here something goes wrong and the Nx session is always aborted instead of suspended (in the logs it seems that suspend works, but then another part of nx not in sync recognizes that the session status has changed and aborts the suspending session, but thats only a wild (don't understand much of these things) guess of mine).

I would be nice if someone with a working Nx-2 installation could test this and we could rule out that it is only my installation that is faulty.

Bye, tira.
 
Posts: 184 | Thanked: 112 times | Joined on May 2006
#15
Tirabosco,
I haven't gotten around to writting a shell script yet but here is what I did to get sound with amarok on the 770. Following pycages' advice (see previous link), this is what I did on the 770:

sudo gainroot
vi /etc/init.d/esd (use vi or another text editor)

change
DAEMON_OPTS=""
to

DAEMON_OPTS="-tcp -public"
and the line

dsmetool -f "$DAEMON"
to

dsmetool -f "$DAEMON $DAEMON_OPTS"

per pycage "That's it. Reboot the tablet or restart esd and you can SSH into a remote system and redirect esd output to the tablet by setting the ESPEAKER environment variable pointing to the tablet's IP address, e.g."

export ESPEAKER=192.168.22.77

This only works if you can get amarok to play sound on the host device using the esd plugin (xine engine)...which took a while to get working...and still dosen't always work properly (99% reliable)
 
Posts: 184 | Thanked: 112 times | Joined on May 2006
#16
More interesting notes re ssh x forwarding. Selecting Full Screen in Firefox over ssh works perfectly as does sound if you export the esd output as discussed above. Firefox over ssh (on my home network) is much faster than the opera browser (loading pages) and can display all ajax enabled sites (I can no longer use yahoo with the opera browser). The BT keyboard also works flawlessly with it. You tube even works, but the video/sound is choppy. Streamed audio works very good. Anyone have any idea how this would work over the internet via dyndns or the like? I'll not use opera at home any longer.
 
Posts: 39 | Thanked: 1 time | Joined on Aug 2006
#17
Found this http://wmltd.co.uk/index.php/products/sumo_thin_client and it seems that they built a gtk interface for nx client stuff (look screenshots). They call their distro Foundry Linux, I didn't understand from their website if it is GPL (probably yes), but if it is it should be possible with less effort to build a full featured (full screen capable ) nx client for the 770. Gonna look more into this.

Bye, tira.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:10.