Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
807 stars 187 forks source link

rdp file instead of the FREERDP_SERVER option #256

Open Babay156 opened 6 years ago

Babay156 commented 6 years ago

How can I use .rdp files to connect to a terminal server instead of the FREERDP_SERVER option for xfreerdp? Now I can do this only manually via cli using the command xfreerdp test.rdp

Thinstation commented 6 years ago

I thought this was actually fixed a long time ago, but I just pushed a fix for 5.5-Stable.

Added a xfreerdp.desktop file to create mime association during build.

On Fri, Nov 17, 2017 at 6:07 AM, Babay156 notifications@github.com wrote:

How can I use .rdp files to connect to a terminal server instead of the FREERDP_SERVER option for xfreerdp? Now I can do this only manually via cli using the command xfreerdp test.rdp

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/256, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtufrnDXeEtPlOD6G7AoAkxW0o-J8osks5s3ZMLgaJpZM4QiFab .

Babay156 commented 6 years ago

How can I use it by single freerdp session? If FREERDP_SERVER option empty or .rdp file that's don work For example:

SESSION_0_TYPE=freerdp SESSION_0_AUTOSTART=on SESSION_0_FREERDP_OPTIONS="+auto-reconnect +fonts /d:ndb /bpp:32 /cert-tofu +gfx-small-cache" SESSION_0_FREERDP_SERVER=test.rdp

Thinstation commented 6 years ago

_SERVER should not point to a file, but rather the host name or ip address of the remote server or broker. .rdp files contain everything, but thinstation does not take them as part of a build. They should execute as a mime object in the latest push, but that might still need some work. For now, just set the SERVER as an IP address.

Sent from my iPhone

On Nov 20, 2017, at 12:00 AM, Babay156 notifications@github.com wrote:

How can I use it by single freerdp session? If FREERDP_SERVER option empty or .rdp file that's don work For example:

SESSION_0_TYPE=freerdp SESSION_0_AUTOSTART=on SESSION_0_FREERDP_OPTIONS="+auto-reconnect +fonts /d:ndb /bpp:32 /cert-tofu +gfx-small-cache" SESSION_0_FREERDP_SERVER=test.rdp

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

trentasis commented 6 years ago

solved?

Thinstation commented 6 years ago

I think so.

Sent from my iPhone

On Jan 13, 2018, at 2:38 AM, trentasis notifications@github.com wrote:

solved?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

svalx commented 6 years ago

I have a same issue. I must use .rdp because it contain the embedded keys for remoteapp call. I try to set FREERDP_SERVER to same ip with .rdp's ip or not set it at all and send path to .rdp file in SESSION_0_FREERDP_OPTIONS. It look like "/etc/domino.rdp /u:user /p:password /cert-tofu". But freerdp session autostart unsuccessfully. The autostart like a charm with next: SESSION_0_FREERDP_OPTIONS="/u:user /p:password /cert-tofu" & FREERDP_SERVER=server.com. If I boot into xface session and start freerdp connection from terminal by call "xfreerdp /etc/domino.rdp /u:user /p:password /cert-tofu" - it is works fine. In /var/run/applications/freerdp.xx I see that xfreerdp receive a wrong arguments but I can not see which ones. This file contain a simple help content. How can I correctly pass parameters to a session for autostart freeerdp with .rdp file? May be there is a way to see and debug xfreerdp arguments which sending from freerdp script?

Doncuppjr commented 6 years ago

So for security reasons, command logging is disabled if a password is contained within it. More than likely ts does not have a logical path for using an .rdp file instead of a server. I will look into this.

Sent from Yahoo Mail for iPad

On Tuesday, April 17, 2018, 11:41 PM, Alexey Svistunov notifications@github.com wrote:

I have a same issue. I must use .rdp because it contain the embedded keys for remoteapp call. I try to set FREERDP_SERVER to same ip with .rdp's ip or not set it at all and send path to .rdp file in SESSION_0_FREERDP_OPTIONS. It look like "/etc/domino.rdp /u:user /p:password /cert-tofu". But freerdp session autostart unsuccessfully. The autostart like a charm with next: SESSION_0_FREERDP_OPTIONS="/u:user /p:password /cert-tofu" & FREERDP_SERVER=server.com. If I boot into xface session and start freerdp connection from terminal by call "xfreerdp /etc/domino.rdp /u:user /p:password /cert-tofu" - it is works fine. In /var/run/aoolications/freerdp.xx I see that xfreerdp receive a wrong arguments but I can not see which ones. This file contain a simple help content. How can I correctly pass parameters to a session for autostart freeerdp with .rdp file? May be there is a way to see and debug xfreerdp arguments which sending from freerdp script?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.