After canvassing the internet, this worked for me on Windows remote machine with mrtrix installed on Windows local machine.
Assuming that, when you access it remotely, mrview works normally when the mrview window was already open locally via the MinGW 64-bit shell .
- Launch mrview via TeamViewer remote connection that works fine.
2. If you now want to open a new mrview window on the host via Remote Desktop Connection, from your remote location, the logic is: disconnect from your remote session and allow mrview to launch on the local machine, then reconnect remotely again.
While remotely connected to your local machine:
Run msys2 terminal as administrator, else it won’t work. I have got the msys2 pinned on my taskbar so I just right click the icon, then right click it again to choose Run as administrator. Then choose the Mingw-w64 64bit as usual
- Get the active session number by typing $ query session in the terminal. Here mine is 2
- write script in e.g. Notepad
tscon 2 /DEST:console /password:yourloginpassword
- save it i.e. C:\msys64\home[me]\myscript.sh
- in mysys terminal type $./myscript.sh
this will disconnect you, lauch mrview locally. And all you then need to do is reconnect remotely and you should find mrview window open. In this configuration I don’t have problems with 3D rendering.