Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2018-10-09 18:36:41
Size: 1166
Editor: scot
Comment:
Revision 6 as of 2022-05-24 22:55:52
Size: 1621
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== Ubuntu 18.04 == == Ubuntu 18.04 - 22.04 ==
Line 7: Line 7:
Ground zero problem: DHCP is not pulling an address. Edit /etc/netplan/[?].yaml

{{{
network:
  ethernets:
    eth0:
      dhcp4: true
      dhcp-identifier: mac <-- this is the thing you need to add/change
  version: 2
}}}


=== Remote Desktop Fix ===
Line 27: Line 40:
[Netowrkmanager] [Networkmanager]
Line 42: Line 55:

== Moodle Install ==

 * [[https://websiteforstudents.com/setup-moodle-cms-on-ubuntu-18-04-lts-beta-with-apache2-mariadb-and-php-7-1-support/|Moodle Install Directions Used]]

Dr. A's Ubuntu Install Notes

These are general notes and not specific to a class, so tread lightly if you are one of my students.

Ubuntu 18.04 - 22.04

Ground zero problem: DHCP is not pulling an address. Edit /etc/netplan/[?].yaml

network:
  ethernets:
    eth0:
      dhcp4: true
      dhcp-identifier: mac  <-- this is the thing you need to add/change
  version: 2

Remote Desktop Fix

One of the first things I like to do with an Ubuntu machine inst install xrdp. Here are the steps I got from here. Of course you should update the server first!

$ apt install -y xrdp
$ sudo sed -e 's/^new_cursors=true/new_cursors=false/g' -i /etc/xrdp/xrdp.ini
$ sudo systemctl restart xrdp

Create the .xsessionrc in your home directory and have it contain:

GNOME_SHELL_SESSION_MODE=ubuntu
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=${D}
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg

I like to use gnome so the following fixes were also added in /etc/polkit-1/localauthority/50-local.d/xrdp-color-manager.pkla

[Networkmanager]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device
ResultAny=no
ResultInactive=no
ResultActive=yes

Then you need to restart polkit:

$ systemctl restart polkit

That should do it for connecting from Windows.

Moodle Install

Ubuntu (last edited 2022-05-24 22:55:52 by scot)