i30 Owners Club

A Win with Citrix HDX and Linux Mint!

0 Members and 4 Guests are viewing this topic.

Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,792

    • au Australia
      Adelaide

  • Callsign GUNZ
Here's something to assist trying to get audio and video working on Linux Mint for Citrix sessions:

The HDX RealTime Media Engine 2.9 for Linux (x64) promises to fix dramas with using AV media but it fails for Linux Mint at least, and probably other flavours as well.

The downloaded zip file extracts a bunch of files including the HDXRTME_install.sh shell script that must be run instead of the default Linux installer.

However, below are lines 1418 to 1435 of the script...

# check Linux distribution
if [ -r '/etc/SuSe-release' ]; then
      os="RedHat"
elif [ -r 'etc/redhat-release' ]; then
      os="RedHat"
elif [ -r '/etc/lsb-release' ]; then
      . /etc/lsb-release; [ "$DISTRIB_ID" ] && os="$DISTRIB_ID"
elif [ -r 'etc/debian_version' ]; then
      sysArch=' '
      getSystemArchitechture sysArch
      if [ "$sysArch" = "armhf" ]; then
            os="Debian"
      else
            os="Unsupported"
      fi
else
      os="Unsupported"
fi

The script kept stopping with "WARNING: Unsupported OS" until I looked in the etc/ folders and found that Linux Mint stores its version identifier file in etc/upstream-release/, so I re-wrote the script to the below lines and it worked.

For those not confident with modifying scripts, open it in the default text editor, then once corrected and saved, run it in Terminal using 'bash HDXRTME_install.sh'.

# check Linux distribution
if [ -r '/etc/SuSe-release' ]; then
      os="RedHat"
elif [ -r 'etc/redhat-release' ]; then
      os="RedHat"
elif [ -r '/etc/upstream-release/lsb-release' ]; then
      . /etc/upstream-release/lsb-release; [ "$DISTRIB_ID" ] && os="$DISTRIB_ID"
elif [ -r 'etc/debian_version' ]; then
      sysArch=' '
      getSystemArchitechture sysArch
      if [ "$sysArch" = "armhf" ]; then
            os="Debian"
      else
            os="Unsupported"
      fi
else
      os="Unsupported"
fi

#Easy peasy.  :lol:

  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline Greyhound

  • 3rd Gear
  • *
    • Posts: 230

    • gb United Kingdom
@The Gonz
Are you sure you posted this in the right forum?  :confused:
  • i30 PD 2020 1.0 T-GDi


Offline Shambles

  • Admin
  • *
  • Retyred @ Last
    • Posts: 43,365

    • england England
      Manchester, UK
    • i30 Owners Club
#Shambles loves a bit of bashing, from time to time :lol:
  • Ioniq MY2018 SE Premium Hybrid in Polar White with added oomph


Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,792

    • au Australia
      Adelaide

  • Callsign GUNZ
These Citrix sessions are used to log into the Defence network from home.
I came close to bashing when I contacted the help desk for the location of the download and was asked "What's LINIX?"  :crazy1:
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Unread Posts

 


SimplePortal 2.3.5 © 2008-2012, SimplePortal