Skip to content

USB mount and passthrough for freerdp #662

Description

@LittleITworld

Hello!
How do I mount a USB device with drive letter H, so that I can see it when iam connected to my terminal Server?
Currently my config looks like this, but it doesnt mount my USB device.

If I put /drive:H,/mnt/usbdevice into the session_0_freerdp_options, I get a blackscreen with a cursor after booting the image.

Config:
RECONNECT_PROMPT=force
AUDIO_LEVEL=90
MIC_LEVEL=90
ICONMODE=AUTO
ALWAYS_ENTER_SERVER=Off
ALLOW_EXIT=Off

SESSION_0_TITLE="Main"
SESSION_0_TYPE=freerdp
SESSION_0_FREERDP_SERVER=IP-ADDRESS
SESSION_0_FREERDP_OPTIONS="/cert-ignore -sec-nla /d:DOMAIN /bpp:32 /rfx /gfx:AVC444 /sound:sys:pulse +auto-reconnect /auto-reconnect-max-retries:0 +heartbeat +fonts /u: /p:"
FREERDP_GETUSER=off
SESSION_0_FREERDP_PASS_ENABLE=true
SESSION_0_CUSTOM_CONFIG=On
SESSION_0_AUTOSTART=On
FREERDP_USB=On
FREERDP_GET_BEST_SERVER="http://IP-ADDRESS/get-rds-host/"

NET_USE=BOTH
NET_USE_DHCP=on
NET_HOSTNAME=ts_*
NET_TELNETD_ENABLED=ON
TIME_ZONE=Europe/Berlin
NET_TIME_SERVER=de.pool.ntp.org
NET_REMOTE_ACCESS_FROM="0.0.0.0"
TFTP_BLOCKSIZE=1024
BIND_MOUNT0="storage:/mnt/storage"
STORAGE_CONFIG1=/mnt/storage
USB_STORAGE_SYNC=0
USB_MOUNT_DIR="usbdevice"
USB_MOUNT_OPTIONS="utf8,shortname=win95"
USB_MOUNT_USELABEL=USBSTICK
LOCALE=de_DE
MOUNT_0="LABEL=boot /boot auto x-mount.mkdir,defaults 0 0"
MOUNT_1="LABEL=home /home auto x-mount.mkdir,defaults 0 0"
MOUNT_2="LABEL=swap swap swap defaults 0 0"
SET_RESOLUTION_MULTIMONITOR_EXPAND='mirror'
SET_RESOLUTION_MULTIMONITOR_AUTOSCALE='scale'

packages included in build.conf:
usb-storage
automount
udisks
udisks glue
ts-classic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions