Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Also see our About R and R Studio Server help page.

...

Warning

Non-UT students, faculty and staff will need to obtain a 0-hour appointment through a UT sponsor (generally the POD owner; see Available PODs) in order to use the UT VPN service. The 0-hour appointment will allow them to obtain a high-assurance UT EID through the EID upgrade process. See https://ut.service-now.com/sp?id=kb_article&number=KB0011333 for more information.

VPN issue in Windows 10 WSL

Users have reported problems accessing BRCF resources from a Windows Subsystem for Linux (WSL) Ubuntu 18.04 shell, with the UT VPN service active. The error reported is usually something like "hostname not found", because Internet access is not working at all so the initial hostname-to-IP address DNS lookup fails.

This post (https://github.com/microsoft/WSL/issues/5068#issuecomment-637880306) suggests that the problem is the interaction between WSL and the specific VPN application. Users have reported resolving the issue in one of the following ways:

  • Use WSL in the older WSL1 mode rather than the newer WSL2 mode
  • Uninstall the Cisco AnyConnect application, and instead download and install the Windows app store version of AnyConnect
  • Use the built-in Windows VPN instead of AnyConnect

For information on installing WSL in Windows 10, see this post: https://docs.microsoft.com/en-us/windows/wsl/install-win10.

Desktop file system access via Samba

...

From your X11-enabled terminal, use ssh -Y to connect to the POD compute server (the -Y enables forwarding of the X11 commands to the X-terminal). Once logged in, type matlab. This will (slowly) open a graphical window to run matlab in.

Here's how to create a script in matlab.

  • In the "Command Window" in the middle of the matlab window, type "1+1" and hit return, it should say "2".
  • Click the "New Script" button at the upper left (or the "New" Button, then select "Script" if you don't see "New Script").
    • This will open an editing window for a script. 
  • Type "1+1" in the window, then click "Save" from the upper menu. 
    • Name it anything with a ".m" extension (such as untitled.m, the default). 
  • You can then use then "Open" menu, or the "Current Folder" pain, to open that file in the future.
  • Once open in the Editor, you can use the "Run" command from the Editor menu to run it.
  • Exit matlab (using either the "exit" or "quit" command)

To open matlab without the graphical interface, type the not-so-short or intuitive command: matlab -nodisplay -nosplash. This should give an interactive command prompt. To exit, type quit or exit. Other sometimes-useful options for the non-GUI matlab include -nojvm (might speed things up a bit) and -wait (wait until your jobs finish before exiting).

To run the "script" we created above (called untitled.m in your home directory) and exit, you can do something like:

Code Block
languagebash
matlab -nodisplay -nosplash -r "run('~/untitled.m');quit"

To add some error checking, you can use:

Code Block
languagebash
matlab -nodisplay -nosplash -r "try, run('~/untitled.m'), catch, exit, end, exit"

Another simple example script could be created and executed from the command line as shown below. (It should tell you the answer is "7.3529".)

Code Block
languagebash
echo "5^3/(2^4+1)" > ~/untitled2.m
matlab -nodisplay -nosplash -nojvm -r "run('~/untitled2.m');quit"

...