I'm having difficulty converting some zenity based script to use whiptail instead.
The working script looks something like this:
#!/bin/bash xfreerdp /v:farm.company.com \ /d:company.com \ /u:$(zenity \ --entry \ --title="Username" \ --text="Enter your Username")
I am trying to convert this to use whiptail instead, but keep getting a blank screen.
This is what I have so far:
#!/bin/bash xfreerdp /v:farm.company.com \ /d:company.com \ /u:$(whiptail \ --inputbox "Username" 10 30)
What am I doing wrong?