Differences between revisions 6 and 18 (spanning 12 versions)
Revision 6 as of 2018-08-03 07:09:53
Size: 2147
Editor: schadavi
Comment:
Revision 18 as of 2022-09-06 06:51:27
Size: 3437
Editor: stroth
Comment: Add info about win.start
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#rev 2020-09-07 hgiger
#rev 2018-10-30 stroth
Line 6: Line 8:
= RDS Linux Advanced =
The simplest method to connect from a managed Linux client to the D-ITET terminal server is by issuing the command {{{
win.start
}}}
in the terminal. Further options of `win.start` can be shown with {{{
win.start --help
}}}
The wrapper `win.start` is a simple bash script, it's content may be inspected at `/usr/pack/xfreerdp-2.x.x-sr/amd64-debian-linux10/bin/win.start`. It uses most of the advanced options shown below.
Line 7: Line 18:
''Below, you can find some examples of connection setups made for different situations (network speed, audio, scaling, ...).'' Below, you can find some examples of connection setups made for different situations (network speed, audio, scaling, ...).

=== Auto Reconnect ===
To have the xfreerdp reconnect automatically after a connection timeout use parameters as in the following example:
{{{
xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME +auto-reconnect /auto-reconnect-max-retries:40
}}}
Auto reconnect only works without the graphics and caching parameters shown below.

=== Change Keyboard Language ===
If your keyboard settings differ from the default, look for the id of your preferred keyboard layout with the following command:
{{{
xfreerdp-2.x.x /kbd-list
}}}
And add the matching parameter ("Swiss German" in the example below) to your xfreerdp command:
{{{
xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /kbd:0x00000807
}}}
Line 10: Line 38:
Fullscreen mode, max. network speed, as many as possible decorations and animations, audio forwarded to your workstation
Line 11: Line 40:
xfreerdp-2.0.0 /g:worli.ee.ethz.ch /d:d /u:username /v:SERVERNAME.ee.ethz.ch /gdi:hw /gfx:rfx +gfx-progressive +bitmap-cache +offscreen-cache +glyph-cache /rfx /codec-cache:rfx -compression /bpp:32 /network:lan +fonts +window-drag +menu-anims +wallpaper +decorations +themes +aero +clipboard /sound:sys:pulse /f /multimon /span +toggle-fullscreen xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /gdi:hw /gfx:rfx +gfx-progressive +bitmap-cache +offscreen-cache +glyph-cache /rfx /codec-cache:rfx -compression /bpp:32 /network:lan +fonts +window-drag +menu-anims +wallpaper +decorations +themes +aero +clipboard /sound:sys:pulse /f /multimon /span +toggle-fullscreen
Line 14: Line 43:
 . ''*Fullscreen mode, max. network speed, as many as possible decorations and animations. Audio forwarded.''
Line 17: Line 45:
Full HD resolution, scaling still possible. max. network speed, as many as possible decorations and animationss, audio forwarded to your workstation
Line 18: Line 47:
xfreerdp-2.0.0 /g:worli.ee.ethz.ch /d:d /u:USERNAME /v:vela.ee.ethz.ch /gdi:hw /gfx:rfx +gfx-progressive +bitmap-cache +offscreen-cache +glyph-cache /rfx /codec-cache:rfx -compression /bpp:32 /network:lan +fonts +window-drag +menu-anims +wallpaper +decorations +themes +aero +clipboard /dynamic-resolution /sound:sys:pulse /w:1920 /h:1080 xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /gdi:hw /gfx:rfx +gfx-progressive +bitmap-cache +offscreen-cache +glyph-cache /rfx /codec-cache:rfx -compression /bpp:32 /network:lan +fonts +window-drag +menu-anims +wallpaper +decorations +themes +aero +clipboard /dynamic-resolution /sound:sys:pulse /w:1920 /h:1080
Line 21: Line 50:
 . ''*Full HD resolution, scaling still possible. max. network speed, as many as possible decorations and animations. Audio forwarded.''
Line 24: Line 51:

'''
RDP file method'''
==== RDP file method ====
Line 29: Line 54:
 * Downlaod the rdp file of a RemoteApp to a location you remeber and name it for example RemoteApp.rdp (for example notepad.rdp)
 * Download the rdp file of a remote application to a location you remember and give it a meaningful name, for example "notepad.rdp"
 * The following command starts the remote appication notepad.exe in a scalable window:
Line 32: Line 57:
xfreerdp-2.0.0 ./notepad.rdp /g:worli.ee.ethz.ch /gu:USERNAME /gd:d /u:USERNAME /d:d xfreerdp-2.x.x ./notepad.rdp /u:USERNAME /d:d
Line 35: Line 60:
'''Direct connection by using an alias'''
==== Direct connection by using an alias ====
 * Follow the procedure above to download the RDP file
 * Look for the so-called alias of the remote application in the line starting with "remoteapplicationprogram" of "notepad.exe"
 * Extract the alias after the two pipe symbols. In this case: 'notepad'.
 * The following command starts the remote application notepad.exe in a scalable window:
Line 38: Line 66:
xfreerdp-2.0.0 /g:worli.ee.ethz.ch /d:d /u:USERNAME /v:vela.ee.ethz.ch /app:"||notepad" /rfx xfreerdp-2.x.x /g:worli.ee.ethz.ch /v:satch9.ee.ethz.ch /d:d /u:USERNAME /app:"||notepad" /rfx
Line 40: Line 68:

 . ''*Opens only a single program within a single window (scaling possible)''
 . {i} ''You can find the name of the alias by downloading the RDP file and opening it with a text editor. Search for the line ''''remoteapplicationprogram:s:'''||notepad' and extract the alias after the pipe symbols. In this case: 'notepad'.''

back to RDS

RDS Linux Advanced

The simplest method to connect from a managed Linux client to the D-ITET terminal server is by issuing the command

win.start

in the terminal. Further options of win.start can be shown with

win.start --help

The wrapper win.start is a simple bash script, it's content may be inspected at /usr/pack/xfreerdp-2.x.x-sr/amd64-debian-linux10/bin/win.start. It uses most of the advanced options shown below.

Advanced FreeRDP commands

Below, you can find some examples of connection setups made for different situations (network speed, audio, scaling, ...).

Auto Reconnect

To have the xfreerdp reconnect automatically after a connection timeout use parameters as in the following example:

xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME +auto-reconnect /auto-reconnect-max-retries:40

Auto reconnect only works without the graphics and caching parameters shown below.

Change Keyboard Language

If your keyboard settings differ from the default, look for the id of your preferred keyboard layout with the following command:

xfreerdp-2.x.x /kbd-list

And add the matching parameter ("Swiss German" in the example below) to your xfreerdp command:

xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /kbd:0x00000807 

Deluxe Fullscreen

Fullscreen mode, max. network speed, as many as possible decorations and animations, audio forwarded to your workstation

xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /gdi:hw /gfx:rfx +gfx-progressive +bitmap-cache +offscreen-cache +glyph-cache /rfx /codec-cache:rfx -compression /bpp:32 /network:lan +fonts +window-drag +menu-anims +wallpaper +decorations +themes +aero +clipboard /sound:sys:pulse /f /multimon /span +toggle-fullscreen

Deluxe Scaling

Full HD resolution, scaling still possible. max. network speed, as many as possible decorations and animationss, audio forwarded to your workstation

xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /gdi:hw /gfx:rfx +gfx-progressive +bitmap-cache +offscreen-cache +glyph-cache /rfx /codec-cache:rfx -compression /bpp:32 /network:lan +fonts +window-drag +menu-anims +wallpaper +decorations +themes +aero +clipboard /dynamic-resolution /sound:sys:pulse /w:1920 /h:1080

RemoteApps (BETA)

RDP file method

  • Connect to https://worli.ee.ethz.ch/RDWeb

  • Login with your nethz credentials: "d\USERNAME"
  • Download the rdp file of a remote application to a location you remember and give it a meaningful name, for example "notepad.rdp"
  • The following command starts the remote appication notepad.exe in a scalable window:

xfreerdp-2.x.x ./notepad.rdp /u:USERNAME /d:d

Direct connection by using an alias

  • Follow the procedure above to download the RDP file
  • Look for the so-called alias of the remote application in the line starting with "remoteapplicationprogram" of "notepad.exe"
  • Extract the alias after the two pipe symbols. In this case: 'notepad'.
  • The following command starts the remote application notepad.exe in a scalable window:

xfreerdp-2.x.x /g:worli.ee.ethz.ch /v:satch9.ee.ethz.ch /d:d /u:USERNAME /app:"||notepad" /rfx


CategoryHomepage

RDS-Linux-Advanced (last edited 2022-09-06 06:53:13 by stroth)