Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 6137  / 2 Years ago, sun, june 26, 2022, 1:40:57

I am trying to create a 'shortcut' that I can pin to my launcher in Ubuntu 12.04.3 LTS that will launch an RDesktop session.



It works fine from the command line thus:



rdesktop -u UserName -d Domain -g 1024x720 -a 16 ServerName


I found something close in Terminal command script launcher, but it does not quite work.



I made the desktop file that contains this (made it executable etc as per the link above):



[Desktop Entry]
Version=1.0
Name=RDP-ServerName
Comment=Open an RDP session to ServerName
Exec=rdesktop -u UserName -d Domain -g 1024x720 -a 16 ServerName
Terminal=true
Type=Application
Categories=Utility;Application;


I figured if I could get it to work from the desktop, then I could somehow pin it to the launcher afterwards?



However, when I run it from the desktop, nothing seems to happen. I tried choosing the 'terminal' option, and also the 'run' option, but neither seems to work.


More From » unity

 Answers
3

Had a similar issue with xfreerdp client. Passing parameters from the command line using the terminal works, but could not make it work at first using a desktop launcher (shorcut, in Windows terminology). The solution was to create a script to call the client:


~/bin/RDPWindows.sh:


xfreerdp /d: /u:username /p:password /v:10.10.10.10 /size:100% /dynamic-resolution

Then, creating a launcher pointing to the script works just fine.


[#27064] Monday, June 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
afisird

Total Points: 193
Total Questions: 112
Total Answers: 111

Location: Angola
Member since Mon, Jul 12, 2021
3 Years ago
afisird questions
Wed, Jul 27, 22, 03:53, 2 Years ago
Sun, Mar 12, 23, 18:05, 1 Year ago
Sun, Dec 11, 22, 01:19, 1 Year ago
;