atmos:citation:soft:vnc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| atmos:citation:soft:vnc [2025/10/08 15:04] – ashley.vos | atmos:citation:soft:vnc [2026/06/03 16:59] (current) – Did some more cleaning up of this page to make it easier to understand and to remove some duplicate information. kevin.norby | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Update August 21, 2024 ====== | ||
| - | |||
| - | |||
| ====== VNC Virtual Network Computing====== | ====== VNC Virtual Network Computing====== | ||
| Line 8: | Line 5: | ||
| Must have a good internet connection in order for it to not be extremely slow, but note that the school' | Must have a good internet connection in order for it to not be extremely slow, but note that the school' | ||
| - | We will be using the RealVNC | + | We will be using either TigerVNC or RealVNC, which include |
| - | ===== First Time Access via VNC to UND Linux Servers (Aircraft/ | + | ===== First Time Access via VNC to UND Linux Servers (Aircraft/ |
| - | - A secure shell client is required. | + | - A secure shell (ssh) client is required. On Windows, use [[https:// |
| - | - On Windows, use [[https:// | + | - The UND VPN is also required. [[https:// |
| - | - Most likely will need to access | + | |
| - When logging into the vpn, use | - When logging into the vpn, use | ||
| - Login to PuTTY with your NDUS login. (firstname.lastname, | - Login to PuTTY with your NDUS login. (firstname.lastname, | ||
| - | - Type vncpasswd | + | - Enter '' |
| - | - Email SCC, Derek Stinchfield | + | - Create a file in '' |
| - | - Use VNC viewer | + | #!/bin/sh |
| - | - Make sure PuTTY is open and logged into (with NDUS identifiers) | + | |
| - | - Open the VNC viewer and enter "littlestorm.atmos.und.edu: | + | vncconfig -iconic & |
| - | - Where " | + | |
| - | - Use new VNC password created | + | unset SESSION_MANAGER |
| + | unset DBUS_SESSION_BUS_ADDRESS | ||
| + | exec / | ||
| + | |||
| + | [ -x / | ||
| + | [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
| + | xsetroot -solid grey | ||
| + | vncconfig -iconic & | ||
| + | </code> | ||
| + | - Make this file executable with the command '' | ||
| + | - Create another file in '' | ||
| + | session=xfce | ||
| + | </ | ||
| + | - If you have not already been assigned a display number, scroll down and add your name with the next available number, or ask to be given the number of an inactive user. | ||
| + | - You will need a VNC viewer. (May need to be downloaded). Name: Either TigerVNC or RealVNC Viewer. (Preference for Tiger, download latest version https:// | ||
| + | - Run PuTTY and start your VNC session | ||
| + | - Run your VNC viewer and enter the hostname, e.g. '' | ||
| + | - Log in with the password | ||
| + | - You should now be looking at a window containing a linux desktop! | ||
| + | - When you are finished with the VNC, please return to PuTTY and enter the command '' | ||
| + | |||
| * Simplified steps for future use after initial set up: | * Simplified steps for future use after initial set up: | ||
| - | - Activate | + | - Start the UND VPN |
| - Open PuTTY and login. | - Open PuTTY and login. | ||
| - | - Open RealVNC | + | |
| + | | ||
| + | - When you are finished, return to PuTTY and enter '' | ||
| - | ===== Creating a VNC file on Remote Linux Computer | + | ===== Desktop Environment to Use ===== |
| + | Linux has several options for a desktop environment, | ||
| + | |||
| + | If you set up your VNC using the 06/2026 instructions at the top of the page, then you will already be using Xfce. To be sure, look at the top left of the VNC window. If the symbol to the left of '' | ||
| + | < | ||
| + | unset SESSION_MANAGER | ||
| + | unset DBUS_SESSION_BUS_ADDRESS | ||
| + | exec / | ||
| + | </ | ||
| + | Get rid of the line '' | ||
| + | You will also need to create a '' | ||
| + | < | ||
| + | session=xfce | ||
| + | </ | ||
| + | If you already have a config file, make sure it contains this line. | ||
| + | The next time you start your VNC session, it should be running Xfce. | ||
| + | |||
| + | ===== Creating a VNC file on Other Remote Linux Computers | ||
| - You must first create a vnc file on the computer you are wishing to gain external access to (the server computer). | - You must first create a vnc file on the computer you are wishing to gain external access to (the server computer). | ||
| Line 37: | Line 73: | ||
| - Make sure this file is executable. If not, make executable by typing '' | - Make sure this file is executable. If not, make executable by typing '' | ||
| - | === xstartup code for RedHat Linux Computers (for example aircraft.atmos.und.ued) === | ||
| - | |||
| - | See / | ||
| - | |||
| - | < | ||
| - | #!/bin/sh | ||
| - | |||
| - | vncconfig -iconic & | ||
| - | |||
| - | #Uncomment the following two lines for normal desktop: | ||
| - | unset SESSION_MANAGER | ||
| - | exec / | ||
| - | |||
| - | [ -x / | ||
| - | [ -r $HOME/ | ||
| - | xsetroot -solid grey | ||
| - | vncconfig -iconic & | ||
| - | #xterm -geometry 80x24+10+10 -ls -title " | ||
| - | gnome-session & | ||
| - | #IF YOUR NOT ABLE TO OPEN A GNOME TERMINAL IN YOUR VNC SESSION, COMMENT OUT THE LINE ABOVE AND UNCOMMENT OUT THE LINE BELOW! | ||
| - | #exec gnome-session & | ||
| - | 0 | ||
| - | |||
| - | </ | ||
| === xstartup code for Linux Mint Computers (for example Clifford Hall 422 computers) === | === xstartup code for Linux Mint Computers (for example Clifford Hall 422 computers) === | ||
| Line 81: | Line 93: | ||
| </ | </ | ||
| - | === xstartup code for Ubuntu | + | === xstartup code for Ubuntu === |
| < | < | ||
| Line 99: | Line 111: | ||
| </ | </ | ||
| - | ===== Starting and Killing the Remote Linux VNC Server (Can't do on Aircraft/Littlestorm) ===== | + | ===== Starting and Killing the Remote Linux VNC Server (Can't do on Aircraft/LittleStorm) ===== |
| * **To Start Server:** | * **To Start Server:** | ||
| - | * Type into a terminal window (on the server computer): '' | + | * Type into a terminal window (on the server computer): '' |
| * You can also choose the display number by using this command: '' | * You can also choose the display number by using this command: '' | ||
| * This will keep the server running until the computer is restarted or the power fails. This is also the reason why the computers in the computer labs are left on. | * This will keep the server running until the computer is restarted or the power fails. This is also the reason why the computers in the computer labs are left on. | ||
| Line 136: | Line 148: | ||
| ps -ef | grep -i Xvnc | ps -ef | grep -i Xvnc | ||
| - | |||
| - | ===== VNC into Calgary ===== | ||
| - | Do the same steps as above, however in your ' | ||
| - | |||
| - | < | ||
| - | #!/bin/bash | ||
| - | # Shell Access Aircraft using vnc client | ||
| - | export VNC_VIA_CMD='/ | ||
| - | / | ||
| - | </ | ||
| - | |||
| - | Also, you need to use the xstartup code file for Calgary which is displayed underneath the xstartup code for linux mint machines. | ||
| - | |||
| ===== Accessing the VNC server using Windows Operating System ===== | ===== Accessing the VNC server using Windows Operating System ===== | ||
| Line 197: | Line 196: | ||
| * Make sure to read the Wiki pages for both of these before continuing with this page | * Make sure to read the Wiki pages for both of these before continuing with this page | ||
| + | |||
| + | ===== Accessing the VNC server on OS X ===== | ||
| + | OS X has a built in VNC viewer, so no extra software is needed to access the VNC server. | ||
| + | |||
| + | To access the VNC server: --- // | ||
| + | |||
| + | * Open Terminal and execute the following command to set up a port tunnel: ssh -L 59??: | ||
| + | * Open Finder and in the toolbar, choose Go-> | ||
| + | * In the dialog box, enter vnc:/ /< | ||
| + | * Choose " | ||
| + | * A window will prompt for your password. Enter it and you're all set! | ||
| + | |||
| + | To change the VNC viewer resolution: | ||
| + | |||
| + | * Connect to the VNC server | ||
| + | * Open settings within the linux operating system and choose Displays-> | ||
| ===== Extra Information for those interested ===== | ===== Extra Information for those interested ===== | ||
| + | |||
| ==== Terms and Definitions ==== | ==== Terms and Definitions ==== | ||
| Line 216: | Line 232: | ||
| * **Client** : Your computer, or the computer that is trying to gain access to the server | * **Client** : Your computer, or the computer that is trying to gain access to the server | ||
| - | |||
| - | |||
| - | ===== Accessing the VNC server on OS X ===== | ||
| - | OS X has a built in VNC viewer, so no extra software is needed to access the VNC server. | ||
| - | |||
| - | To access the VNC server: --- // | ||
| - | |||
| - | * Open Terminal and execute the following command to set up a port tunnel: ssh -L 59??: | ||
| - | * Open Finder and in the toolbar, choose Go-> | ||
| - | * In the dialog box, enter vnc:/ /< | ||
| - | * Choose " | ||
| - | * A window will prompt for your password. Enter it and you're all set! | ||
| - | |||
| - | To change the VNC viewer resolution: | ||
| - | |||
| - | * Connect to the VNC server | ||
| - | * Open settings within the linux operating system and choose Displays-> | ||
| Line 259: | Line 258: | ||
| * 20 - Shawn Wagner* | * 20 - Shawn Wagner* | ||
| * 21 - Nick (Nicholas) Gapp | * 21 - Nick (Nicholas) Gapp | ||
| + | * 22 - Paramvi Singh | ||
| + | * 23 - (Kevin Norby) (Previously Aanan Schlief) | ||
| * 24 - Henry Liberty (Previously Jennifer Moore) | * 24 - Henry Liberty (Previously Jennifer Moore) | ||
| - | * 25 - Andrew Delafrance | + | * 25 - Benjamin Guida |
| * 26 - Peter | * 26 - Peter | ||
| * 27 - Cheyenne Harrison* | * 27 - Cheyenne Harrison* | ||
| Line 267: | Line 268: | ||
| * 30 - Bryce Rickbeil* | * 30 - Bryce Rickbeil* | ||
| * 31 - Ashley Vos* | * 31 - Ashley Vos* | ||
| + | * 32 - Ikran Abdi* | ||
| + | * 33 - Thomas Johansen* | ||
| + | * 34 - Kyle Gillette | ||
| + | * 35 - Andrew Kramer | ||
| + | |||
| * Active Users | * Active Users | ||
| - | To see who is using VNC Server session use the command "ps -ef | grep -i Xvnc" | + | To see who is using VNC Server session use the command "ps -ef | grep -i Xvnc" |
| - | + | ||
| - | - Error Example: Attempting to run vnc, you may get the error 'Timed out waiting for a response from the computer.' | + | |
| + | - Error Example: Attempting to run VNC, you may get the error 'Timed out waiting for a response from the computer.' | ||
atmos/citation/soft/vnc.1759935880.txt.gz · Last modified: 2025/10/08 15:04 by ashley.vos