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 [2026/06/02 21:57] – I accidentally submitted my previous change too early!! Sorry!! See that one's summary. I'm just fixing formatting here. kevin.norby | atmos:citation:soft:vnc [2026/06/13 10:26] (current) – delene | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== VNC Virtual Network Computing====== | ====== VNC Virtual Network Computing====== | ||
| - | These directions are for remotely connecting to a Linux computer using a VNC server. | + | These directions are related to enabling you to remotely connecting to a Linux computer |
| - | Must have a good internet connection in order for it to not be extremely slow, but note that the school' | + | ===== First Time Access via VNC Client |
| - | + | ||
| - | We will be using the RealVNC program, which includes the VNC Viewer and the VNC Server. | + | |
| - | + | ||
| - | ===== First Time Access via VNC to UND Linux Servers (Aircraft/ | + | |
| - A secure shell (ssh) client is required. On Windows, use [[https:// | - A secure shell (ssh) client is required. On Windows, use [[https:// | ||
| - The UND VPN is also required. [[https:// | - The UND VPN is also required. [[https:// | ||
| - | - When logging into the vpn, use | + | - When logging into the vpn, use should be able to use vpn.und.edu; |
| - Login to PuTTY with your NDUS login. (firstname.lastname, | - Login to PuTTY with your NDUS login. (firstname.lastname, | ||
| - Enter '' | - Enter '' | ||
| Line 31: | Line 27: | ||
| session=xfce | 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. | + | - 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. Note that the VPN only allows access up to display number 35; hence, likely need to use a display number that is no longer needed by another person. |
| - You will need a VNC viewer. (May need to be downloaded). Name: Either TigerVNC or RealVNC Viewer. (Preference for Tiger, download latest version https:// | - 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 with the command '' | - Run PuTTY and start your VNC session with the command '' | ||
| Line 37: | Line 33: | ||
| - Log in with the password you created earlier | - Log in with the password you created earlier | ||
| - You should now be looking at a window containing a linux desktop! | - 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 '' | + | - When you are finished with the VNC, please return to PuTTY and enter the command '' |
| Line 47: | Line 43: | ||
| - When you are finished, return to PuTTY and enter '' | - 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 56: | Line 69: | ||
| - 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 203: | Line 192: | ||
| * 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 223: | Line 229: | ||
| * **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-> | ||
| - | |||
| - | |||
| - | ===== Desktop Server to Use (Use XFCE on LittleStorm) ===== | ||
| - | Linux has several options for a Desktop Server, which include gnome (se and XFCE4 (xfce4-session). | ||
| ===== List of VNC Display Numbers Used by People ===== | ===== List of VNC Display Numbers Used by People ===== | ||
| Line 286: | Line 272: | ||
| * 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.' | + | |
| - | + | ||
| - | ===== Users Starting the VNC Server ===== | + | |
| - | systemctl start vncserver@: | + | |
| - | | + | |
| - | + | ||
| - | Where n is the vnc session | + | |
| - | systemctl disable vncserver@n.service | + | |
| + | - Error Example: Attempting to run VNC, you may get the error 'Timed out waiting for a response from the computer.' | ||
atmos/citation/soft/vnc.1780437449.txt.gz · Last modified: 2026/06/02 21:57 by kevin.norby