SCSIraidGURU’s World

Netplan is not installed with Ubuntu desktop.  Don’t install it.  If you want to upgrade python, you can break Netplan.  I need to work on getting it to work with DCHP and DCHPv6, so I just hardset the addresses in the GUI.   By time you get to the bottom of this page RDP will work.   I will have to see what client-id shows up on the DCHP server. 

I am setting up a server for programming Python and other languages on.

Installed Ubuntu 18.04 Desktop complete
Installed openssh-server :
sudo apt-get openssh-server
You want openssh in case the GUI breaks. 


Installed LTS Enablement:

sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
This will put you on kernel 5.x and keep you on the LTS kernel that follows the 18.04 LTS path. 

Setting up RDP on Ubuntu 18.04:

sudo apt-get install xserver-xorg-core
sudo apt-get install xrdp
sudo apt-get -y install xserver-xorg-input-all

 sudo apt-get install xorgxrdp

Manage color error on login. So far, if you google or search on internet, the standard way to get rid of the popup in the remote session is to create a file (called 02-allow-colord.conf) in /etc/polkit-1/localauthority.conf.d/ and populated with the following content

 
polkit.addRule(function(action, subject) {
 if ((action.id == "org.freedesktop.color-manager.create-device" ||
 action.id == "org.freedesktop.color-manager.create-profile" ||
 action.id == "org.freedesktop.color-manager.delete-device" ||
 action.id == "org.freedesktop.color-manager.delete-profile" ||
 action.id == "org.freedesktop.color-manager.modify-device" ||
 action.id == "org.freedesktop.color-manager.modify-profile") &&
 subject.isInGroup("{users}")) {
 return polkit.Result.YES;
 }
 });

SSH and RDP work!

Python 3 tools

sudo apt-get install python3-distutils

Install pycharm for Ubuntu 18.04

sudo snap install pycharm-community --classic

Your updates and dist-upgrade green screens RDP?

sudo apt-get remove xserver-xorg-core
sudo apt-get remove xrdp
sudo apt-get -y remove xserver-xorg-input-all
sudo apt-get install xserver-xorg-core
sudo apt-get install xrdp
sudo apt-get -y install xserver-xorg-input-all

sudo reboot

python3 –version
Python 3.6.8

I tried to ugprade 18.04 to python 3.7.5.  It broke the server.   It will leave it for now.   Another 18.04 bug from what I understand.  No problem.  Python should work fine. 

 

Close Menu