> >
> > I can access comparable server hardware and I still see barely
> > acceptable youtube (and horrible vimeo).
> >
> > It would seem that network performance and CPU on the client is the
> > differentiator.
> >
> > I would like to pursue this discussion and invite others to share
> > their experience.
> 
> Question are you using xvnc or x11rdp? If you are using the former then
> it does not surprise me that you don't get good performance.

We are using xrdp 0.6 with x11rdp.

> 
> Note that video that is not full screen is as smooth as can be. So doing
> playback of Big Bug Bunny at 480p or 720p is perfectly smooth. Switching
> to the 1080p version and it takes a few seconds to settle down but is
> then smooth provided you don't do anything else.
> 

This is far from what I have seen so far. I need to retest on a decent PC with 
Gb Ethernet... or understand what else this depends on.

> Watching a YouTube clip in a browser window for example has never been
> an issue. Also note that there is no sound with this video, never got
> around to getting it working as sound in an open office is not a good
> idea anyway.
> 

Sound is not a problem on a LAN .

Jay Sorg just replied that sound redirection will be available on 0.7, which is 
great news. That will enable sound even on access from different networks.

Meanwhile, if you're on a LAN, you can run this on the login script (ex: 
startkde) on the XRDP server:

--------------------------
XRDPLOG=/var/log/xrdp/sesman.log 
TERMINALIP=`grep $USER $XRDPLOG |tail -n 1 | awk '{ print $12 }' | awk -F: '{ 
print $1 }'`
export PULSE_SERVER=tcp:$TERMINALIP:4713
-------------------------- 

On the client you must configure pulse audio to accept this connection. The .pa 
file can have something like:

--------------------------
#!/usr/bin/pulseaudio -nF

# accept network sound - http://www.pulseaudio.org/wiki/NetworkSetup
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
load-module module-alsa-sink sink_name=alsaoutput device=hw:0 rate=48000 
channels=6

set-default-sink alsaoutput

# and now, the usual stuff, based on Ubuntu gutsy /etc/pulse/default.pa...
# Various ways to deliver sound to this server
load-module module-esound-protocol-unix
load-module module-native-protocol-unix

# Automatically restore the volume of playback streams
load-module module-stream-restore

# Automatically move streams to the default sink if the sink they are
# connected to dies, similar for sources
load-module module-rescue-streams

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
load-module module-console-kit

.nofail

# Publish connection data in the X11 root window
load-module module-x11-publish
--------------------------

Cheers
Gustavo


-- 
Angulo Sólido - Tecnologias de Informação
http://angulosolido.pt

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to