Remote Desktop Ubuntu RDP

In order to allow remote desktop after screen locks, you need to install an gnome extension:
Refer: https://blog.mruckman.com/2024/01/rdp-stops-working-when-screen-locks-turns-off-ubuntu-22-04/

Works as of 2019-09-21
Refer: https://askubuntu.com/questions/1133134/remote-desktop-hang-os-or-block-all-the-connections

Did not try this one yet, keeping for reference
Refer: https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-20-04/

No need to install repository for Ubuntu 21.10. Also, when connecting, you need to be logged off of the target system.

sudo add-apt-repository ppa:martinx/xrdp-hwe-18.04 -y
sudo apt-get update
sudo apt-get install xrdp
sudo systemctl enable xrdp

I then rebooted my computer, and then look at the following place in settings for Ubuntu 24.04, and you need to change the password, or at least learn it. It's auto generated. You also need to enable remote logon, and not just desktop sharing.

System, Remote Desktop

If you need to uninstall:

sudo apt-get purge --autoremove xrdp

xRDP – The Infamous “Authentication Required to Create Managed Color Device” Explained - Current Bug

Refer: http://c-nergy.be/blog/?p=12073

Older Notes, No Longer Works

Refer: https://www.makeuseof.com/tag/how-to-establish-simple-remote-desktop-access-between-ubuntu-and-windows/

Real Remote Desktop client from windows works better, reboot the laptop and also you will get some error prompt, hit enter to get past the blank page.

For Remmina, you need to connect with Xorg, and at least 24-bit color

Get your IP address
$ ifconfig

Install xrdp
$ sudo apt-get install xrdp

Start xrdp
$ sudo systemctl enable xrdp

POPOS with Nvida Drivers

The screen was a bit wierd, it detected two monitor, and changed the setting to a single image.

The audio was quite low, how to turn it up.

Ubuntu 22.04 CPU Performance

Always would see the following error mesage on the Power Settings

Performance mode temporarily disabled due to high operating temperature.

Refer: https://askubuntu.com/questions/1419396/how-to-force-enable-performance-mode-in-ubuntu-22-04

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Enable with this program instead.

sudo apt update
sudo apt install cpupower-gui
cpupower-gui

Check to see what's the setting

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Rename Files

Using Regular Expressions and rename utility

sudo apt-get install rename
rename 's/\.jpeg$/\.jpg/' *.jpeg
rename "s/ - Unknown/-Track/g" *

Change File Extensions

$ rename 's/.m4v$/.mp4/' *.m4v

Pika Backup

Refer: https://flathub.org/apps/org.gnome.World.PikaBackup
Video: https://www.youtube.com/watch?v=W30wzKVwCHo

Important! If you plan on using Pika Backup across devices, such as a Desktop and you also want to see those backup files on a laptop.

In PikaBackup, the archive prefix is a part of the naming convention used to identify backup archives. When you try to open or continue a backup on a different device, PikaBackup detects that the prefix is already in use by the backups from the original device. This is a safeguard to prevent conflicts and potential data corruption.

Here's what you should do:

  1. Understand the Archive Prefix: The archive prefix is a unique identifier for the backup series. It helps distinguish backups from different devices or different backup sets.

  2. Use a New Archive Prefix: When PikaBackup asks you to use a new archive prefix, it means you need to provide a new, unique identifier for the backup series on your laptop. This will ensure that the new backup set doesn't interfere with the existing backups from your desktop.

  3. Create a New Backup Set:

  • Open PikaBackup on your laptop.
  • Choose to create a new backup.
  • When prompted, enter a new archive prefix. This can be any string that you choose, such as "LaptopBackup_YYYYMMDD".
  • Proceed with the backup process.
  1. Avoid Overwriting Existing Backups: By using a new archive prefix, you ensure that the new backups created on your laptop won't overwrite or conflict with the backups from your desktop.

  2. Consistency Across Devices: If you need to access or restore data from the original backup on your laptop, ensure you are using the correct prefix and paths as used on the desktop.

By following these steps, you can safely manage your backups on multiple devices without risking data loss or corruption.

Installation

flatpak install flathub org.gnome.World.PikaBackup

Remove

flatpak remove flathub org.gnome.World.PikaBackup

Cleanup Old Data

Refer: https://www.reddit.com/r/pop_os/comments/xa88sq/removing_flatpaks/

flatpak uninstall --all --delete-data

This will prompt you for each application to remove.

Ubuntu 22.04 System errors with Tracker, we might need to disable it

System errors with Tracker, we might need to disable it

Refer (Thread): https://ubuntuforums.org/showthread.php?t=2488303
Refer (Possible Fix by disable): https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html

Status and Determine Which Tracker Being Used

tracker3 status

From Fix Article for Tracker 3

systemctl --user mask tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-rss-3.service tracker-writeback-3.service tracker-xdg-portal-3.service tracker-miner-fs-control-3.service

sudo tracker3 reset -s -r

sudo reboot

Undo the Changes

sudo systemctl --user unmask tracker-extract-3.service tracker-miner-fs-3.service tracker-miner-rss-3.service tracker-writeback-3.service tracker-xdg-portal-3.service tracker-miner-fs-control-3.service

sudo reboot

Beef Stew

2 pounds beef stew meat, cut into 1-inch pieces
½ teaspoon salt
½ teaspoon ground black pepper
1 ½ cups beef broth
4 medium carrots, sliced
3 medium potatoes, diced
1 medium onion, chopped
1 stalk celery, chopped
1 teaspoon Worcestershire sauce
1 teaspoon ground paprika
1 clove garlic, minced
1 large bay leaf