Open main menu

CDOT Wiki β

Changes

Using a Linux Desktop

6,336 bytes added, 00:17, 12 May 2022
Created page with "=== Objective === To provide a Linux Desktop experience using methods that are relatively easy to ones that are advanced. = Connecting to the VPN = Connect to Seneca's ''Virt..."
=== Objective ===
To provide a Linux Desktop experience using methods that are relatively easy to ones that are advanced.

= Connecting to the VPN =
Connect to Seneca's ''Virtual Private Network'' (VPN) using GlobalProtect clients.

== macOS/Windows ==
A reboot may be needed in case of difficulty authenticating with Seneca's VPN.
# Student clients: [https://students.senecacollege.ca/spaces/186/it-services/wiki/view/1024/vpn Student Virtual Private Network]
# Employee clients: [https://employees.senecacollege.ca/spaces/77/it-services/wiki/view/3723/employee-vpn Seneca Virtual Private Network]

== Linux ==
Requires '''libqt5webkit5'''.
# [https://students.senecacollege.ca/spaces/186/it-services/wiki/view/1027/vpn-clients Students VPN Clients] (includes Linux)
# [https://employees.senecacollege.ca/spaces/77/it-services/wiki/view/7296/vpn-clients Professors VPN Clients] (includes Linux)

Find more troubleshooting information at the [https://students.senecacollege.ca/spaces/186/it-services/forums/1166/vpn-frequently-asked-questions Student VPN FAQ] or the [https://employees.senecacollege.ca/spaces/77/it-services/forums/1961/vpn-frequently-asked-questions Employee VPN FAQ].

= Connecting to Matrix =
There are three ways to connect to <code>matrix.senecacollege.ca</code> from a Linux Desktop:

* '''easy''' :: this method runs Desktop Linux from computers located on Seneca's campus.
* '''intermediate''' :: uses a Live Desktop Linux (Ubuntu) located on your computer.
* '''advanced''' :: uses Desktop Linux (Debian virtual machine) located on your computer.

Briefly, each of these methods involve the following additional steps:

== Running on Seneca VirtualCommons ==
This method of running desktop Linux is, relatively speaking, the easiest of the three options and possibly the only one you need if you find the other two too difficult or you have hardware that does not support virtualization. Follow these instructions to run a live Linux Desktop (Knoppix) from Seneca VirtualCommons.

=== Step 1 - Remote Desktop to Seneca VirtualCommons ===
# First install and run Seneca's Virtual Private Network (VPN) as described in the links above.
# Next, follow the instructions to reserve a remote desktop that lets you connect to [https://students.senecacollege.ca/spaces/186/it-services/wiki/view/1023/virtual-commons Seneca's VirtualCommons].
# The videos linked to below walk through the steps needed to connect to Seneca VirtualCommons from macOS or Windows:
#* Video: [https://youtu.be/m19gVTZYtC4 VirtualCommons: HOWTO on macOS]
#* Video: [https://youtu.be/Nj455y-3G7s VirtualCommons: HOWTO on Windows]

=== Step 2 - Run Knoppix from MyApps ===
In brief, the steps involved are:
# From the remote desktop session you are connected to, open a browser and connect to <code>myapps.senecacollege.ca</code>.
# After you have MyApps open in your browser, select Knoppix and run it.
#* Video: [https://web.microsoftstream.com/video/a6021189-be6e-4918-b279-be87d8f777ae HOWTO Run Knoppix from MyApps on VirtualCommons]

=== Step 3 - Connect to Matrix from Knoppix ===
You are in Knoppix running on VirtualCommons for this step.
# On the Knoppix taskbar click on Terminal
# When the Terminal opens, run the following to connect to '''matrix.senecacollege.ca''': (replace ''mysenecaID'' with your Seneca username)
#* <code>ssh mysenecaID@matrix.senecacollege.ca</code>

== Live Linux in a VM on your local computer ==
This is the intermediate option to have Linux running on your local computer provided you have hardware that supports virtualization and have administrative privileges on your local computer.

For this method to work correctly, verify your CPU supports hardware virtualization (both '''VT-x''' and '''VT-d''' should be available and enabled). You can verify this by looking up details of your CPU specifications from the CPU manufacturer's website. The rest of this tutorial assumes your CPU supports virtualization and is enabled both in the BIOS and in your operating system. You need to install software on your local computer, which requires administrative privileges.

The operating system (OS) you are installing on is known as the host OS, which would be typically macOS or Windows for most users. The operating system you run in a VirtualBox virtual machine is known as the guest OS, which would be Ubuntu running live (no installation is done on host OS). A live install lets you try a Linux graphical desktop before you decide to commit to installing a Linux distribution.

=== Step 1 - Install VirtualBox ===
Download and install [https://www.virtualbox.org/wiki/Downloads VirtualBox] for your operating system (macOS or Windows).

=== Step 2 - Download and unzip Ubuntu VirtualBox VM ===
Download the [https://senecafts.senecacollege.ca/link/GXpTmoPbg4GU32nboZnOmY Ubuntu VirtualBox VM for Intel/AMD] (requires MySeneca authentication).

'''IMPORTANT:''' Right click and unzip the compressed virtual machine (VM) after the download completes.

=== Step 3 - Try Ubuntu ===
After you downloaded and unzipped the VirtualBox virtual machine (VM):

# Startup VirtualBox and add the unzipped Ubuntu VM to VirtualBox.
# From the Ubuntu VirtualBox VM, right click on Start.
# When Ubuntu VirtualBox VM starts up, click on "Try Ubuntu".
# After the Ubuntu desktop appears:
## Press the Windows key on your keyboard to show all applications.
## Select the terminal icon or type <code>terminal</code>.
# When the Terminal opens, run the following to connect to '''matrix.senecacollege.ca''': (replace ''mysenecaID'' with your Seneca username)
#* <code>ssh MySeneca_user@matrix.senecacollege.ca</code>

== Graphical Desktop Linux on your local computer ==
Instructions to connect to <code>matrix.senecacollege.ca</code> using this method will be posted here, later this semester.

= References =
'''Knoppix''': For more information and to get the latest news about this Linux distribution visit: https://www.knopper.net/knoppix/index-en.html

'''Ubuntu''': For more information and to get the latest news about this Linux distribution, visit: https://www.ubuntu.com/

= Attribution =
These instructions were authored by [mailto:mark.fernandes@senecacollege.ca Mark Fernandes] and fetched from the ICT webserver on 12 May 2022.

They were refactored for this wiki by [[User:Chris.johnson | Chris Johnson]].