VMware Horizon Community
d0g0
Contributor
Contributor

Connecting to host from command line on Mac

Based on Horizon Client Configuration Settings and Command-Line Options, I'm trying to connect to a host from a Mac with this:

/Applications/VMware\ Horizon\ Client.app/Contents/MacOS/vmware-view \
--nonInteractive \
--serverURL="https://example.com" \
--userName="user" --password="pass"

But I still get presented with a dialog asking for password:

 
 

h3aHP

 ... after which, I have to authenticate using MS Authenticator, and then enter my password a second time to get to the desktop:

qA3PC

Is there any way to make it truly nonInteractive (other than approving via authenticator) ?

 
Reply
0 Kudos
2 Replies
TigerQ
VMware Employee
VMware Employee

Your page https://docs.vmware.com/en/VMware-Horizon-Client-for-Linux/2111/horizon-client-linux-installation/GU... is only for Linux Client not for Mac Client. Mac Client does not support any command-line option. And it's not a good way to launch any app with the executor directly on macOS, it may get unexpected results.
Reply
0 Kudos
AntonThirifays
Enthusiast
Enthusiast

Hello @TigerQ , so that mens that at the moment there is no way to send a little configuration file to have at least the server to connect to to be auto populated ?

Would you know if this feature has already been requested through aha ideas ?

Thanks,

 

Anton

Reply
0 Kudos