Main Content

Fixed Problems

Here are fixes to some (not so random problems)...

Problem: Matlab install problems (various)


Problem: Cannot connect to eduroam wireless network using Fedora (25)

Keywords: fedora 25 eduroam wireless authentication

  • Open the "Network Connections" (not "Network") application
  • Add -> Wi-Fi -> Create
  • (** Wi-Fi tab **)
    • SSID = eduroam
    • Mode == Client
    • Device == (select wireless interface)
    • MTU == automatic
  • (** Wi-Fi Security tab **)
    • Security == WPA & WPA2 Enterprise
    • Authentication == Protected EAP (PEAP)
    • Anonymous Identity == [[blank]]
    • [x] No CA certificate is required
    • PEAP version == Automatic
    • Inner authentication == MSCHAPv2
    • Username == [[sdsuID]]
    • Password -== [[sdsuID-PASSWORD]]
  • ... and Bob's your uncle!

Problem: On a system with multiple GPU cards (one for display, others for CUDA computations), xstart / xinit will sometimes pick the wrong (first one on the list) card for the display.

Keywords: fedora 25 select GPU device nvidia driver

  • run nvidia-settings to generate /etc/X11/xorg.conf
  • lspci | egrep -i VGA to get the BusID of the card, e.g.

    04:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

  • Add the line: BusID "PCI:4:0:0"

    to Section "Device" of /etc/X11/xorg.conf
Wrinkle: this stopped working sometime in the summer of 2017...

Problem: Legacy postscript fonts cause warnings and strange output from LaTeX processed with dvips, dvipdf, and/or pdflatex.

Keywords: LaTeX fonts legacy Helvetica pdflatex

Error Message:
/usr/bin/dvips: Font Helvetica-Bold used in file Figures/basis_q1.eps is not in the mapping file.
/usr/bin/dvips: Font Helvetica used in file Figures/basis_q1.eps is not in the mapping file.

  • Add the line: p

    to /usr/share/texlive/texmf-dist/dvips/config/

Problem: Plotting in Matlab R2016b fails under Fedora 25.

Error Message:
Error using gca
While setting property 'Parent' of class ''Axes'':
Can't load '/opt/MATLAB/R2016b/bin/glnxa64/':
/opt/MATLAB/R2016b/bin/glnxa64/../../sys/os/glnxa64/ version `CXXABI_1.3.9' not found (required by /lib64/
Error in newplot (line 73)
ax = gca(fig);

  • Force matlab to load the system version of libstdc++ by creating the alias

  • alias matlab='LD_PRELOAD=/usr/lib64/ /opt/MATLAB/R2016b/bin/matlab'
Alternative (alleged):
  • Copy/edit — uncomment

to always use the OpenGL libraries shipped with MATLAB.