Differences between revisions 12 and 19 (spanning 7 versions)
Revision 12 as of 2018-10-16 08:52:55
Size: 2921
Editor: stroth
Comment:
Revision 19 as of 2022-09-06 06:53:13
Size: 3722
Editor: stroth
Comment: Indent some code blocks, mark them as bash commands
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 {{{#!highlight bash numbers=disable
win.start
}}}
in the terminal. Further options of `win.start` can be shown with {{{#!highlight bash numbers=disable
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 10: Line 21:
To have the xfreerdp reconnect automatically after a connection timeout use parameters as in the following example:
{{{
xfreerdp-2.0.0 /g:worli.ee.ethz.ch /v:SERVERNAME.ee.ethz.ch /d:d /u:username +auto-reconnect /auto-reconnect-max-retries:40
To have the xfreerdp reconnect automatically after a connection timeout use parameters as in the following example: {{{#!highlight bash numbers=disable
xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME +auto-reconnect /auto-reconnect-max-retries:40
Line 18: Line 28:
{{{
xfreerdp-2.0.0 /kbd-list
{{{#!highlight bash numbers=disable
xfreerdp-2.x.x /kbd-list
Line 22: Line 32:
{{{
xfreerdp-2.0.0 /g:worli.ee.ethz.ch /v:SERVERNAME.ee.ethz.ch /d:d /u:username /kbd:0x00000807
{{{#!highlight bash numbers=disable
xfreerdp-2.x.x /v:SERVERNAME.ee.ethz.ch /d:d /u:USERNAME /kbd:0x00000807
Line 27: Line 37:
{{{
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
Fullscreen mode, max. network speed, as many as possible decorations and animations, audio forwarded to your workstation
{{{#!highlight bash numbers=disable
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 31: Line 42:
 . ''*Fullscreen mode, max. network speed, as many as possible decorations and animations. Audio forwarded.''
Line 34: Line 44:
{{{
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
Full HD resolution, scaling still possible. max. network speed, as many as possible decorations and animationss, audio forwarded to your workstation
{{{#!highlight bash numbers=disable
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 38: Line 49:
 . ''*Full HD resolution, scaling still possible. max. network speed, as many as possible decorations and animations. Audio forwarded.''
Line 41: Line 50:

'''
RDP file method'''
==== RDP file method ====
Line 45: Line 53:
 * 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: {{{#!highlight bash numbers=disable
xfreerdp-2.x.x ./notepad.rdp /u:USERNAME /d:d
}}}
Line 47: Line 58:
{{{
xfreerdp-2.0.0 ./notepad.rdp /g:worli.ee.ethz.ch /gu:USERNAME /gd:d /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: {{{#!highlight bash numbers=disable
xfreerdp-2.x.x /g:worli.ee.ethz.ch /v:satch9.ee.ethz.ch /d:d /u:USERNAME /app:"||notepad" /rfx
Line 50: Line 65:
 . ''*Opens a program within scalable window''

'''Direct connection by using an alias'''

{{{
xfreerdp-2.0.0 /g:worli.ee.ethz.ch /d:d /u:USERNAME /v:vela.ee.ethz.ch /app:"||notepad" /rfx
}}}
 . ''*Opens a program within scalable window''
 . {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)