Skip to navigation
A way to run linux graphic programs from mac or windoes
09.10.16
Mac OS X Install XQuartz on your Mac, which is the official X server software for Mac Run Applications > Utilities > XQuartz.app Right click on the XQuartz icon in the dock and select Applications > Terminal. This should bring up a new xterm terminal windows. In this xterm windows, ssh into the linux system of your choice using the -X argument (secure X11 forwarding). For example, to log into hulk.soic.indiana.edu you would run something like: ssh -Y username@hulk.soic.indiana.edu Once you are logged into the linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your Mac. Windows Install the Xming software. If you have not already done so, download putty.exe from the PuTTY site and install it. Run Xming on your PC to start the X server. You should see the Xming icon in the taskbar if it is running (although you may have to click the little arrow in the taskbar to see it) Run PuTTY and set things up as follows: - Enter the server name in Host Name - Make sure the Connection type is set to SSH - Enable X11 forwarding (Connection > SSH > X11) Log in using your normal IU username and passphrase Once you are logged into the linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your PC. Linux ssh into the linux system of your choice using the -Y argument (secure X11 Forwarding). For example, to log into hulk.soic.indiana.edu you would run something like: ssh -Y username@hulk.soic.indiana.edu Once you are logged into the remote linux system, you can just run the GUI program of your choice (ie. matlab, mathematics, etc) and it will display on your Mac. Alternate Method Using RDP The methods listed above are recommended because they put the least amount of load on the servers and should provide adequate performance. However, there is an alternate method using RDP (Remote Desktop) that will work on some of our Linux servers. For those systems you can connect using the native Remote Desktop client (Windows), the Microsoft Remote Desktop App (Mac OS X), or either xfreerdp or rdesktop (Linux). You will get a full GUI desktop using this method so you can start any GUI application you need. The downside of this approach is that since you are running a full GUI desktop it puts much more load on the server and your performance may suffer. For that reason, we urge you to use the above OS-specific methods and only use RDP as a last resort if those do not work for you.
https://uisapp2.iu.edu/confluence-prd/pages/viewpage.action?pageId=280461906
Reply
Anonymous
Information Epoch 1779187861
Save trees.
Home
Notebook
Contact us