Switch Over Instructions
DISABLE WAYLAND FOR SUPPORT MESH COMPATIBILITY
1 | From the initial boot after installation on the login screen |
2 | Select your account and go to the bottom right to click the gear icon |
3 | Select Gnome on Xorg |
4 | Input password to proceed with login |
Open Terminal
sudo -i
nano /etc/gdm/custom.conf
1 | Go to the line #WaylandEnable=false and Delete the hashtag '#' |
2 | To exit: CTRL + 'X' |
3 | Select 'Y' for yes |
4 | To save: 'enter' key |
sudo dnf update -y
sudo reboot
******************************COMPLETED*******************************
CHANGE COMPUTER NAME
1 |
Open Terminal PC Name example: MYDNS-IT-C12-L.M21.GOV.LOCAL |
2 | sudo hostnamectl set-hostname mydns-it-c12-l.m21.gov.local |
******************************COMPLETED*******************************
TO JOIN THE DOMAIN
Open Terminal
sudo nano /etc/environment
Add the following line to the file:
http_proxy="http://172.40.4.14:8080/"
https_proxy="http://172.40.4.14:8080/"
1 | To exit: CTRL + 'X' |
2 | Select 'Y' for yes |
3 |
To save: 'enter' key |
4 |
Log out and back in again |
sudo nano /etc/dnf/dnf.conf
Add the following line to the file:
fastestmirror=1
1 | To exit: CTRL + 'X' |
2 | Select 'Y' for yes |
3 |
To save: 'enter' key |
On Fedora
sudo dnf -y install realmd sssd oddjob oddjob-mkhomedir adcli samba-common-tools
On Ubuntu
sudo apt -y install sssd-ad sssd-tools realmd adcli
Fix DNS
sudo unlink /etc/resolv.conf
sudo nano /etc/resolv.conf
Input the IP Address and the Domain Name into file
search m21.gov.local
nameserver 172.16.21.161
1 | To exit: CTRL + 'X' |
2 | Select 'Y' for yes |
3 | To save: 'enter' key |
sudo nano /etc/hosts
Input the following lines into file
172.16.21.161 m21.gov.local M21.GOV.LOCAL
172.16.21.16 mydns-0ic16.m21.gov.local mydns-0ic16
1 | To exit: CTRL + 'X' |
2 | Select 'Y' for yes |
3 | To save: 'enter' key |
sudo realm discover M21.GOV.LOCAL
ping -c 4 M21.GOV.LOCAL
To stop ping: CTRL + 'C' |
sudo realm join -U ent_username@M21.GOV.LOCAL m21.gov.local -v
Input Ent Account Password
To ensure that it was successful run the realm join code again and you should see "Already joined to this domain"
******************************COMPLETED*******************************
GROUP POLICY CONFLICT RESOLVE (to login without wifi)
Open Terminal
sudo nano /etc/sssd/sssd.conf
Input at the end of the file
ad_gpo_access_control = permissive
Your "/etc/sssd/sssd.conf" should look like this. Make all necessary changes or copy and paste this into the file replacing everything. Can use CTRL + K to cut entire lines until the file is empty.
[sssd]
domains = m21.gov.local
config_file_version = 2
services = nss, pam
[nss]
homedir_substring = /home
[domain/m21.gov.local]
default_shell = /bin/bash
krb5_store_password_if_offline = True
cache_credentials = True
krb5_realm = M21.GOV.LOCAL
realmd_tags = manages-system joined-with-adcli
id_provider = ad
fallback_homedir = /home/%u
ad_domain = m21.gov.local
use_fully_qualified_names = False
ldap_id_mapping = True
access_provider = ad
ad_gpo_access_control = permissive
1 | To exit: CTRL + 'X' |
2 | Select 'Y' for yes |
3 | To save: 'enter' key |
On Fedora
sudo authselect select sssd with-mkhomedir
sudo systemctl restart sssd
On Ubuntu
sudo pam-auth-update --enable mkhomedir
sudo systemctl restart sssd
******************************COMPLETED*******************************
TO MAKE AD ACCOUNT A SUDOER
Open Terminal
sudo nano /etc/sudoers.d/domain_admins
1 |
Input line : firstname.lastname ALL=(ALL) ALL |
2 |
To allow all ICT Staff: %MYDNS\ ICT\ Staff\ SG ALL=(ALL:ALL) ALL |
3 | To exit: CTRL + 'X' |
4 | Select 'Y' for yes |
5 | To save: 'enter' key |
******************************COMPLETED*******************************
1 | Launch the Files app -> OTHER LOCATIONS -> Bottom of window to enter address |
2 | Input: smb://172.16.21.16/ |
3 | Toggle on REGISTERED USER |
4 | Input: YOUR DOMAIN ACCOUNT USERNAME and PASSWORD |
5 | Domain: M21.GOV.LOCAL or 172.16.21.161 |
******************************COMPLETED*******************************
TO ADD PRINTER
Open Terminal
HP Printers
dnf search hplip
sudo dnf install hplip hplip-gui -y
hp-setup
hp-setup ‘printer IP Address’
1 | Select detected printer |
2 | Follow next prompt until the end |
XEROX Printers
Open Terminal
wget http://download.support.xerox.com/pub/drivers/CQ8580/drivers/linux/pt_BR/XeroxOfficev5Pkg-Linuxx86_64-5.20.661.4684.rpm
sudo dnf -y localinstall XeroxOfficev5Pkg-Linuxx86_64-5.20.661.4684.rpm
NOTE: DO NOT PRINT A TEST PAGE!! Print a regular text document to test
******************************COMPLETED*******************************
TO REPLACE FEDORA LOGO
Download Image and rename as: MYDNS-Logo
1 | Go to EXTENSION MANAGER -> SYSTEM EXTENSIONS -> BACKGROUND LOGO |
2 | Click on the gear icon to get the background settings |
3 |
Go to LOGO -> Filename to attach the MYDNS-Logo.png file -> Filename (dark) to attach the MYDNS-Logo.png file |
4 | Scroll down to OPTIONS -> Toggle on Show for all backgrounds |
******************************COMPLETED*******************************
Browse to 172.16.21.16>fileserver2>General>IT FILES>prx and copy the GORTT.pem file to a folder on the local machine.
HELPFUL APPS
1 | Extension Manager |
2 | GNOME Tweaks |
3 |
OnlyOffice https://download.onlyoffice.com/install/desktop/editors/linux/onlyoffice-desktopeditors.x86_64.rpm sudo dnf -y localinstall onlyoffice-desktopeditors.x86_64.rpm |
4 | Element |
5 |
Google Chome https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm sudo dnf -y localinstall google-chrome-stable_current_x86_64.rpm |
HELPFUL EXTENSIONS
1 | Dash to Dock - Displays a dynamic centered Taskbar |
2 | Dash to Panel - Displays screen width static Taskbar |
3 | Vitals - displays the PC health at the top right |
4 | Desktop icons NG (Ding) - display anything saved to desktop |
5 | Clipboard History - enables clipboard history tool |
******************************COMPLETED*******************************