Apparently the seed.yml file specifies apps to install on a fresh OS install.
If we remove the ones that are getting stuck and then manually install them, this works.
Steps:
Change your /var/lib/snapd/seed/seed.yaml
file to look like this:
snaps:
-
name: core
channel: stable
file: core_6673.snap
-
name: gtk-common-themes
channel: stable/ubuntu-18.04
file: gtk-common-themes_1198.snap
-
name: gnome-3-26-1604
channel: stable/ubuntu-18.04
file: gnome-3-26-1604_82.snap
Basically I'm removing all the entries that caused the snap tasks to get stuck.
Abort the currently running snap tasks and restart the service:
snap abort --last=seed
sudo systemctl restart snapd
- Keep running
snap tasks --last=seed
to see the progress of the snap tasks and wait for all the tasks to be "Done"
Manually install any apps that you removed from /var/lib/snapd/seed/seed.yaml
, they might include:
gnome-calculator
gnome-characters
gnome-logs
gnome-system-monitor
The command to reinstall these is:
snap install gnome-calculator gnome-characters gnome-logs gnome-system-monitor`
Credit
Thanks to Stefan Jarina for help resolving this issue!
Just a guess
If you are running Xubuntu 18.04.2 or 18.04.3, you might be affected by a know issue with xRDP...
If you have installed xrdp package manually on your system from xubuntu repository, xorgxrdp package is not installed because package dependencies issues...
Try to install the new xorgxrdp-hwe-18.04 package and try again
to install the package, execute the following command
sudo apt-get install xorgxrdp-hwe-18.04
We assume that you have already installed xrdp package on your system...
Hope this help
till next time
See ya
Best Answer
Apparently Microsoft haven't added support for 20.04 yet. There is a pull request on GitHub but it is yet to be merged. However, you can use it.
To set up xRDP for Ubuntu 20.04 LTS,
Disable "Auto Login" if you enabled it.
Open a terminal and issue the following commands.
After you’ve run your scripts, shut down your VM. On your host machine in an Administrator PowerShell prompt, execute this command:
Start your virtual machine and connect. You will be greeted with a connection prompt windows that asks for a screen resolution--this will indicate that everything is installed correctly.
This will take you to a Xorg login. This indicates that you've successfully brokered a connection and that the xrdp service is running. Login to begin your session.