Skip to content

Instantly share code, notes, and snippets.

@nhthai2005
Last active May 7, 2022 03:05
Show Gist options
  • Save nhthai2005/0512351de0d709719c5c35d22614332b to your computer and use it in GitHub Desktop.
Save nhthai2005/0512351de0d709719c5c35d22614332b to your computer and use it in GitHub Desktop.
Howto fix bugs on Ubuntu 22.04 LTS

Howto fix bugs on Ubuntu 22.04 LTS

Face up the black screen when recording screen with Kazam and OBS Studio

Fix it by disabling Wayland

  • Comment out WaylandEnable=false in /etc/gdm3/custom.conf
  • Logout and login again

Cannot ssh on Ubuntu 22.04 LTS

After connected OpenVPN Server, then can ping, but cannot ssh ssh-bug Add MACs hmac-sha2-256 into /etc/ssh/ssh_config or ~/.ssh/config as a workaround

Can connect L2TP VPN on Ubuntu 21.10 or before but cannot on Ubuntu 22.04

sudo apt remove xl2tpd
curl -LO http://archive.ubuntu.com/ubuntu/pool/universe/x/xl2tpd/xl2tpd_1.3.12-1.1_amd64.deb
sudo apt install ./xl2tpd_1.3.12-1.1_amd64.deb
sudo apt-mark hold xl2tpd

Error when running AppImage on Ubuntu 22.04 LTS

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

Install libfuse2 as a workaround: sudo apt install libfuse2

Screen is flickering in Ubuntu 22.04

In file /etc/default/grub, I added to parameter GRUB_CMDLINE_LINUX_DEFAULT:

i915.enable_dc=0
intel_idle.max_cstate=2

Then, let do update-grub

The last kernel without the flickering for me was the kernel that shipped with 21.10.
Reference: https://bugs.launchpad.net/ubuntu/ source/linux/ bug/1970426/comments/24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment