Accessing the RX-300 and RX-RDP Linux Line Command to Collect the Client Logs

Accessing the RX-300 and RX-RDP Linux Line Command to Collect the Client Logs

Product Line:  VERDE


On the RX300 device please do the following to collect the logs:

 

  • Please open the Setup GUI, go to Peripherals section, select Custom settings and select ‘Native (RDP only)’ redirection for mass storage. Apply the settings. With that the RX300 will automatically mount connected USB mass storage devices. It is necessary for copying the log files collected in next steps.
  • In the GUI of the RX300 device please press the Ctrl-Win-F12 key-combination. This will open the ‘rx-terminal’ window.
  • It the ‘rx-terminal’ window please execute the ‘run-terminal’ command. This will open a second window, with Linux shell.
  • In Linux shell execute the ‘cd /opt/FreeRDP’ command to change the directory to /opt/FreeRDP.
  • Execute the ‘sudo su’ command to elevate the user’s permissions to ‘root’.
  • Execute the following command to make a backup copy of your existing xfreerdp.bin file:

 

cp xfreerdp.bin xfreerdp.bin.bak

 

  • Execute the following command to enable RDP client logs collection:

 

sed -i -e '/^\/opt\/FreeRDP\/xfreerdp/ s/$/ \/log-filters:com.freerdp.channels.urbdrc.client:TRACE 2>\&1 >> \/tmp\/xfreerdp.log/' xfreerdp.bin

 

  • With ‘cd /usr/bin’ change the current directory to /usr/bin.
  • Execute the following command to make a backup copy of your existing verde-client file:

 

cp verde-client verde-client.bak

 

  • Execute the following command to enable VERDE client logs collection:

 

sed -i -e '/LD_LIBRARY_PATH/ {s/^/WIN4_DBG_MOD_ALL=verbose /; s/$/ 2>\&1 >> \/tmp\/verde-client.log/}' verde-client

 

  • Let a user to log in and work until the barcode scanner will stop working. After logging the user off press Alt-Tab to switch back to the Linux shell window.
  • Connect a formatted USB memory stick to RX300’s USB port. Wait few second and with the ‘ls -al /media/*’ command confirm that the memory stick is accessible (list of its contents should appear).
  • Execute  the following commands to collect the logs:

 

dmesg > /tmp/dmesg.log

lsusb -v > /tmp/lsusb.log

volname=$(ls /media)

tar cvfz /media/$volname/logs.tar.gz /tmp/xfreerdp.log /tmp/verde-client.log /tmp/dmesg.log /tmp/lsusb.log /var/log/syslog

 

  • Wait a while until the OS finishes copying the files (the LED on memory stick, if there is any, should stop blinking). Unplug the memory stick and send the collected logs.tar.gz file to NComputing.
  • If you want to disable the collection of the logs please restore the two backup files created earlier.
    • Related Articles

    • What custom RDP parameters does the RX-RDP support?

      Custom RDP parameter options are supported when an RX-RDP device is operating in RDP client mode. The 'Custom parameters' option can be used to specify additional parameters (command-line options) for the FreeRDP client used by the device for ...
    • RX-300: How to collect logs for technical Support

      During troubleshooting, support may request for you to collect and send a log file from your RX-300.  You will need a USB flashdrive. For this example we are using a 2 GB drive.   We recommend to quick format the drive and give it a name to avoid ...
    • Using VNC with RX-300 and RX-RDP

      Product Line:  VERDE There is a known limitation with VNC: The ‘/novcast’ custom parameter for the RDP connection allows the customer to VNC-shadow the RDP session, but it disables the vCAST technology, which is the main feature of the SuperRDP ...
    • RX-RDP with VNC Can Have Issues. Please Refer this Article

      Product Line:  VERDE A customer had the following issue: Using VNC, they accessed their RX-RDP client Once again, via VNC, they logged into the VERDE environment Selected their Win10 image The Image comes up, but the screen is black. Solution:   The ...
    • What custom RDP parameters does the RX300 support?

      RX300 thin clients support multiple client connection modes include vSpace, VERDE VDI and FreeRDP. In the FreeRDP client connection mode, the 'Custom parameters' option can be used to specify additional parameters (command-line options) to establish ...