Make FreeRDP prompt user for username and password?Securing a script a little moreupload and dowload the...
Filter a data-frame and add a new column according to the given condition
Will casting a card from the graveyard with Flashback add a quest counter on Pyromancer Ascension?
Under what charges was this character executed in Game of Thrones, The Bells?
Adding labels and comments to a matrix
What is the correct pentalobe screwdriver size for a Macbook Air Model A1370?
Using chord iii in a chord progression (major key)
Retest whole system or just changes with regression tests
Is 95% of what you read in the financial press “either wrong or irrelevant?”
Why is it harder to turn a motor/generator with shorted terminals?
Is this possible when it comes to the relations of P, NP, NP-Hard and NP-Complete?
Why do the lights go out when someone enters the dining room on this ship?
If Turkey doesn't go bankrupt, is there any chance they won't pay bonds profits?
Alias for root of a polynomial
Do Grothendieck universes matter for an algebraic geometer?
Why didn't the Avengers use this object earlier?
Find the unknown area, x
White foam around tubeless tires
Use of さ as a filler
Chinese words with non-Chinese letters / characters?
Mark command as obsolete
What is this old US Air Force plane?
is it correct to say "When it started to rain, I was in the open air."
Promotion comes with unexpected 24/7/365 on-call
Problem in downloading videos using youtube-dl from unsupported sites
Make FreeRDP prompt user for username and password?
Securing a script a little moreupload and dowload the files from server without giving passwordIs it possible to run FreeRDP without a display for running scripts?Why doesn't GNU Screen split show up for remote user?How to set up multy-user xrdp server for 20 users that would force kill-all session created processes on disconnect?Why does xrdp session manager not show a user password login prompt?Mounting windows share with write permission for both root and userAlternatives to nfs that rely on username/password or public key authenthicationBash prompt (PS1) broken and spews errorsSame ssh keys one two different machines behave differently (password prompt)?sudoers - allow user to ssh as another user and run a specific command
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
At the moment, I'm using the following command to start an FreeRDP session:
$ sudo xfreerdp /v:farm.company.com /d:company.com
/u:oshiro /p:oshiro_password /g:rds.company.com
Works fine. However, I don't want the password to be in the command line like that. So I tried it without the password:
$ sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com
And I got a connection failure message instead of some sort of dialog box or prompt asking me to enter in a password.
Is it possible to get this to prompt the user for a password?
UPDATE: Omitting the /p
switch
Without the /p
switch, I get the following:
oshiro@ubuntu:~$ xfreerdp /v:farm.company.com /d:company.com -u:oshiro /g:rds.company.com
connected to rds.company.com:443
connected to rds.company.com:443
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
rts_connect error! Status Code: 401
HTTP/1.1 401 Unauthorized
Content-Type: text/plain
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="rds.company.com"
X-Powered-By: ASP.NET
Date: Sun, 23 Mar 2014 10:40:30 GMT +12
Content-Length: 13
rts_connect error!
rpc_connect failed!
Error: protocol security negotiation or connection failure
remote remote-desktop freerdp
add a comment |
At the moment, I'm using the following command to start an FreeRDP session:
$ sudo xfreerdp /v:farm.company.com /d:company.com
/u:oshiro /p:oshiro_password /g:rds.company.com
Works fine. However, I don't want the password to be in the command line like that. So I tried it without the password:
$ sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com
And I got a connection failure message instead of some sort of dialog box or prompt asking me to enter in a password.
Is it possible to get this to prompt the user for a password?
UPDATE: Omitting the /p
switch
Without the /p
switch, I get the following:
oshiro@ubuntu:~$ xfreerdp /v:farm.company.com /d:company.com -u:oshiro /g:rds.company.com
connected to rds.company.com:443
connected to rds.company.com:443
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
rts_connect error! Status Code: 401
HTTP/1.1 401 Unauthorized
Content-Type: text/plain
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="rds.company.com"
X-Powered-By: ASP.NET
Date: Sun, 23 Mar 2014 10:40:30 GMT +12
Content-Length: 13
rts_connect error!
rpc_connect failed!
Error: protocol security negotiation or connection failure
remote remote-desktop freerdp
What version of xfreerdp do you have? In Debian wheezy with freerdp-x11 1.0.1, as far as I can tell from the source (I have no RDP server handy to check), there is a password prompt.
– Gilles
Mar 16 '14 at 3:40
I have version 1.2.0-beta1.
– oshirowanen
Mar 16 '14 at 10:15
2
Why the heck are you usingsudo
?
– MikeyB
Jan 28 '15 at 14:42
add a comment |
At the moment, I'm using the following command to start an FreeRDP session:
$ sudo xfreerdp /v:farm.company.com /d:company.com
/u:oshiro /p:oshiro_password /g:rds.company.com
Works fine. However, I don't want the password to be in the command line like that. So I tried it without the password:
$ sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com
And I got a connection failure message instead of some sort of dialog box or prompt asking me to enter in a password.
Is it possible to get this to prompt the user for a password?
UPDATE: Omitting the /p
switch
Without the /p
switch, I get the following:
oshiro@ubuntu:~$ xfreerdp /v:farm.company.com /d:company.com -u:oshiro /g:rds.company.com
connected to rds.company.com:443
connected to rds.company.com:443
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
rts_connect error! Status Code: 401
HTTP/1.1 401 Unauthorized
Content-Type: text/plain
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="rds.company.com"
X-Powered-By: ASP.NET
Date: Sun, 23 Mar 2014 10:40:30 GMT +12
Content-Length: 13
rts_connect error!
rpc_connect failed!
Error: protocol security negotiation or connection failure
remote remote-desktop freerdp
At the moment, I'm using the following command to start an FreeRDP session:
$ sudo xfreerdp /v:farm.company.com /d:company.com
/u:oshiro /p:oshiro_password /g:rds.company.com
Works fine. However, I don't want the password to be in the command line like that. So I tried it without the password:
$ sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com
And I got a connection failure message instead of some sort of dialog box or prompt asking me to enter in a password.
Is it possible to get this to prompt the user for a password?
UPDATE: Omitting the /p
switch
Without the /p
switch, I get the following:
oshiro@ubuntu:~$ xfreerdp /v:farm.company.com /d:company.com -u:oshiro /g:rds.company.com
connected to rds.company.com:443
connected to rds.company.com:443
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
rts_connect error! Status Code: 401
HTTP/1.1 401 Unauthorized
Content-Type: text/plain
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="rds.company.com"
X-Powered-By: ASP.NET
Date: Sun, 23 Mar 2014 10:40:30 GMT +12
Content-Length: 13
rts_connect error!
rpc_connect failed!
Error: protocol security negotiation or connection failure
remote remote-desktop freerdp
remote remote-desktop freerdp
edited Mar 23 '14 at 10:42
oshirowanen
asked Mar 16 '14 at 0:49
oshirowanenoshirowanen
489102759
489102759
What version of xfreerdp do you have? In Debian wheezy with freerdp-x11 1.0.1, as far as I can tell from the source (I have no RDP server handy to check), there is a password prompt.
– Gilles
Mar 16 '14 at 3:40
I have version 1.2.0-beta1.
– oshirowanen
Mar 16 '14 at 10:15
2
Why the heck are you usingsudo
?
– MikeyB
Jan 28 '15 at 14:42
add a comment |
What version of xfreerdp do you have? In Debian wheezy with freerdp-x11 1.0.1, as far as I can tell from the source (I have no RDP server handy to check), there is a password prompt.
– Gilles
Mar 16 '14 at 3:40
I have version 1.2.0-beta1.
– oshirowanen
Mar 16 '14 at 10:15
2
Why the heck are you usingsudo
?
– MikeyB
Jan 28 '15 at 14:42
What version of xfreerdp do you have? In Debian wheezy with freerdp-x11 1.0.1, as far as I can tell from the source (I have no RDP server handy to check), there is a password prompt.
– Gilles
Mar 16 '14 at 3:40
What version of xfreerdp do you have? In Debian wheezy with freerdp-x11 1.0.1, as far as I can tell from the source (I have no RDP server handy to check), there is a password prompt.
– Gilles
Mar 16 '14 at 3:40
I have version 1.2.0-beta1.
– oshirowanen
Mar 16 '14 at 10:15
I have version 1.2.0-beta1.
– oshirowanen
Mar 16 '14 at 10:15
2
2
Why the heck are you using
sudo
?– MikeyB
Jan 28 '15 at 14:42
Why the heck are you using
sudo
?– MikeyB
Jan 28 '15 at 14:42
add a comment |
7 Answers
7
active
oldest
votes
The trick is putting the password switch at the end of your command line so that you can leave it blank. This will trigger xfreerdp
to prompt your for the password instead of having to provide it via the command line.
Example
new cli interface (v1.1+)
$ xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
old cli interface (v1.0.2)
$ xfreerdp -u oshiro -d company.com farm.company.com -t 3389 -p
NOTE: The new CLI is available in the pre-releases, v1.1+, so pay special attention to which version you're using. Running the command xfreerdp --version
will show you which. Also take a look at the releases topic in the wiki for more information on each.
Sample connection
Here's an example of me connecting to a RDP server.
$ xfreerdp --ignore-certificate -u smingolelli -d mydom -t 5000 rdp.mydom.com -p
connected to rdp.mydom.com:5000
Password:
Prompting the user
This issue in the FreeRDP issue tracker titled: Prompt for Credentials - NLA #1512, had this snippet of how you could use zenity
to prompt the user for a username and password using GUI dialogs and then run xfreerdp
with the provided info afterwards.
$ xfreerdp /v:yourRDSfarmFQDN
/u:$(zenity
--entry
--title="Domain Username"
--text="Enter your Username")
/p:$(zenity
--entry
--title="Domain Password"
--text="Enter your _password:"
--hide-text)
/d:yourdomainname
/f
/cert-ignore
+clipboard
The above when executed would pop these dialogs up to the user. These will come up one at a time in turn.
References
- Commnad Line Interfaces - FreeRDP Wiki
1
Thanks for this. However, when I tryxfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after thep
it starts working.
– oshirowanen
Mar 23 '14 at 9:32
@oshirowanen - if you omit the/p
switch all together?
– slm♦
Mar 23 '14 at 10:11
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
instead ofzenity --entry --text="Enter your _password:" --hide-text
you can simply sayzenity --password
– user829755
May 11 '15 at 18:08
|
show 1 more comment
I'd like to expand on slm's solution. I wanted a single window to enter all information in and allow me to specify a RemoteApp all in one go, so I built on what he suggested with zenity and created this.
XFreeRDP Prompt
Code:
#!/bin/bash
# XFreeRDP RemoteApp W/ Prompt Script
# Version 0.3
# Description:
# XFreeRDP Remote App Script utilizing Zentity to populate variables
# Written by Jarrett Higgins 12-2015
OUTPUT=$(zenity --forms --title="Connection Information"
--text="Enter information about your Remote Connection"
--separator=","
--add-entry="Server"
--add-entry="Port (Default: 3389)"
--add-entry="Domain (Optional)"
--add-entry="Username"
--add-password="Password"
--add-entry="Remote App Name (Optional)")
OUTPUT_RESULTS=$?
if ((OUTPUT_RESULTS != 0)); then
echo "something went wrong"
exit 1
fi
Blank=""
Server=$(awk -F, '{print $1}' <<<$OUTPUT)
Port=$(awk -F, '{print $2}' <<<$OUTPUT)
if ["$Port" = "$Blank"]
then
Port="3389"
else
Port="$Port"
fi
Domain=$(awk -F, '{print $3}' <<<$OUTPUT)
Username=$(awk -F, '{print $4}' <<<$OUTPUT)
Password=$(awk -F, '{print $5}' <<<$OUTPUT)
App=$(awk -F, '{print $6}' <<<$OUTPUT)
if ["$App" = "$Blank"]
then
App="$App"
Title="$Server"
else
AppName="$App"
Title="$AppName on $Server"
App="/app:||$App"
fi
#zenity --info --title="Information Return" --text="$Server $Port $Domain $Username $Password $App"
xfreerdp /t:"$Title" /v:$Server:$Port /d:$Domain /u:$Username /p:$Password $App /cert-ignore /workarea +clipboard
Password=""
Features:
- Defaults to port 3389 if not populated
- Defaults to no Remote App if not populated
Planned:
- Security Certificate Warning
- RDWeb Query to provide Resource List
I use this on my #!++ laptop with great success for connecting to my company and VM Remote Apps and client Servers. I'm not experienced with scripting, so if anyone has any suggestions or feedback, I would love to hear them.
add a comment |
If you specify tls security, the remote computer will prompt for password:
Xfreerdp --sec tls
The new parameter format:
/sec:tls
add a comment |
You need to supply an empty parameter (without password value). Try this:
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
If that does not work, then you could accomplish this with simple bash script.
Save this as rdp.sh
:
#!/bin/bash
# Read Password
echo -n Password:
read -s password
echo
# Run Command
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p:$password
Then make file executable:
chmod +x rdp.sh
Launch it:
./rdp.sh
This has been asked and discussed more thoroughly on xfreerdp's github issue: https://github.com/FreeRDP/FreeRDP/issues/1358
The bash script idea is taken from: https://stackoverflow.com/questions/3980668/how-to-get-a-password-from-a-shell-script-without-echoing
This exposes the password to users doingps -ef
.
– reinierpost
Feb 20 at 12:38
add a comment |
I also like yad, using the following shell script.
#!/bin/sh
frmdata=$(yad --title "Connect to remote computer" --form --field="Remote computer" --field="Username" --field="Password:H" --field="Domain" --field="Gateway")
frmcomputer=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')
frmusername=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }')
frmpassword=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $3 }')
frmdomain=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $4 }')
frmgateway=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $5 }')
xfreerdp /v:$frmcomputer /f /d:$frmdomain /u:$frmusername /g:$frmgateway /p:$frmpassword /cert-ignore
It provides a good interface, and hides the password.
add a comment |
You can use --from-stdin as well. Then you will be prompted for any needed values that were not provided.
I liked Jarretts solution but with yad not zenity, it lets you do combo boxes:
OUTPUT=$(yad --center --button="gtk-ok:0" --title "Remote Desktop" --form
--field="Server:CB" "rds1.domain.local!rds2.domain.local!rds3.domain.local"
--field="Port" "3389"
--field="Domain" "DOMAIN.local"
--field="Username" ""
--field="Password:H"
--field="Remote App Name" "")
add a comment |
I like Wrath's solution.
I know this is an old thread but I have a question.
Would it be possible to add a CHK (checkbox) here?
Then create an option to set true for multiple monitors (/multimon /monitors:0,1) or /auto-reconnect
I tried --list --column but had no luck.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f119880%2fmake-freerdp-prompt-user-for-username-and-password%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
The trick is putting the password switch at the end of your command line so that you can leave it blank. This will trigger xfreerdp
to prompt your for the password instead of having to provide it via the command line.
Example
new cli interface (v1.1+)
$ xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
old cli interface (v1.0.2)
$ xfreerdp -u oshiro -d company.com farm.company.com -t 3389 -p
NOTE: The new CLI is available in the pre-releases, v1.1+, so pay special attention to which version you're using. Running the command xfreerdp --version
will show you which. Also take a look at the releases topic in the wiki for more information on each.
Sample connection
Here's an example of me connecting to a RDP server.
$ xfreerdp --ignore-certificate -u smingolelli -d mydom -t 5000 rdp.mydom.com -p
connected to rdp.mydom.com:5000
Password:
Prompting the user
This issue in the FreeRDP issue tracker titled: Prompt for Credentials - NLA #1512, had this snippet of how you could use zenity
to prompt the user for a username and password using GUI dialogs and then run xfreerdp
with the provided info afterwards.
$ xfreerdp /v:yourRDSfarmFQDN
/u:$(zenity
--entry
--title="Domain Username"
--text="Enter your Username")
/p:$(zenity
--entry
--title="Domain Password"
--text="Enter your _password:"
--hide-text)
/d:yourdomainname
/f
/cert-ignore
+clipboard
The above when executed would pop these dialogs up to the user. These will come up one at a time in turn.
References
- Commnad Line Interfaces - FreeRDP Wiki
1
Thanks for this. However, when I tryxfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after thep
it starts working.
– oshirowanen
Mar 23 '14 at 9:32
@oshirowanen - if you omit the/p
switch all together?
– slm♦
Mar 23 '14 at 10:11
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
instead ofzenity --entry --text="Enter your _password:" --hide-text
you can simply sayzenity --password
– user829755
May 11 '15 at 18:08
|
show 1 more comment
The trick is putting the password switch at the end of your command line so that you can leave it blank. This will trigger xfreerdp
to prompt your for the password instead of having to provide it via the command line.
Example
new cli interface (v1.1+)
$ xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
old cli interface (v1.0.2)
$ xfreerdp -u oshiro -d company.com farm.company.com -t 3389 -p
NOTE: The new CLI is available in the pre-releases, v1.1+, so pay special attention to which version you're using. Running the command xfreerdp --version
will show you which. Also take a look at the releases topic in the wiki for more information on each.
Sample connection
Here's an example of me connecting to a RDP server.
$ xfreerdp --ignore-certificate -u smingolelli -d mydom -t 5000 rdp.mydom.com -p
connected to rdp.mydom.com:5000
Password:
Prompting the user
This issue in the FreeRDP issue tracker titled: Prompt for Credentials - NLA #1512, had this snippet of how you could use zenity
to prompt the user for a username and password using GUI dialogs and then run xfreerdp
with the provided info afterwards.
$ xfreerdp /v:yourRDSfarmFQDN
/u:$(zenity
--entry
--title="Domain Username"
--text="Enter your Username")
/p:$(zenity
--entry
--title="Domain Password"
--text="Enter your _password:"
--hide-text)
/d:yourdomainname
/f
/cert-ignore
+clipboard
The above when executed would pop these dialogs up to the user. These will come up one at a time in turn.
References
- Commnad Line Interfaces - FreeRDP Wiki
1
Thanks for this. However, when I tryxfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after thep
it starts working.
– oshirowanen
Mar 23 '14 at 9:32
@oshirowanen - if you omit the/p
switch all together?
– slm♦
Mar 23 '14 at 10:11
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
instead ofzenity --entry --text="Enter your _password:" --hide-text
you can simply sayzenity --password
– user829755
May 11 '15 at 18:08
|
show 1 more comment
The trick is putting the password switch at the end of your command line so that you can leave it blank. This will trigger xfreerdp
to prompt your for the password instead of having to provide it via the command line.
Example
new cli interface (v1.1+)
$ xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
old cli interface (v1.0.2)
$ xfreerdp -u oshiro -d company.com farm.company.com -t 3389 -p
NOTE: The new CLI is available in the pre-releases, v1.1+, so pay special attention to which version you're using. Running the command xfreerdp --version
will show you which. Also take a look at the releases topic in the wiki for more information on each.
Sample connection
Here's an example of me connecting to a RDP server.
$ xfreerdp --ignore-certificate -u smingolelli -d mydom -t 5000 rdp.mydom.com -p
connected to rdp.mydom.com:5000
Password:
Prompting the user
This issue in the FreeRDP issue tracker titled: Prompt for Credentials - NLA #1512, had this snippet of how you could use zenity
to prompt the user for a username and password using GUI dialogs and then run xfreerdp
with the provided info afterwards.
$ xfreerdp /v:yourRDSfarmFQDN
/u:$(zenity
--entry
--title="Domain Username"
--text="Enter your Username")
/p:$(zenity
--entry
--title="Domain Password"
--text="Enter your _password:"
--hide-text)
/d:yourdomainname
/f
/cert-ignore
+clipboard
The above when executed would pop these dialogs up to the user. These will come up one at a time in turn.
References
- Commnad Line Interfaces - FreeRDP Wiki
The trick is putting the password switch at the end of your command line so that you can leave it blank. This will trigger xfreerdp
to prompt your for the password instead of having to provide it via the command line.
Example
new cli interface (v1.1+)
$ xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
old cli interface (v1.0.2)
$ xfreerdp -u oshiro -d company.com farm.company.com -t 3389 -p
NOTE: The new CLI is available in the pre-releases, v1.1+, so pay special attention to which version you're using. Running the command xfreerdp --version
will show you which. Also take a look at the releases topic in the wiki for more information on each.
Sample connection
Here's an example of me connecting to a RDP server.
$ xfreerdp --ignore-certificate -u smingolelli -d mydom -t 5000 rdp.mydom.com -p
connected to rdp.mydom.com:5000
Password:
Prompting the user
This issue in the FreeRDP issue tracker titled: Prompt for Credentials - NLA #1512, had this snippet of how you could use zenity
to prompt the user for a username and password using GUI dialogs and then run xfreerdp
with the provided info afterwards.
$ xfreerdp /v:yourRDSfarmFQDN
/u:$(zenity
--entry
--title="Domain Username"
--text="Enter your Username")
/p:$(zenity
--entry
--title="Domain Password"
--text="Enter your _password:"
--hide-text)
/d:yourdomainname
/f
/cert-ignore
+clipboard
The above when executed would pop these dialogs up to the user. These will come up one at a time in turn.
References
- Commnad Line Interfaces - FreeRDP Wiki
edited Mar 23 '14 at 0:54
answered Mar 23 '14 at 0:36
slm♦slm
258k72549697
258k72549697
1
Thanks for this. However, when I tryxfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after thep
it starts working.
– oshirowanen
Mar 23 '14 at 9:32
@oshirowanen - if you omit the/p
switch all together?
– slm♦
Mar 23 '14 at 10:11
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
instead ofzenity --entry --text="Enter your _password:" --hide-text
you can simply sayzenity --password
– user829755
May 11 '15 at 18:08
|
show 1 more comment
1
Thanks for this. However, when I tryxfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after thep
it starts working.
– oshirowanen
Mar 23 '14 at 9:32
@oshirowanen - if you omit the/p
switch all together?
– slm♦
Mar 23 '14 at 10:11
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
instead ofzenity --entry --text="Enter your _password:" --hide-text
you can simply sayzenity --password
– user829755
May 11 '15 at 18:08
1
1
Thanks for this. However, when I try
xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after the p
it starts working.– oshirowanen
Mar 23 '14 at 9:32
Thanks for this. However, when I try
xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
, it just gives me the documentation and all the commands I could use. Then as soon as I put the password after the p
it starts working.– oshirowanen
Mar 23 '14 at 9:32
@oshirowanen - if you omit the
/p
switch all together?– slm♦
Mar 23 '14 at 10:11
@oshirowanen - if you omit the
/p
switch all together?– slm♦
Mar 23 '14 at 10:11
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
The error was too long to post as a comment, so I have updated the original question with the error message.
– oshirowanen
Mar 23 '14 at 10:43
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
@oshirowanen - that looks like it might be a bug: github.com/FreeRDP/FreeRDP/issues/1584. Shows the same output as yours. I would open an issue with FreeRDP, if you're not sure how to do this I can assist further LMK.
– slm♦
Mar 23 '14 at 11:49
instead of
zenity --entry --text="Enter your _password:" --hide-text
you can simply say zenity --password
– user829755
May 11 '15 at 18:08
instead of
zenity --entry --text="Enter your _password:" --hide-text
you can simply say zenity --password
– user829755
May 11 '15 at 18:08
|
show 1 more comment
I'd like to expand on slm's solution. I wanted a single window to enter all information in and allow me to specify a RemoteApp all in one go, so I built on what he suggested with zenity and created this.
XFreeRDP Prompt
Code:
#!/bin/bash
# XFreeRDP RemoteApp W/ Prompt Script
# Version 0.3
# Description:
# XFreeRDP Remote App Script utilizing Zentity to populate variables
# Written by Jarrett Higgins 12-2015
OUTPUT=$(zenity --forms --title="Connection Information"
--text="Enter information about your Remote Connection"
--separator=","
--add-entry="Server"
--add-entry="Port (Default: 3389)"
--add-entry="Domain (Optional)"
--add-entry="Username"
--add-password="Password"
--add-entry="Remote App Name (Optional)")
OUTPUT_RESULTS=$?
if ((OUTPUT_RESULTS != 0)); then
echo "something went wrong"
exit 1
fi
Blank=""
Server=$(awk -F, '{print $1}' <<<$OUTPUT)
Port=$(awk -F, '{print $2}' <<<$OUTPUT)
if ["$Port" = "$Blank"]
then
Port="3389"
else
Port="$Port"
fi
Domain=$(awk -F, '{print $3}' <<<$OUTPUT)
Username=$(awk -F, '{print $4}' <<<$OUTPUT)
Password=$(awk -F, '{print $5}' <<<$OUTPUT)
App=$(awk -F, '{print $6}' <<<$OUTPUT)
if ["$App" = "$Blank"]
then
App="$App"
Title="$Server"
else
AppName="$App"
Title="$AppName on $Server"
App="/app:||$App"
fi
#zenity --info --title="Information Return" --text="$Server $Port $Domain $Username $Password $App"
xfreerdp /t:"$Title" /v:$Server:$Port /d:$Domain /u:$Username /p:$Password $App /cert-ignore /workarea +clipboard
Password=""
Features:
- Defaults to port 3389 if not populated
- Defaults to no Remote App if not populated
Planned:
- Security Certificate Warning
- RDWeb Query to provide Resource List
I use this on my #!++ laptop with great success for connecting to my company and VM Remote Apps and client Servers. I'm not experienced with scripting, so if anyone has any suggestions or feedback, I would love to hear them.
add a comment |
I'd like to expand on slm's solution. I wanted a single window to enter all information in and allow me to specify a RemoteApp all in one go, so I built on what he suggested with zenity and created this.
XFreeRDP Prompt
Code:
#!/bin/bash
# XFreeRDP RemoteApp W/ Prompt Script
# Version 0.3
# Description:
# XFreeRDP Remote App Script utilizing Zentity to populate variables
# Written by Jarrett Higgins 12-2015
OUTPUT=$(zenity --forms --title="Connection Information"
--text="Enter information about your Remote Connection"
--separator=","
--add-entry="Server"
--add-entry="Port (Default: 3389)"
--add-entry="Domain (Optional)"
--add-entry="Username"
--add-password="Password"
--add-entry="Remote App Name (Optional)")
OUTPUT_RESULTS=$?
if ((OUTPUT_RESULTS != 0)); then
echo "something went wrong"
exit 1
fi
Blank=""
Server=$(awk -F, '{print $1}' <<<$OUTPUT)
Port=$(awk -F, '{print $2}' <<<$OUTPUT)
if ["$Port" = "$Blank"]
then
Port="3389"
else
Port="$Port"
fi
Domain=$(awk -F, '{print $3}' <<<$OUTPUT)
Username=$(awk -F, '{print $4}' <<<$OUTPUT)
Password=$(awk -F, '{print $5}' <<<$OUTPUT)
App=$(awk -F, '{print $6}' <<<$OUTPUT)
if ["$App" = "$Blank"]
then
App="$App"
Title="$Server"
else
AppName="$App"
Title="$AppName on $Server"
App="/app:||$App"
fi
#zenity --info --title="Information Return" --text="$Server $Port $Domain $Username $Password $App"
xfreerdp /t:"$Title" /v:$Server:$Port /d:$Domain /u:$Username /p:$Password $App /cert-ignore /workarea +clipboard
Password=""
Features:
- Defaults to port 3389 if not populated
- Defaults to no Remote App if not populated
Planned:
- Security Certificate Warning
- RDWeb Query to provide Resource List
I use this on my #!++ laptop with great success for connecting to my company and VM Remote Apps and client Servers. I'm not experienced with scripting, so if anyone has any suggestions or feedback, I would love to hear them.
add a comment |
I'd like to expand on slm's solution. I wanted a single window to enter all information in and allow me to specify a RemoteApp all in one go, so I built on what he suggested with zenity and created this.
XFreeRDP Prompt
Code:
#!/bin/bash
# XFreeRDP RemoteApp W/ Prompt Script
# Version 0.3
# Description:
# XFreeRDP Remote App Script utilizing Zentity to populate variables
# Written by Jarrett Higgins 12-2015
OUTPUT=$(zenity --forms --title="Connection Information"
--text="Enter information about your Remote Connection"
--separator=","
--add-entry="Server"
--add-entry="Port (Default: 3389)"
--add-entry="Domain (Optional)"
--add-entry="Username"
--add-password="Password"
--add-entry="Remote App Name (Optional)")
OUTPUT_RESULTS=$?
if ((OUTPUT_RESULTS != 0)); then
echo "something went wrong"
exit 1
fi
Blank=""
Server=$(awk -F, '{print $1}' <<<$OUTPUT)
Port=$(awk -F, '{print $2}' <<<$OUTPUT)
if ["$Port" = "$Blank"]
then
Port="3389"
else
Port="$Port"
fi
Domain=$(awk -F, '{print $3}' <<<$OUTPUT)
Username=$(awk -F, '{print $4}' <<<$OUTPUT)
Password=$(awk -F, '{print $5}' <<<$OUTPUT)
App=$(awk -F, '{print $6}' <<<$OUTPUT)
if ["$App" = "$Blank"]
then
App="$App"
Title="$Server"
else
AppName="$App"
Title="$AppName on $Server"
App="/app:||$App"
fi
#zenity --info --title="Information Return" --text="$Server $Port $Domain $Username $Password $App"
xfreerdp /t:"$Title" /v:$Server:$Port /d:$Domain /u:$Username /p:$Password $App /cert-ignore /workarea +clipboard
Password=""
Features:
- Defaults to port 3389 if not populated
- Defaults to no Remote App if not populated
Planned:
- Security Certificate Warning
- RDWeb Query to provide Resource List
I use this on my #!++ laptop with great success for connecting to my company and VM Remote Apps and client Servers. I'm not experienced with scripting, so if anyone has any suggestions or feedback, I would love to hear them.
I'd like to expand on slm's solution. I wanted a single window to enter all information in and allow me to specify a RemoteApp all in one go, so I built on what he suggested with zenity and created this.
XFreeRDP Prompt
Code:
#!/bin/bash
# XFreeRDP RemoteApp W/ Prompt Script
# Version 0.3
# Description:
# XFreeRDP Remote App Script utilizing Zentity to populate variables
# Written by Jarrett Higgins 12-2015
OUTPUT=$(zenity --forms --title="Connection Information"
--text="Enter information about your Remote Connection"
--separator=","
--add-entry="Server"
--add-entry="Port (Default: 3389)"
--add-entry="Domain (Optional)"
--add-entry="Username"
--add-password="Password"
--add-entry="Remote App Name (Optional)")
OUTPUT_RESULTS=$?
if ((OUTPUT_RESULTS != 0)); then
echo "something went wrong"
exit 1
fi
Blank=""
Server=$(awk -F, '{print $1}' <<<$OUTPUT)
Port=$(awk -F, '{print $2}' <<<$OUTPUT)
if ["$Port" = "$Blank"]
then
Port="3389"
else
Port="$Port"
fi
Domain=$(awk -F, '{print $3}' <<<$OUTPUT)
Username=$(awk -F, '{print $4}' <<<$OUTPUT)
Password=$(awk -F, '{print $5}' <<<$OUTPUT)
App=$(awk -F, '{print $6}' <<<$OUTPUT)
if ["$App" = "$Blank"]
then
App="$App"
Title="$Server"
else
AppName="$App"
Title="$AppName on $Server"
App="/app:||$App"
fi
#zenity --info --title="Information Return" --text="$Server $Port $Domain $Username $Password $App"
xfreerdp /t:"$Title" /v:$Server:$Port /d:$Domain /u:$Username /p:$Password $App /cert-ignore /workarea +clipboard
Password=""
Features:
- Defaults to port 3389 if not populated
- Defaults to no Remote App if not populated
Planned:
- Security Certificate Warning
- RDWeb Query to provide Resource List
I use this on my #!++ laptop with great success for connecting to my company and VM Remote Apps and client Servers. I'm not experienced with scripting, so if anyone has any suggestions or feedback, I would love to hear them.
edited Apr 13 '17 at 12:37
Community♦
1
1
answered Dec 4 '15 at 7:05
Jarrett HigginsJarrett Higgins
6111
6111
add a comment |
add a comment |
If you specify tls security, the remote computer will prompt for password:
Xfreerdp --sec tls
The new parameter format:
/sec:tls
add a comment |
If you specify tls security, the remote computer will prompt for password:
Xfreerdp --sec tls
The new parameter format:
/sec:tls
add a comment |
If you specify tls security, the remote computer will prompt for password:
Xfreerdp --sec tls
The new parameter format:
/sec:tls
If you specify tls security, the remote computer will prompt for password:
Xfreerdp --sec tls
The new parameter format:
/sec:tls
edited Aug 1 '18 at 16:08
Romeo Ninov
7,28732129
7,28732129
answered Feb 28 '15 at 13:07
Francisco HernandezFrancisco Hernandez
211
211
add a comment |
add a comment |
You need to supply an empty parameter (without password value). Try this:
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
If that does not work, then you could accomplish this with simple bash script.
Save this as rdp.sh
:
#!/bin/bash
# Read Password
echo -n Password:
read -s password
echo
# Run Command
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p:$password
Then make file executable:
chmod +x rdp.sh
Launch it:
./rdp.sh
This has been asked and discussed more thoroughly on xfreerdp's github issue: https://github.com/FreeRDP/FreeRDP/issues/1358
The bash script idea is taken from: https://stackoverflow.com/questions/3980668/how-to-get-a-password-from-a-shell-script-without-echoing
This exposes the password to users doingps -ef
.
– reinierpost
Feb 20 at 12:38
add a comment |
You need to supply an empty parameter (without password value). Try this:
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
If that does not work, then you could accomplish this with simple bash script.
Save this as rdp.sh
:
#!/bin/bash
# Read Password
echo -n Password:
read -s password
echo
# Run Command
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p:$password
Then make file executable:
chmod +x rdp.sh
Launch it:
./rdp.sh
This has been asked and discussed more thoroughly on xfreerdp's github issue: https://github.com/FreeRDP/FreeRDP/issues/1358
The bash script idea is taken from: https://stackoverflow.com/questions/3980668/how-to-get-a-password-from-a-shell-script-without-echoing
This exposes the password to users doingps -ef
.
– reinierpost
Feb 20 at 12:38
add a comment |
You need to supply an empty parameter (without password value). Try this:
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
If that does not work, then you could accomplish this with simple bash script.
Save this as rdp.sh
:
#!/bin/bash
# Read Password
echo -n Password:
read -s password
echo
# Run Command
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p:$password
Then make file executable:
chmod +x rdp.sh
Launch it:
./rdp.sh
This has been asked and discussed more thoroughly on xfreerdp's github issue: https://github.com/FreeRDP/FreeRDP/issues/1358
The bash script idea is taken from: https://stackoverflow.com/questions/3980668/how-to-get-a-password-from-a-shell-script-without-echoing
You need to supply an empty parameter (without password value). Try this:
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p
If that does not work, then you could accomplish this with simple bash script.
Save this as rdp.sh
:
#!/bin/bash
# Read Password
echo -n Password:
read -s password
echo
# Run Command
sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com /p:$password
Then make file executable:
chmod +x rdp.sh
Launch it:
./rdp.sh
This has been asked and discussed more thoroughly on xfreerdp's github issue: https://github.com/FreeRDP/FreeRDP/issues/1358
The bash script idea is taken from: https://stackoverflow.com/questions/3980668/how-to-get-a-password-from-a-shell-script-without-echoing
edited May 23 '17 at 12:40
Community♦
1
1
answered Mar 22 '14 at 12:52
phoopsphoops
2,14931425
2,14931425
This exposes the password to users doingps -ef
.
– reinierpost
Feb 20 at 12:38
add a comment |
This exposes the password to users doingps -ef
.
– reinierpost
Feb 20 at 12:38
This exposes the password to users doing
ps -ef
.– reinierpost
Feb 20 at 12:38
This exposes the password to users doing
ps -ef
.– reinierpost
Feb 20 at 12:38
add a comment |
I also like yad, using the following shell script.
#!/bin/sh
frmdata=$(yad --title "Connect to remote computer" --form --field="Remote computer" --field="Username" --field="Password:H" --field="Domain" --field="Gateway")
frmcomputer=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')
frmusername=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }')
frmpassword=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $3 }')
frmdomain=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $4 }')
frmgateway=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $5 }')
xfreerdp /v:$frmcomputer /f /d:$frmdomain /u:$frmusername /g:$frmgateway /p:$frmpassword /cert-ignore
It provides a good interface, and hides the password.
add a comment |
I also like yad, using the following shell script.
#!/bin/sh
frmdata=$(yad --title "Connect to remote computer" --form --field="Remote computer" --field="Username" --field="Password:H" --field="Domain" --field="Gateway")
frmcomputer=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')
frmusername=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }')
frmpassword=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $3 }')
frmdomain=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $4 }')
frmgateway=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $5 }')
xfreerdp /v:$frmcomputer /f /d:$frmdomain /u:$frmusername /g:$frmgateway /p:$frmpassword /cert-ignore
It provides a good interface, and hides the password.
add a comment |
I also like yad, using the following shell script.
#!/bin/sh
frmdata=$(yad --title "Connect to remote computer" --form --field="Remote computer" --field="Username" --field="Password:H" --field="Domain" --field="Gateway")
frmcomputer=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')
frmusername=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }')
frmpassword=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $3 }')
frmdomain=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $4 }')
frmgateway=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $5 }')
xfreerdp /v:$frmcomputer /f /d:$frmdomain /u:$frmusername /g:$frmgateway /p:$frmpassword /cert-ignore
It provides a good interface, and hides the password.
I also like yad, using the following shell script.
#!/bin/sh
frmdata=$(yad --title "Connect to remote computer" --form --field="Remote computer" --field="Username" --field="Password:H" --field="Domain" --field="Gateway")
frmcomputer=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')
frmusername=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }')
frmpassword=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $3 }')
frmdomain=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $4 }')
frmgateway=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $5 }')
xfreerdp /v:$frmcomputer /f /d:$frmdomain /u:$frmusername /g:$frmgateway /p:$frmpassword /cert-ignore
It provides a good interface, and hides the password.
answered Oct 14 '17 at 0:10
the Wraththe Wrath
111
111
add a comment |
add a comment |
You can use --from-stdin as well. Then you will be prompted for any needed values that were not provided.
I liked Jarretts solution but with yad not zenity, it lets you do combo boxes:
OUTPUT=$(yad --center --button="gtk-ok:0" --title "Remote Desktop" --form
--field="Server:CB" "rds1.domain.local!rds2.domain.local!rds3.domain.local"
--field="Port" "3389"
--field="Domain" "DOMAIN.local"
--field="Username" ""
--field="Password:H"
--field="Remote App Name" "")
add a comment |
You can use --from-stdin as well. Then you will be prompted for any needed values that were not provided.
I liked Jarretts solution but with yad not zenity, it lets you do combo boxes:
OUTPUT=$(yad --center --button="gtk-ok:0" --title "Remote Desktop" --form
--field="Server:CB" "rds1.domain.local!rds2.domain.local!rds3.domain.local"
--field="Port" "3389"
--field="Domain" "DOMAIN.local"
--field="Username" ""
--field="Password:H"
--field="Remote App Name" "")
add a comment |
You can use --from-stdin as well. Then you will be prompted for any needed values that were not provided.
I liked Jarretts solution but with yad not zenity, it lets you do combo boxes:
OUTPUT=$(yad --center --button="gtk-ok:0" --title "Remote Desktop" --form
--field="Server:CB" "rds1.domain.local!rds2.domain.local!rds3.domain.local"
--field="Port" "3389"
--field="Domain" "DOMAIN.local"
--field="Username" ""
--field="Password:H"
--field="Remote App Name" "")
You can use --from-stdin as well. Then you will be prompted for any needed values that were not provided.
I liked Jarretts solution but with yad not zenity, it lets you do combo boxes:
OUTPUT=$(yad --center --button="gtk-ok:0" --title "Remote Desktop" --form
--field="Server:CB" "rds1.domain.local!rds2.domain.local!rds3.domain.local"
--field="Port" "3389"
--field="Domain" "DOMAIN.local"
--field="Username" ""
--field="Password:H"
--field="Remote App Name" "")
answered Mar 15 '17 at 21:55
havealohahavealoha
1
1
add a comment |
add a comment |
I like Wrath's solution.
I know this is an old thread but I have a question.
Would it be possible to add a CHK (checkbox) here?
Then create an option to set true for multiple monitors (/multimon /monitors:0,1) or /auto-reconnect
I tried --list --column but had no luck.
New contributor
add a comment |
I like Wrath's solution.
I know this is an old thread but I have a question.
Would it be possible to add a CHK (checkbox) here?
Then create an option to set true for multiple monitors (/multimon /monitors:0,1) or /auto-reconnect
I tried --list --column but had no luck.
New contributor
add a comment |
I like Wrath's solution.
I know this is an old thread but I have a question.
Would it be possible to add a CHK (checkbox) here?
Then create an option to set true for multiple monitors (/multimon /monitors:0,1) or /auto-reconnect
I tried --list --column but had no luck.
New contributor
I like Wrath's solution.
I know this is an old thread but I have a question.
Would it be possible to add a CHK (checkbox) here?
Then create an option to set true for multiple monitors (/multimon /monitors:0,1) or /auto-reconnect
I tried --list --column but had no luck.
New contributor
New contributor
answered 4 mins ago
SonomaSonoma
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f119880%2fmake-freerdp-prompt-user-for-username-and-password%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What version of xfreerdp do you have? In Debian wheezy with freerdp-x11 1.0.1, as far as I can tell from the source (I have no RDP server handy to check), there is a password prompt.
– Gilles
Mar 16 '14 at 3:40
I have version 1.2.0-beta1.
– oshirowanen
Mar 16 '14 at 10:15
2
Why the heck are you using
sudo
?– MikeyB
Jan 28 '15 at 14:42