Viewing PDF’s on the cinci cluster
The cinci cluster uses okular as the document viewer. Following are the steps that need to be followed to use ssh with x11 forwarding be able to access okular.
Accessing okular using Linux/ Mac
- Download and install XQuartz on macOS
- XQuartz package can be found here
- Once this package is downloaded, install the server and follow the instructions provided on the dialogue box to complete the installation process
- XQuartz can also be downloaded using the brew command on the terminal
brew install -cask xquartz
- Reboot your mac
- Click on the Apple icon and then restart or use the following command on the terminal
sudo reboot
-
Log into cinci using the SSH command with -X or -Y flages
ssh -X user@cinci.sdsu.edu
orssh -Y user@cinci.sdsu.edu
-
Open required file using the following command
okular path/doc.pdf
- More command line options for okular can be found here
Accessing okular using Windows
- Download and install PuTTY from here
- Create a session under the ‘Session’ category. Enter ‘cinci.sdsu.edu’ under ‘Host Name’ and under ‘Saved Sessions’
- Select SSH as the Connection type
- Click on the ‘plus’ of the SSH category, select X11, and check ‘Enable X11 forwarding’
- Select the ‘Session’ category, and clieck on ‘Save’.
- Conntect to cinci.sdsu.edu by clicking ‘Open’.
- Log in using your username and password.
-
Open required file using the following command
okular path/doc.pdf
- More command line options for okular can be found here.