Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multiple servers
19-03-2017, 10:13 AM,
#1
multiple servers
Hi
i would like to install RPI around the office and have a few different terminal servers and different virtual desktop icons on the "Desktop"

is there a way i can configure a few freerdp icons to different servers?
thanks
Reply
23-03-2017, 09:54 AM, (This post was last modified: 23-03-2017, 09:56 AM by admin.)
#2
RE: multiple servers
Yes, its possible. You have to:
create a new freerdp.desktop file in /usr/share/applications/
sudo cp /opt/config/xFreeRDP.desktop /usr/share/applications/xfreerdp_myserver.desktop
the .desktop file structure is very simple, you have to modify Name and Exec, for example:
sudo nano /usr/share/applications/xfreerdp_myserver.desktop
[Desktop Entry]
Encoding=UTF-8
Name=xFreeRDP_MySuperServer
Exec=/opt/scripts/xfreerdp_superserver.sh
Icon=/opt/graphics/icons/xfreerdp.png
Type=Application
NoDisplay=false
Terminal=false
StartupNotify=true
Categories=Application;Network;

save the file and exit nano: ctrl+x, y

now create the /opt/scripts/xfreerdp_superserver.sh script (with your rdp params!):
sudo nano /opt/scripts/xfreerdp_superserver.sh
#!/bin/sh

xfreerdp_git +fonts -sec-nla /rfx /sound:sys:alsa /cert-ignore /size:1280x720 /v:MySuperServer

save and exit nano: ctrl+x, y

now add the exec flag to the new script:
sudo chmod +x /opt/scripts/xfreerdp_superserver.sh

Last step is to add the new xfreerdp_superserver file to the docky taskbar, to do that you can run this command (as standard user, not root this time):
/opt/scripts/dockyadd.sh xfreerdp_myserver.desktop

Now reboot the RPi and after that you will se a new xfreerdp icon in the left docky menu.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)