Here is my script:
#!/bin/sh
# To Fit Screen Resloution
Xaxis=$(xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f1)
Yaxis=$(xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f2)
MaxRes=$(($Xaxis))"x"$(($Yaxis-50))
# Remote Desktop
xfreerdp -g $MaxRes --plugin cliprdr -u $USERNAME -p $PASSWD -d $DOMAIN --plugin rdpsnd --data alsa -- $1 > /tmp/xfreerdp.log
Reference:
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/wiki/PreBuilds
https://github.com/FreeRDP/FreeRDP/issues/1540
https://github.com/FreeRDP/FreeRDP/wiki/Plugins
http://unix.stackexchange.com/questions/153552/linux-rdp-with-audio-and-mic
http://osdir.com/ml/freerdp-devel-remote-desktop-protocol/2011-08/msg00115.html
No comments:
Post a Comment