"Failure to make thread 'KMS thread' realtime scheduled" https://askubuntu.com/questions/1563507/failure-to-make-thread-kms-thread-realtime-scheduled

Running Ubuntu 24.04 on a Bosgame Ecolite mini-PC, all updates applied.

When Firefox starts up, numerous messages of this form begin appearing in syslog:

gnome-shell [93321] Failed to make thread 'KMS thread' realtime scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist

Web searches turn up only a handful of references to this error, all of which involved bug fixes that have since been incorporated.

Here's a full series where it first turns up in syslog:

2026-02-01T09:29:49.499526-06:00 MiniPC gnome-shell[93321]: Failed to make thread 'KMS thread' realtime scheduled: Message recipient disconnected from message bus without replying
2026-02-01T09:29:57.870019-06:00 MiniPC kernel: audit: type=1107 audit(1769959797.868:183): pid=924 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/RealtimeKit1" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.RealtimeKit1" pid=134810 label="snap.firefox.firefox"
2026-02-01T09:29:57.870034-06:00 MiniPC kernel:  exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
2026-02-01T09:29:59.561466-06:00 MiniPC gnome-shell[93321]: Failed to make thread 'KMS thread' realtime scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist
2026-02-01T09:30:00.512017-06:00 MiniPC gnome-shell[93321]: Failed to make thread 'KMS thread' realtime scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist
2026-02-01T09:30:01.225646-06:00 MiniPC CRON[134866]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
2026-02-01T09:30:10.594545-06:00 MiniPC gnome-shell[93321]: Failed to make thread 'KMS thread' realtime scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist
2026-02-01T09:30:33.611440-06:00 MiniPC gnome-shell[93321]: message repeated 5 times: [ Failed to make thread 'KMS thread' realtime scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist]

I dunno, maybe something to do with that apparmor DENIED message?

Maybe it's of no real effect, but I'm also dealing with some memory leak issues, and cleaning up the log and unnecessary errors can't hurt.

Ubuntu 25.10: three screens, two views https://askubuntu.com/questions/1563503/ubuntu-25-10-three-screens-two-views

I have a laptop running Ubuntu 25.10. I'd like to make the following setup with three screens: The build-in laptop screen, a projector, connected via HDMI, and a portable USB-C monitor. I want to mirror the view on the laptop screen to the projector, and have an independent view on the USB-C monitor. The system settings as such don't allow me to do this. It's either three entirely separate views or the same view across all three screens. I have looked at this question, which is exactly what I want, but the solution there doesn't work for me.

I have tried the following gdctl command, without success:

$ gdctl set --logical-monitor --primary --monitor DP-3 --logical-monitor --monitor eDP-1 --monitor HDMI-1 --right-of DP-3
Failed to create configuration: Different monitor resolutions within the same logical monitor

Both eDP-1 (built-in laptop screen) and HDMI-1 (projector) are set to 1920x1080 at 60 Hz, so the error message doesn't make sense to me. Here's the output from gdctl show which hopefully helps to shed some light on this issue:

$ gdctl show
Monitors:
├──Monitor DP-3 (RTK 16")
│  ├──Vendor: RTK
│  ├──Product: SF16
│  ├──Serial: demoset-1
│  ├──Current mode
│  │   └──1920x1200@60.000
│  └──Preferences
│      └──Backlight: None
├──Monitor HDMI-1 (Acer Technologies)
│  ├──Vendor: ACR
│  ├──Product: Acer 4K PJ
│  ├──Serial: JTA110018400
│  ├──Current mode
│  │   └──1920x1080@60.000
│  └──Preferences
│      └──Backlight: None
└──Monitor eDP-1 (Built-in display)
   ├──Vendor: BOE
   ├──Product: 0x09dc
   ├──Serial: 0x00000000
   ├──Current mode
   │   └──1920x1080@60.001
   └──Preferences
       └──Backlight:
           ├──active ⇒  True
           ├──min ⇒  193
           ├──max ⇒  19393
           └──value ⇒  9792

Logical monitors:
├──Logical monitor #1
│  ├──Position: (1920, 0)
│  ├──Scale: 1.0
│  ├──Transform: normal
│  ├──Primary: yes
│  └──Monitors: (1)
│      └──eDP-1 (Built-in display)
├──Logical monitor #2
│  ├──Position: (0, 0)
│  ├──Scale: 1.0
│  ├──Transform: normal
│  ├──Primary: no
│  └──Monitors: (1)
│      └──DP-3 (RTK 16")
└──Logical monitor #3
   ├──Position: (3840, 0)
   ├──Scale: 1.0
   ├──Transform: normal
   ├──Primary: no
   └──Monitors: (1)
       └──HDMI-1 (Acer Technologies)

Can anyone suggest why gdctl set doesn't work?

Ubuntu VM does not start completely - dracut-initqueue: starting timeout scripts https://askubuntu.com/questions/1563501/ubuntu-vm-does-not-start-completely-dracut-initqueue-starting-timeout-scripts

I recently updated VirtualBox from version 7.2.4 to 7.2.6. I have several VMs, including an Ubuntu VM for which I decided to update the corresponding Virtual Guest Additions (VGA). Once I logged in I ran the executable to install the VGA, but I noticed something different during the process compared to previous VGA updates: it started downloading dependencies to install some modules (Unfortunately I don't have any further information about this.). After restarting the system, it didn't display the login screen. Instead it showed a Bash shell.

If I restart the virtual machine again, the GRUB menu appears. I select the first entry, and to see the system boot process I press the Esc key. I see that the boot process starts to take quite a while, and shortly after, several repetitive messages appear, like this one (finally, the Bash shell prompt appears again):

Feb 01 16:48:25 nokia-cts kernel: ata3.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
Feb 01 16:48:25 nokia-cts kernel: ata3.00: 209715200 sectors, multi 128: LBA48 MCQ (depth 32)
Feb 01 16:48:25 nokia-cts kernel: ata3.00: configured for UDMA/133
Feb 01 16:48:25 nokia-cts kernel: scsi 2:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: [sda] 209715200 512-byte logical blocks: (107 GB/100 GiB)
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: [sda] Write Protect is off
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: [sda] Preferred minimum I/O size 512 bytes
Feb 01 16:48:25 nokia-cts kernel:  sda: sda1 sda2 sda3
Feb 01 16:48:25 nokia-cts kernel: sd 2:0:0:0: [sda] Attached SCSI disk
Feb 01 16:48:26 nokia-cts systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
Feb 01 16:48:26 nokia-cts systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
Feb 01 16:48:26 nokia-cts systemd[1]: Reached target sysinit.target - System Initialization.
Feb 01 16:48:26 nokia-cts systemd[1]: Reached target basic.target - Basic System.
Feb 01 16:48:26 nokia-cts systemd[1]: System is tainted: unmerged-bin
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]:          [ -e "/dev/mapper/vgubuntu-root" ]
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: fi"
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: starting timeout scripts
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]:          [ -e "/dev/mapper/vgubuntu-root" ]
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: fi"
Feb 01 16:50:37 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: starting timeout scripts
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]:          [ -e "/dev/mapper/vgubuntu-root" ]
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: fi"
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: starting timeout scripts
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]:          [ -e "/dev/mapper/vgubuntu-root" ]
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: fi"
Feb 01 16:50:38 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: starting timeout scripts
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]:          [ -e "/dev/mapper/vgubuntu-root" ]
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: fi"
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: starting timeout scripts
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]:          [ -e "/dev/mapper/vgubuntu-root" ]
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: fi"
Feb 01 16:50:39 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: starting timeout scripts
Feb 01 16:50:40 nokia-cts dracut-initqueue[309]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
Feb 01 16:50:40 nokia-cts dracut-initqueue[309]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fmapper\x2fvgubuntu-root.sh: "if ! grep -q A>

Given that my VM is in this state, is there any procedure for the system to recover?

Upgrade 22.04 to 24.04 mess - help https://askubuntu.com/questions/1563500/upgrade-22-04-to-24-04-mess-help

Feeling pretty stupid right now.

I went through the upgrade procedure to go from 22.04 to 24.04. I haven't lost any data and my machine is functional (thank goodness, since it's what I use for the day job).

But while enabling and upgrading third-party software I noted that sources.list was still using "jammy" instead of "noble".

Long story short, I got into the situation where I cannot upgrade anything because this happens.

1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-6.8.0-94-generic (6.8.0-94.96) ...
Processing triggers for linux-image-6.8.0-94-generic (6.8.0-94.96) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.8.0-94-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.8.0-94-generic -C /lib/modules/6.8.0-94-generic/build M
=/var/lib/dkms/virtualbox-guest/6.1.50/build.....(bad exit status: 2)
ERROR (dkms apport): binary package for virtualbox-guest: 6.1.50 not found
Error! Bad return status for module build on kernel: 6.8.0-94-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.1.50/build/make.log for more informatio
n.
dkms autoinstall on 6.8.0-94-generic/x86_64 succeeded for clevo-keyboard
dkms autoinstall on 6.8.0-94-generic/x86_64 failed for virtualbox-guest(10)
Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.8.0-94-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.0-94-generic (--configure):
 installed linux-image-6.8.0-94-generic package post-installation script subproc
ess returned error exit status 11
Errors were encountered while processing:
 linux-image-6.8.0-94-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

I was trying to follow various "fixes" from various articles but it's just got worse.

Any help in digging myself out of this mess would be appreciated.

Ubuntu 24.04.3 : WiFi : Activation of network connection failed https://askubuntu.com/questions/1563498/ubuntu-24-04-3-wifi-activation-of-network-connection-failed

I have updated my Lenovo Ideapad S340-14IWL laptop from Windows 11 Home to Ubuntu 24.04.3. When I was using Windows I didn't face any WiFi connection issue, but on Ubuntu I can't use WiFi. After restarting the laptop, WiFi connects, but a few moments later WiFi disconnects automatically, and shows a 'Connection failed, Activation of network connection failed' message on the screen.

I can use the internet through USB tethering and Bluetooth tethering. My laptop has a Realtek RTL8822BE wireless network adapter.

I have attached the image of the message with my post.

Image

Ubuntu server SSH not responding to port forwarded SSH connection, though local SSH is working [closed] https://askubuntu.com/questions/1563497/ubuntu-server-ssh-not-responding-to-port-forwarded-ssh-connection-though-local

I am trying to get my ssh server reachable from the internet. I can connect to it fine from my laptop in the same network (this is what I am using to configure it)

I have configured port forwarding on my router. This seems to work because I see tcpdump messages coming in:

Philbert@pppserver:~$ sudo tcpdump  -f 'tcp and port 22 and not host [laptop IP]'
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlo1, link-type EN10MB (Ethernet), snapshot length 262144 bytes
14:45:04.345405 IP [public IP address] > pppserver.fritz.box.ssh: Flags [S], seq 3201356021, win 64240, 
options [mss 1460,sackOK,TS val 53085087 ecr 0,nop,wscale 7], length 0

But for some reason, the SSH server is not answering.

On the other side I see:

philbert@Laptop:~$ ssh -vv Philbert@[public IP]
OpenSSH_9.6p1 Ubuntu-3ubuntu13.14, OpenSSL 3.0.13 30 Jan 2024
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname [public IP] is address
debug1: Connecting to 188.212.115.138 [[public IP]] port 22.
debug1: connect to address [public IP] port 22: Connection timed out
ssh: connect to host [public IP] port 22: Connection timed out

ufw status:

Philbert@pppserver:~$ sudo ufw status
[sudo] password for Philbert: 
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere                  
22                         ALLOW       Anywhere                  
22/tcp (v6)                ALLOW       Anywhere (v6)             
22 (v6)                    ALLOW       Anywhere (v6)  

I'm not sure what else to check.

Clone nvme disk https://askubuntu.com/questions/1563496/clone-nvme-disk

I have a 1TB nvme disk inserted into my computer. But now I want to upgrade to a 4TB disk so I put my 4TB disk in an nvme sled(sabrent one) which has USB-cable. I plan to do this:

Create a bootable USB stick with Ubuntu

Power off computer

Put the new disk in the PC and the old one in the sled

Boot computer and choose boot from USB to boot from the stick, and go into root shell

Run fdisk -l to check the path names of the disks, and then probably do something like this:

dd if=/dev/nvme0n1p1 of=/dev/nvme1n0p1 bs=1M status=progress conv=fdatasync
dd if=/dev/nvme0n1p2 of=/dev/nvme1n0p2 bs=1M status=progress conv=fdatasync
dd if=/dev/nvme0n1p3 of=/dev/nvme1n0p3 bs=1M status=progress conv=fdatasync

sudo vgs
sudo cryptsetup resize nvme0n1p3_crypt
sudo pvresize /dev/mapper/nvme0n1p3_crypt
sudo vgs

sudo lvextend -r -l +100%FREE /dev/vgubuntu/root

Verify with:
lsblk

Does this look good or am I missing something in my plan?

Select specific display for Steam games (Proton) https://askubuntu.com/questions/1563495/select-specific-display-for-steam-games-proton

Ubuntu 25.10. Steam installed from Snap Store. Every game starts on my main display (laptop's built-in) but I'd like to force all Steam-run games to run on my second external display without changing the main screen system-wide. How can I achieve it?

Can Ubuntu 24.04 be installed alongside Bitlocked Windows 11 by just suspending Bitlocker? https://askubuntu.com/questions/1563490/can-ubuntu-24-04-be-installed-alongside-bitlocked-windows-11-by-just-suspending

Although Ubuntu 25.10 has feature to recognise a Bitlocked Windows and install itself alongside it, but this is not the case with 24.04. The LTS version needs unencrypted Windows partition.

Can I just Suspend Bitlocker (not fully decrypt the partition) of my Windows 11 parition and install Ubuntu 24.04 alongside it?

Automatically install security updates only from PPA's https://askubuntu.com/questions/1563488/automatically-install-security-updates-only-from-ppas

The unattended-upgrades package automatically installs security updates on an Ubuntu Server system. By default, it's configured to not install normal feature/bugfix updates automatically. I have noticed that these normal updates can render WordPress websites unusable when installed automatically. They even introduce bugs sometimes. The normal updates should first be tested on a testing server, it's recommended. That is why they are disabled/ignored by default by unattended-upgrades, I suppose.

My question is: will Ubuntu automatically install security updates only from the PPA's I've added and leave the feature/bugfix updates from the PPA's aside for a moment where the system administrator manually runs apt upgrade (after testing)? How can I configure PPA's to behave this way? If the main system behaves this way, I think PPA's should behave the same. They should for sure install security updates automatically, but I think these are not installed automatically by default because the PPA is not added as a source to the 50unattended-upgrades config file. I think they should be added automatically to this file to have automatic security updates from the PPA's.

When adding a PPA to the 50unattended-upgrades sources manually to recieve security updates automatically, I will also recieve the normal feature/bugfix updates automatically I suppose. This means the packages from the PPA are always the bleeding edge, but the system packages are not the bleeding edge and fall behind. This could even introduce new bugs I suppose, because the PPA package would expect the system to be the bleeding edge as well, when it's not...

Booting into Enlightenment results in something like confetti after a while of waiting on frozen boot logo with cursor https://askubuntu.com/questions/1563481/booting-into-enlightenment-results-in-something-like-confetti-after-a-while-of-w

Replaced Gnome with Enlightenment on 24.04, and got past the boot logo, even though it took a while where the throbber stopped spinning but my cursor was on screen, but this doesn't look anything like a desktop at all, so I shut it down.

Took a video and turned it into a gif with ffmpeg:

Video of Screen

journalctl is reporting some red logs, when looking things up, feels like a similar report to this Bug 206225 - nouveau: Screen distortion and lockup on resume, given that I'm seeing well, distortion and the logs are mentioning nouveau, TRAP_MP_EXEC, and INVALID_OPCODE.

Maybe I also deleted the drivers for my NVIDIA GT 220 via apt autoremove?? Because I can't find any nvidia-driver entries in my installed packages. But neither can I install them via apt?

fsck is unable to fix root partition after power failure: "fsck.ext4 unable to set Superblock flags on /dev/mapper/vgubuntu--budgie-root" https://askubuntu.com/questions/1563437/fsck-is-unable-to-fix-root-partition-after-power-failure-fsck-ext4-unable-to-s

My laptop isn't booting. After what was probably a power failure directly after booting into my Ubuntu (Budgie) desktop, now BusyBox shell and (initramfs) are showing up right after decrypting drive (it's an encrypted system). I tried some recommendations I found online to fix this (typing exit, then run fsck on the mentioned filesys), but it's not working.

After typing "exit" I get the message that my root partition needs a manual fsck.

...
(Initramfs) Exit
/dev/mapper/vgubuntu--budgie-root: recovering journal
/dev/mapper/vgubuntu--budgie-root: Superblock needs_recovery flag is clear, but journal has data.
/dev/mapper/vgubuntu--budgie-root:Run journal anyway
/dev/mapper/vgubuntu--budgie-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.       (i.e., without -a or -p options)
fsck exited with status code 4
The root file system /dev/mapper/vgubuntu--budgie-root requires a manual fsck

When I try, it doesn't work (as in: not trying to fix-run) but gives error after zero time.

...
(Initramfs) fsck /dev/mapper/vgubuntu--budgie-root
dev/mapper/vgubuntu--budgie-root: recovering journal
Superblock needs_recovery flag is clear, but journal has data.
Run journal anyway<y>? Yes
fsck.ext4 unable to set Superblock flags on /dev/mapper/vgubuntu--budgie-root

dev/mapper/vgubuntu--budgie-root: **** warning: filesystem still has errors ****

Anyone has a solid idea what's the problem here and how to fix it?

Edit 1&2: added the complete code lines & description for clarity.

Edit 3: When

sudo fsck -b 32768 -y /dev/mapper/vgubuntu--budgie-root

(or any other superblock previously identified with mke2fs -n) it gives back

Superblock needs_recovery flag is clear, but journal has data
Recovery flag not set in backup superblock, so running journal anyway
...
fsck.ext4: unable to set superblock flags on /dev/mapper/vgubuntu--budgie-root
/dev/mapper/vgubuntu--budgie-root: **** FILE SYSTEM WAS MODIFIED****
/dev/mapper/vgubuntu--budgie-root: **** WARNING: Filesystem still has errors ****

For clarity: I'm meanwhile using a Live-USB Stick to boot into "try/install Ubuntu Budgie", from there decrypt the main partition (sda3) with cryptsetup, before performing further steps such as fsck. To see if anything "worked", I shut down, remove USB stick and try normal boot up.

Can only boot Ubuntu if gnome-shell doesn't change my boot GPU to the VGA I'm not using https://askubuntu.com/questions/1562613/can-only-boot-ubuntu-if-gnome-shell-doesnt-change-my-boot-gpu-to-the-vga-im-no

I have Ubuntu 24.04.3 running on a HDD with the CPU being an AMD Ryzen 5 7600X.

Going into GRUB and then into Recovery Mode, seems to be the only way to boot all the way to desktop consistently.

A mention of VGA GPU in the boot logs of all "failed" boots seems to indicate that it's because:

gnome-shell: Boot VGA GPU /dev/dri/card1 selected as primary

But my monitor doesn't act like there's "no HDMI video signal", emphasis mine, it just gives a black screen.

Seems to be some sorta race condition, since even hard resetting on a failed boot, and doing nothing differently, works every once in a while.

It might also be something about clocks and how my working boot was done quickly after the failure, since this doesn't appear in the working boot, but does in the failure:

systemd-resolve: Clock change detected. Flushing caches.

Or might it even be that failure has:

systemd: Starting alsa-restore.service - Save/Restore Sound Card State...

My internal microphone stopped working after an update https://askubuntu.com/questions/1562234/my-internal-microphone-stopped-working-after-an-update

I use Ubuntu Jammy Jellyfish 22.04.5 LTS with Gnome 42.9 on an ASUS E510 laptop. My internal microphone worked very well until I did an update several months ago. Now, it is dead even when set to 100%. In this condition, the record level in the settings panel shows a single bar which flashes on and off and appears to be picking up super quiet electronic interference noise but zero sound. At the time, if I rolled back my kernel the mike came to life again, so I know there is nothing physically wrong with the mike. I can now no longer use my mike AT ALL as that kernel is now no longer on my system to roll back to. Please help.

As requested here is the output from sudo lspci -vnn | awk -vRS= '/\[0403\]/':

00:1f.3 Audio device [0403]: Intel Corporation Device [8086:4dc8] (rev 01) (prog-if 80)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1932]
    Flags: bus master, fast devsel, latency 32, IRQ 129, IOMMU group 10
    Memory at 6001120000 (64-bit, non-prefetchable) [size=16K]
    Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [50] Power Management version 3
    Capabilities: [80] Vendor Specific Information: Len=14 <?>
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_icl
Ubuntu 22.04 XRDP Allow multiple sessions and restrict some users https://askubuntu.com/questions/1433247/ubuntu-22-04-xrdp-allow-multiple-sessions-and-restrict-some-users

I have installed xrdp on Ubuntu 22.04 Server where I also installed ubuntu-desktop for development and testing. When one user is logged in through remote desktop, others cannot login. How to allow multiple logins (different users)?

Also, how to allow some users to login using xrdp and disable xrdp login for other users? I have four users. I want to allow accesses for two and disable access for the other two.

For ssh, it can be done using DenyUsers as answered here. Does something similar exists for xrdp?

There is one accepted answer here but I couldn't make it work.

How do I fix black screens with BIOS errors and kernel panics when booting up? https://askubuntu.com/questions/1426856/how-do-i-fix-black-screens-with-bios-errors-and-kernel-panics-when-booting-up

I have an Ubuntu dual boot on a partitioned Samsung SSD on a Windows 11 Lenovo Thinkbook 15-IIL. How do I fix BIOS errors and Kernel panics when booting up? The laptop boots up successfully, but it takes a little longer than it might with all of the errors.

How do I fix BIOS errors and kernel panics when booting up? Here is a sample of error messages that appear on black screen when booting:

BIOS Error (bug): Failure creating named object and Error: AE_ALREADY_EXISTS, During name lookup/catalog repetitions of these two phrases six times.

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) and end Kernel panic - not...

Note: command line has not finished processing/executing visual effects/framework (conceptual-psychology like 'framework', I mean) in the boot screens there.

BIOS Error (bug): Failure creating named object:

[    0.174778] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS04._UPC], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174782] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    0.174785] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS04._PLD], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174788] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    0.174793] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS05._UPC], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174796] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    0.174800] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS05._PLD], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174803] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    0.174807] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS06._UPC], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174811] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    0.174814] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS06._PLD], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174817] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
_

Kernel panic - not syncing:

[    0.174811] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    0.174814] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCIO.X
HC.RHUB.SS06._PLD], AE_ALREADY_EXISTS (20210730/dswload2-326)
[    0.174817] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (202107
30/psobject-220)
[    7.222649] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    7.222737] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 5.15.0-43-generic #46-Ubuntu
[    7.222806] Hardware name: LENOVO 20SM/LNUNB161216, BIOS DJCN25WW 03/29/2021
[    7.222866] Call Trace:
[    7.222889]  <TASK>
[    7.222910]  show_stack+0x52/0x58
[    7.222945]  dump_stack_lvl+0x4a/0x5f
[    7.222983]  dump_stack+0x10/0x12
[    7.223014]  panic+0x149/0x321
[    7.223046]  mount_block_root+0x144/0x1d9
[    7.223087]  mount_root+0x10c/0x118
[    7.223120]  prepare_namespace+0x13f/0x18d
[    7.223158]  kernel_init_freeable+0x18c/0x1b1
[    7.223210]  ? rest_init+0x100/0x100
[    7.223253]  kernel_init+0x1b/0x150
[    7.223294]  ? rest_init+0x100/0x100
[    7.223328]  ret_from_fork+0x1f/0x30
[    7.223365]  </TASK>
[    7.223432] Kernel Offset: 0x14c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    7.223527] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
_
Ubuntu doesn't completely shut down https://askubuntu.com/questions/1275722/ubuntu-doesnt-completely-shut-down

When I power off Ubuntu 20.04 any type of way it just stays on this screen that says my computer logo and the Ubuntu logo at the bottom. I'm new to Linux. I just want to go to bed with my PC completely shut down.

Installing cuda 8.0 in ubuntu 20.04 https://askubuntu.com/questions/1253929/installing-cuda-8-0-in-ubuntu-20-04

I have been trying to install cuda 8.0 in ubuntu 20.04. I used the documentation provided in: https://developer.nvidia.com/cuda-80-ga2-download-archive I tried with both the deb(local) and deb(network). However, using sudo apt-get cuda, I get the following error:

The following packages have unmet dependencies:
cuda : Depends: cuda-11-0 (>= 11.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

From a few other questions I got to know, I could use sudo apt-get cuda-8-0. However that too shows following error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cuda-8-0 : Depends: cuda-runtime-8-0 (>= 8.0.61) but it is not going to be installed
            Depends: cuda-demo-suite-8-0 (>= 8.0.61) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Can anyone help what I am doing wrong and how I can install Cuda-8-0 in ubuntu 20.04?

Monitor always starts zoomed in a little https://askubuntu.com/questions/1228635/monitor-always-starts-zoomed-in-a-little

Whenever I boot up, my monitor's settings are always zoomed in about at 10, out of a scale of 0-100.

It also happens if I turn my monitor off and on again.

If I change my Display settings to rotate my screen orientation from Landscape to Portrait and back, but not Landscape to Flipped Landscape and back.

And changing the Scale in the Display Settings menu doesn't mess up the Zoom again, either.

I have a Dell SP2208WFP, and my Monitors.xml looks like:

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>0</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-A-1</connector>
          <vendor>DEL</vendor>
          <product>SP2208WFP</product>
          <serial>RR268831CT0U</serial>
        </monitorspec>
        <mode>
          <width>1680</width>
          <height>1050</height>
          <rate>59.954250335693359</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

...

And now, Scale is reset to 1... Because I exited a fullscreen app or something??

...

It even happens in Recovery Mode, when I don't have a DISPLAY variable set.

...

But, it doesn't seem to happen if I connect through the screwy connection cables instead of HDMI...

Wireless Woes: iwlwifi-8265 - Ubuntu 18.04 (and Mint Tara) https://askubuntu.com/questions/1181178/wireless-woes-iwlwifi-8265-ubuntu-18-04-and-mint-tara

I am trying to set up two machines, both have identical hardware that should be supported by the newer Linux kernels. The wireless card inside is a GIGABYTE "GC-WB867D-I" Wifi+Bluetooth. Out of the box the Bluetooth works, however the Wifi does not.


The kerenel version via: uname -r

5.0.0-31-generic

The firmware version via: modinfo iwlwifi | grep 8265

firmware: iwlwifi-8265-36.ucode

The firmware file code via: lsmod | grep iwlwifi

iwlwifi 315392 1 iwlmvm

The Network controller via: sudo lspci | grep Network

41:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)


The more verbose Network controller via ID: sudo lspci -vnd 8086:24fd

41:00.0 0280: 8086:24fd (rev 78) Subsystem: 8086:1010 Flags: bus master, fast devsel, latency 0, IRQ 139 Memory at fa400000 (64-bit, non-prefetchable) [size=8K] Capabilities: [c8] Power Management version 3 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [40] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 48-89-e7-ff-ff-4b-c6-c0 Capabilities: [14c] Latency Tolerance Reporting Capabilities: [154] L1 PM Substates Kernel driver in use: iwlwifi Kernel modules: iwlwifi, wl

And finally the most verbose via the debug script: wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info

Text file excerpt:

########## wireless info START ##########

Report from: 14 Oct 2019 20:53 PDT -0700

Booted last: 14 Oct 2019 00:00 PDT -0700

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

##### kernel ############################

Linux 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash

##### desktop ###########################

Ubuntu

##### lspci #############################

04:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
    Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection [1458:e000]
    Kernel driver in use: igb

41:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
    Subsystem: Intel Corporation Dual Band Wireless-AC 8265 [8086:1010]
    Kernel driver in use: iwlwifi

##### lsusb #############################

Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 05b8:3279 Agiler, Inc. 
Bus 005 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 2357:0108  
Bus 001 Device 003: ID 8087:0a2b Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: phy3: Wireless LAN
    Soft blocked: no
    Hard blocked: no

##### secure boot #######################

SecureBoot disabled
Platform is in Setup Mode

##### lsmod #############################

wl                   6447104  0
iwlmvm                389120  0
rtl8xxxu              126976  0
mac80211              819200  2 iwlmvm,rtl8xxxu
iwlwifi               315392  1 iwlmvm
wmi_bmof               16384  0
mxm_wmi                16384  1 nouveau
cfg80211              679936  4 wl,iwlmvm,iwlwifi,mac80211
wmi                    28672  3 wmi_bmof,mxm_wmi,nouveau

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

etc.... etc....

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########


##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager


etc.... etc....


##### module parameters #################

[iwlmvm]
init_dbg: N
power_scheme: 2
tfd_q_hang_detect: Y

grep: /sys/module/rtl8xxxu/parameters/debug: Permission denied
grep: /sys/module/rtl8xxxu/parameters/dma_agg_pages: Permission denied
grep: /sys/module/rtl8xxxu/parameters/dma_aggregation: Permission denied
grep: /sys/module/rtl8xxxu/parameters/dma_agg_timeout: Permission denied
grep: /sys/module/rtl8xxxu/parameters/ht40_2g: Permission denied
[rtl8xxxu]

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[iwlwifi]
11n_disable: 0
amsdu_size: 0
antenna_coupling: 0
bt_coex_active: Y
d0i3_disable: Y
d0i3_timeout: 1000
disable_11ac: N
disable_11ax: N
enable_ini: N
fw_monitor: N
fw_restart: Y
lar_disable: N
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
remove_when_gone: N
swcrypto: 0
uapsd_disable: 3

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

~EDIT~ The loading of the kernel module. sudo modprobe iwlwifi && dmesg | grep iwl

[    5.761509] iwlwifi 0000:41:00.0: enabling device (0000 -> 0002)
[    5.765276] iwlwifi 0000:41:00.0: loaded firmware version 36.9f0a2d68.0 op_mode iwlmvm
[    5.836664] iwlwifi 0000:41:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[    5.843363] iwlwifi 0000:41:00.0: swiotlb buffer is full (sz: 4096 bytes)
[    5.843367] iwlwifi 0000:41:00.0: overflow 0x0000001030d6f000+4096 of DMA mask fffffffff bus mask 0
[    5.843377] Modules linked in: snd_pcm ucsi_ccg(+) wl(POE) aes_x86_64 snd_seq_midi crypto_simd snd_seq_midi_event iwlmvm(+) cryptd rtl8xxxu(+) glue_helper joydev input_leds typec_ucsi fjes(-) snd_rawmidi video typec mac80211 ttm iwlwifi drm_kms_helper snd_seq btusb wmi_bmof btrtl mxm_wmi btbcm snd_seq_device drm btintel snd_timer cfg80211 bluetooth fb_sys_fops snd syscopyarea sysfillrect ecdh_generic sysimgblt k10temp ccp(+) soundcore mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid igb i2c_algo_bit nvme ahci dca i2c_piix4 nvme_core i2c_nvidia_gpu libahci gpio_amdpt wmi gpio_generic
[    5.843419]  iwl_pcie_rxq_alloc_rbs+0x164/0x1d0 [iwlwifi]
[    5.843425]  _iwl_pcie_rx_init+0x2bc/0x310 [iwlwifi]
[    5.843431]  iwl_pcie_rx_init+0x2d/0x400 [iwlwifi]
[    5.843442]  ? iwl_mvm_nic_config+0x118/0x170 [iwlmvm]
[    5.843449]  iwl_trans_pcie_start_fw+0x2a1/0x6d0 [iwlwifi]
[    5.843459]  ? iwl_init_notification_wait+0x6d/0xb0 [iwlwifi]
[    5.843467]  iwl_mvm_load_ucode_wait_alive+0x102/0x310 [iwlmvm]
[    5.843476]  iwl_run_init_mvm_ucode+0x88/0x340 [iwlmvm]
[    5.843483]  ? iwl_run_init_mvm_ucode+0x88/0x340 [iwlmvm]
[    5.843490]  ? iwl_wait_init_complete+0x30/0x30 [iwlmvm]
[    5.843497]  iwl_op_mode_mvm_start+0x72e/0xab0 [iwlmvm]
[    5.843504]  ? iwl_op_mode_mvm_start+0x72e/0xab0 [iwlmvm]
[    5.843510]  _iwl_op_mode_start.isra.10+0x4c/0xa0 [iwlwifi]
[    5.843516]  iwl_opmode_register+0x75/0xe0 [iwlwifi]
[    5.843525]  iwl_mvm_init+0x38/0x1000 [iwlmvm]
[    6.884065] iwlwifi 0000:41:00.0: SecBoot CPU1 Status: 0x3, CPU2 Status: 0x2a58
[    6.884069] iwlwifi 0000:41:00.0: Failed to start INIT ucode: -110
[    6.884071] iwlwifi 0000:41:00.0: Collecting data: trigger 15 fired.
[    7.233236] iwlwifi 0000:41:00.0: Failed to run INIT ucode: -110

What I have tried...


Replace the iwlwifi-8265-22.ucode file in /lib/firmware/ folder with the drivers from Intel. The folder contains, iwlwifi-8265 (-21), (-22), (-27), (-31), (-34), (-36) for newer kerenls I'd assume.


Changed the power settings via gedit, wifi.powersave = 3 (3) -> (2) -> (1) in file/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


Updated, upgraded, updated kernels etc... I am usually okay at troubleshooting linux issues, however this one has me stumped. I noticed the firmware version points to iwlwifi-8265-36.ucode, while the Intel driver points to iwlwifi-8265-22.ucode. Is this the issue?


I have lost a day to this problem, and normally I can solve these issues somewhat quickly. With any luck I can solve the issue within the next day, else I will buy two new PCI cards :<. Any help is greatly appreciated, thanks!

How to unblock hard blocked wifi in Ubuntu 18.04? https://askubuntu.com/questions/1090270/how-to-unblock-hard-blocked-wifi-in-ubuntu-18-04

My HP laptop using a Realtek network adapter is not able to connect to WiFi. As it shows Airplane Mode On: Use Hardware switch to turn off I tried pressing it 100 times, but it had no result.

I have a dual boot with Windows 10 and WiFi is working fine there. I also tried following many questions on forums, but all were for Lenovo or Dell and older versions of Ubuntu, and none of them worked.

My rfkill list all command shows:

0 : phy0 : Wireless LAN
    Soft blocked: no
    Hard blocked: yes

I tried:

  1. rfkill unblock all
  2. Blacklisting hp-wmi.conf
  3. Suspending laptop (some weird tutorial from YouTube)
SSH: Port 22 Connection refused https://askubuntu.com/questions/1072899/ssh-port-22-connection-refused

From Ubuntu 18 lts I'm trying to establish ssh connection with my Kali Linux VirtualBox on the same computer. I've already installed openssh-client and openssh-server on both systems and I'm connected to Internet via ethernet cable. So, I have 'enp2s0' interface (on both systems) which is found in 'ifconfig' and I changed my network ipv4 addresses to static with the same IP addresses I found in 'ifconfig':

In Ubuntu:

IP: 192.168.1.8

In Kali:

IP: 192.168.1.5

Netmask: 255.255.255.0 and Default Gateway: 192.168.1.255 are same on both systems. In VBox settings for Kali I configured network to Bridge connection. I checked ping between these systems and it is ok (64bytes..blahblah). I turned off firewall on both systems:

sudo ufw disable

so it's inactive. The problem is that, I can connect from Kali shell to Ubuntu, but not vice versa where I'm getting the following message:

ssh: connect to host 192.168.1.5 port 22: Connection refused

I also tried with: sudo ufw allow 22 on both and nothing.

sudo ufw ssh enable didn't help.

Answers on comments:

netstat -an | grep 22 gives me:

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp       69      0 192.168.1.8:53436       13.32.28.22:443         ESTABLISHED
tcp6       0      0 :::22                   :::*                    LISTEN     
unix  2      [ ]         DGRAM                    3766327  /var/lib/samba/private/msg.sock/922
unix  2      [ ]         DGRAM                    3805225  /run/wpa_supplicant/wlp3s0mon
unix  3      [ ]         STREAM     CONNECTED     2717922  /run/user/1000/bus
unix  3      [ ]         STREAM     CONNECTED     2869722  
unix  3      [ ]         STREAM     CONNECTED     3802265  
unix  3      [ ]         STREAM     CONNECTED     3802266  
unix  3      [ ]         STREAM     CONNECTED     2335221  
unix  3      [ ]         STREAM     CONNECTED     2341225  /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     1822     /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     3773622  
unix  3      [ ]         STREAM     CONNECTED     27122    /run/user/121/bus
unix  3      [ ]         STREAM     CONNECTED     3802298  
unix  3      [ ]         STREAM     CONNECTED     3802297  
unix  3      [ ]         STREAM     CONNECTED     2468922  
unix  2      [ ]         DGRAM                    2339422  
unix  3      [ ]         STREAM     CONNECTED     2332622  
unix  3      [ ]         STREAM     CONNECTED     3853822  
unix  3      [ ]         STREAM     CONNECTED     29227    
unix  3      [ ]         STREAM     CONNECTED     29228    
unix  3      [ ]         STREAM     CONNECTED     2329522  
unix  3      [ ]         STREAM     CONNECTED     3766622  
unix  3      [ ]         STREAM     CONNECTED     2329922  
unix  3      [ ]         STREAM     CONNECTED     28122    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     2888122  
Why am I unable to dual boot Windows 10 with Ubuntu 18.04? https://askubuntu.com/questions/1048484/why-am-i-unable-to-dual-boot-windows-10-with-ubuntu-18-04

I have been struggling to dual boot Windows 10 with Ubuntu 18.04. I have Windows 10 already installed with all the latest updates as of 21st July 2018. The problem that I am facing is that when I boot Ubuntu from the USB drive, I am asked to install Ubuntu. When I choose that option, while proceeding I see that there is no option to install Ubuntu alongside Windows.

Only option to erase the disk and other options are available. I looked up in the Internet and found similar problem for Dell XPS model but in that question dual booting was being done with Ubuntu 16.04. In that post it was advised to enable ahci in sata controller option in BIOS mode and to disable fast boot mode. I have done all those things but still option to install Ubuntu alongside Windows is not showing.

ubuntu windows dual boot option

What I am trying to say that above option is not showing but all the rest options from second onwards is showing. The laptop that I am using is Lenovo g5080. I have Windows 10 (64bit) already installed and I don't want my data to be erased. Why am I unable to dual boot Windows 10 with Ubuntu 18.04?

disk management system

disk types and partition

I am also adding screenshots from Ubuntu installation pages. I don't see "install Ubuntu along with Windows" option as shown below :

enter image description here

and partitions in Ubuntu. the free space is what I intend to use for Ubuntu installation

enter image description here

Blank screen post BIOS after using apt-get -f install https://askubuntu.com/questions/976498/blank-screen-post-bios-after-using-apt-get-f-install

System info:

  • Dell Inspiron 1318
  • Ubuntu 16.04 LTS, single boot

System doesn't boot past BIOS:

My Ubuntu laptop was working like a charm until I hit a snag. I was trying to install a package using dpkg -i, when it prompted me that some dependencies are required and it recommended to run apt-get -f install.

I ran that and during the installation, I got a pop-up (which filled the entire screen) saying a reboot would be required, with <OK> button, so I restarted the computer and now I get a black screen after the BIOS.

Searching around, I tried pressing the Shift key several times which gave me the GRUB menu with:

  • *Ubuntu
  • *Advanced options for Ubuntu

I selected 'Advanced options...' after which I get more options, and I selected the second one ...0-98-generic (recovery mode):

enter image description here

I am having terminal access to everything using root. I'm not sure how to resolve this.

Here is a screen after running journalctl -xb. I'm not sure if there is a better way to show this information, since it gives me a long list of lines.

[FAILED] Failed to start LSB: AppArmor initialization.
See 'systemctl status apparmor.service' for details.
[  OK  ] Started LSB: Inform plymouth that /var/log is writable.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Time Synchronized.
[ TIME ] Timed out waiting for device dev-di... \x2dad80\x2d31cb46a69724.device.
[DEPEND] Dependency failed for /dev/disk/by-...bf0-4ab5-49eb-ad80-31cb46a69724.
[DEPEND] Dependency failed for Swap.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Rescue Shell.
[  OK  ] Reached target Rescue Mode.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
Welcome to rescue mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
boot into default mode. 
Press Enter for maintenance 
(or press Control-D to continue):

Then I get the following boot messages:

-- Logs begin at Wed 2017-11-15 12:12:05 EST, end at Wed 2017-11-15 12:15:11 EST. --
Nov 15 12:12:05 kedarps-Inspiron-1318 systemd-journald[202]: Runtime journal ( r
-- Subject: Disk space used by the journal
-- Defined-By: systemd
-- Support: [http://lists.freedesktop.org/mailman/listinfo/systemd-devel](http://lists.freedesktop.org/mailman/listinfo/systemd-devel)
-- Runtime journal (/run/log/journal/) is currently using 4.9M.
-- Maximum allowed usage is set to 39.4M.
-- Leaving at least 59.1M free (of currently available 389.0M of disk space).
-- Enforced usage limit is thus 39.4M, of which 34.4M are still available.
-- The limits controlling how much disk space is used by the journal 
-- may be configured with SystemMaxUse=, SystemKeepFree=, SystemMaxFileSize=,
-- RuntimeMaxUse=, RuntimeKeepFree=, RuntimeMaxFileSize= settings in
-- /etc/systemd/journald.conf. See journald.conf(5) for details.
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: microcode: CPU0 microcode updated
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: Initializing cgroup subsys cpuset
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: Initializing cgroup subsys cpu
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: Initializing cgroup subsys cpuacct
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: Linux version 4.4.0-96-generic (bu
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: Command line: BOOT_IMAGE=/boot/vml
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel: KERNEL supported cpus:
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel:   Intel GenuineIntel
Nov 15 12:12:05 kedarps-Inspiron-1318 kernel:   AMD AuthenticAMD

I tried reinstalling Ubuntu hoping that it would repair the installation. I made a live USB with Ubuntu and inserted it in the computer and selected Boot from USB Storage Device and I just get a black screen with a blinking cursor. It isn't moving to the 'Try Ubuntu', 'Install Ubuntu' screen.

I also tried fixing the AppArmor issue, by trying to install apparmor-easyprof-ubuntu as given here, but I'm not able to connect to the internet, hence I can't download using apt-get.

I connected an Ethernet cable and set-up wired internet and was able to fix the AppArmor issue by downloading and installing apparmor-easyprof-ubuntu. I also ran apt-get {update, upgrade, dist-upgrade} while in recovery mode. Now I NO longer get the 'Failed to start LSB' error, however I still get this error:

  • Dependency failed for /dev/disk...
  • Dependency failed for Swap

When I boot I only get terminal access. I can't see the login screen.

Here are the contents of the /etc/fstab file:

UUID=02f386fb-70ab-43d0-998c-8a30209872f5   /  ext4  errors=remount-ro 0  1
UUID=ab53ebf0-4ab5-49eb-ad80-31cb46a69724 none swap  sw                0  0

And here are the results after running blkid:

/dev/sda1: UUID="02f386fb-70ab-43d0-998c-8a30209872f5" TYPE="ext4" PARTUUID="bebca47d-01"
/dev/sda5: UUID="ab53ebf0-4ab5-49eb-ad80-31cb46a69724" TYPE="swap" PARTUUID="bebca47d-05"
Can't watch protected flash videos (nbcsports.com) on chrome in Ubuntu 14.04 https://askubuntu.com/questions/811898/cant-watch-protected-flash-videos-nbcsports-com-on-chrome-in-ubuntu-14-04

My question is similar to this one.

My Specs: I'm on Ubuntu 14.04 64-bit and trying to stream nbcsports live extra on Chrome (or Chromium). I can't use Firefox since the stream requires flash player 19.0.0 or higher, and Firefox for Linux is limited to version 11.2.

What's Happening: I try to watch a protected flash player on NBCSports.com and it just shows this spinning wheel forever. Before, it wouldn't let me get passed the login page. I would login, then it would require me to login again ad nauseam. I followed this guide to install the old HAL libraries and that seemed to fix that issue, but now I'm still having the first issue of the endless spinning wheel. I can watch basically any other flash video: Youtube, unprotected videos on NBCSports, etc.

Here's a screenshot: enter image description here

I've been at this for hours and haven't been able to find a solution, any help?

Connecting PS3 dualshock on Ubuntu 14.04 with 3.13.0-34-generic? https://askubuntu.com/questions/512177/connecting-ps3-dualshock-on-ubuntu-14-04-with-3-13-0-34-generic

The last entries/queries I can find about PS3 dual shock controller are dealing with older kernel versions. It looks like there may still be a problem with using the PS3 dual shock via USB(or bluetooth) with 14.04? I'm only guessing because I get no sign of detection or input when I plug in the USB. When I run

dmesg | grep sony

[ 4687.762302] sony 0003:054C:0268.0003: can't set operational mode
[ 4687.770639] sony: probe of 0003:054C:0268.0003 failed with error -38

So at this point, I don't know if it's worth running : sudo apt-get install xboxdrv

I also found this article LINK but it's dated 01/2013.

I was considering installing steam, and checking out some of the games. There are a few in particular I want to check out, but I'm afraid of purchasing them and then my controller does not work. I don't have a ps3, I just have the controller for Sixaxis/emulator/Android set up...

I see mentions for QTsixa and xboxdrv and known bugs, but the posts are at least a year old(older distibution/kernels) So I'm wondering if the current Kernel has fixed the bug. Ideally, I'd like to just plug in USB, and play. No Bluetooth available right now..

Can't see desktop https://askubuntu.com/questions/485982/cant-see-desktop

I tried to remove the guest account following the instructions on this page Removing Guest Session at login in Ubuntu 14.04

I followed the steps and then restarted the laptop. As usual the Lenovo icon came and then the Ubuntu icon, but, after that when usually lock screen showed up, the display went off but the laptop was on. I pressed the power button and the Ubuntu icon came and the Laptop shut down. I can't see the lock screen and the desktop. How can I bring back the display? I have a 320 Gigs HDD without any partition and Ubuntu as the main OS (no dual boot). Is there any way to resolve the problem without losing any data? I have really important data in the Laptop. Please help!

How to change bluetooth device class https://askubuntu.com/questions/439088/how-to-change-bluetooth-device-class

I am trying to change my advertised bluetooth device class from computer to phone, running ubuntu 12.04. I downloaded the bluez sources and edited the main.conf file to change the line

Class = 0x000100 

to something else. I used

Class = 0x0c025a 

Then I ran make && make install. I think that works ok because the /etc/bluetooth/main.conf file has been updated with my changes.

Now, the problem is that when I actually try to connect to a device

hcitool cc <bdaddr>

I see that I am still advertising myself using the Class 0x000100 and not 0x0c025a.

What am I missing here to get this changes to take effect?

Ubuntu 12.04, xbmc, opengl, intel motherboard https://askubuntu.com/questions/217466/ubuntu-12-04-xbmc-opengl-intel-motherboard

I've got an HTPC that I built myself, with a Asus P5G41T-M Motherboard. It's got an on-board HDMI port, and I've been using that with no problems. I started out with Mythbuntu ( an older version ), and recently updated to 12.04.1 LTS without any issues.

I've been thinking about trying out XBMC for a while, and I decided to give it a go. Unfortunately, I seem to be running into quite a few issues.

I got XBMC installed from the repos without any issues, but when I try to run it from a console, a box pops up with the following:

XBMC needs hardware accelerated OpenGL rendering. Install an appropriate graphics driver.

Please consule XBMC Wiki for supported hardware http://wiki.xbmc.org/?title=Supported_hardware

In the console, it prints out the following:

X Error of failed request: BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  136 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  12
  Current serial number in output stream:  12

When I run vainfo, I get this:

libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.15
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD

The file /usr/lib/x86_64-linux-gnu/dri/i964_drv_video.so exists:

# ls -l /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so 
-rw-r--r-- 1 root root 628728 Mar 29  2012 /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so

And in /var/log/Xorg.0.log the following error pops up:

GLX error: Can not get required symbols.

I'm not really sure where to go from here. I've tried searching all over for how to fix this problem. I've done "apt-get --reinstall xserver-xorg" ( as well as a few other video driver packages ) a few times, and no change.

Any help in getting this issue sorted out would be awesome.

How can I edit a picture into an existing PDF file? https://askubuntu.com/questions/167274/how-can-i-edit-a-picture-into-an-existing-pdf-file

I have a scanned PDF file which is an application form, and a picture which is the scanned version of my signature (for example, this one) and can be in any image format such as EPS or PNG. I would like to put the signature picture on the blank space right to "APPLICANT:" on the second page of the application form. I wonder how to do that?

I have tried the following methods, but none succeeded:

  1. The first way is using gimp. I first import the application form into gimp, and then paste the signature picture on the space right to "APPLICANT:" on the second page of the application form.

    The problems are that:

    • It seems that I can only import one page of the application form into gimp, not all of the two pages.

    • Also when I save the modification, the closest format to PDF I can save to is PS, and the resolution has been downgraded and the storage size of the saved file is 10 times bigger than the original application form and the signature picture.

  2. The second way is using Libreoffice Draw. I have installed the libreoffice-pdfimport package. But after I import the application form into Libreoffice Draw,

    • all the scanned content is not imported, and

    • the layout is different from the layout of the original application form.

So what other ways can I try? I would prefer some way that can lay the signature picture directly on the application form PDF file,

  • without having to convert between formats,
  • without having to create much bigger files while keeping the original resolution,
  • without having to split and combine pages of a multi-page pdf file,
  • without having to rasterize other parts of the PDF file, i.e. without losing the text that I added later to the application form PDF file by having to convert the whole PDF into images.