error: server hostname was not specified with /v:<server>[:port]
PAC appears to keep appending the -T option after the IP which xfreerdp does not like (at least my version).
What is happening:
$ xfreerdp -g 800x600 -a 8 --ignore-certificate -u username.example 192.168.1.10 -T "Tab_Name"
WARNING: Using deprecated command-line interface!
-a 8 -> /bpp:8
-T Tab_Name -> /title:Tab_Name
-g 800x600 -> /size:800x600 or /w:800 /h:600
-u username.example -> /u:username.example
--ignore-certificate -> /cert-ignore
(null) -> /v:(null)
error: server hostname was not specified with /v:<server>[:port]
What should be happening:
$ xfreerdp -g 800x600 -a 8 --ignore-certificate -u username.example -T "Tab_Name" 192.168.1.10
WARNING: Using deprecated command-line interface!
-a 8 -> /bpp:8
-T Tab_Name -> /title:Tab_Name
-g 800x600 -> /size:800x600 or /w:800 /h:600
-u username.example -> /u:username.example
--ignore-certificate -> /cert-ignore
192.168.1.10 -> /v:192.168.1.10
connected to 192.168.1.10:3389
Password:
$ xfreerdp /version
This is FreeRDP version 1.1.0-beta1 (git n/a)
I just determined the cause. There's a setting that needed to be turned off to prevent the title from being appended at the end of the command.
Toggle OFF the following setting to prevent this issue. Preferences > PAC Main Options > Behavior > Automatically append group name to title for new connections
You'll also need to ensure you're embedding the connection in tabs rather than opening them in new windows as this will also append the -T option.
The app should probably send the IP last after all other options have been set or move this feature further up in the execution.
This trick doesn't work! 8-( Tab option appears anyway
@vsg68 I gave up. I just use bash scripts to accomplish what I need via xfreerdp. Unfortunately, the window title option doesn't always take affect.
Example:
#!/bin/bash
xfreerdp /v:<HOSTNAME_OR_IP>:<PORT> /t:<WINDOW_TITLE> /size:1440x900 /bpp:32 +compression +clipboard /sound /cert-ignore /rfx +fonts /u:<USERNAME> /p:<PASSWORD> &> /dev/null &
xfreerdp /v:192.168.0.100 /f /u user /p password
also do not work, but
xfreerdp -f -u user -p pasword 192.168.0.100
is working, but prints wanings about deprecated command line syntax
some problem with parsing new syntax