Why can't I boot by default to GRUB on my MSI motherboard https://askubuntu.com/questions/1564296/why-cant-i-boot-by-default-to-grub-on-my-msi-motherboard

I recently installed Ubuntu 24.04.4 LTS on my windows pc. I added the efi entries on my main drive containing windows and wanted to dual boot, such that grub loads on default and I can select whether I want to boot into Ubuntu or Windows. But it boots to windows by default.

I tried changing the boot order with efibootmgr and changed the first priority to Ubuntu Grub, but on restart, it boots to windows, the order reverses back.

Boot Order Picture

I tried the same in Windows with bcdedit with the same result.
I suspect it is something to do with my motherboard, which forces me too boot to Windows. Renaming the windows EFI file leads to failure to boot. The only way to boot to Ubuntu is with the f11 boot menu.

The bios also has a weird drive selection, with no proper names. Boot priority lists stuff like UEFI USB Hard Drive, USB Hard Drive, CD ROM, Network Drive, etc, instead of the actual drive names. The drive with windows shows Windows Boot Manager, but no such luck with Ubuntu.

I am very new to OS flashing and BIOS stuff, and am very scared to brick my PC. But I still want to have the grub menu by default. I have listed my specs below, Any help would be appreciated.

OS:

  1. Ubuntu 24.04.4 LTS on 100GB partition of a 250GB HDD

  2. Microsoft Windows 11 22H2 on a partition of a 500GB SSD

Motherboard: MSI B70 M-E DDR5 (Secure Boot Disabled)

Drive Setup: lsblk -f

Automatic Ubuntu 24.04 Kernel Update Removes Vendor-Specific Wifi Adapter Driver (Lenovo Thinkpad X1 Carbon Gen 13) https://askubuntu.com/questions/1564293/automatic-ubuntu-24-04-kernel-update-removes-vendor-specific-wifi-adapter-driver

I just got a new Thinkpad and tried to install Ubuntu 24.04. The interactive installation from USB allowed me to select an option to install recommended third party drivers for wifi (Intel(R) Wi-Fi 6E AX211 160MHz), etc. which I allowed. The machine booted properly and I had wifi connectivity. When I checked the dmesg output I saw this firmware version:

iwlwifi 0000:00:14.3: loaded firmware version 96.44729d4e.0 bz-b0-gf-a0-96.ucode op_mode iwlmvm

Then I was asked to restart to finish updates. I ran apt list --upgradable and saw nothing listed, so I checked which OS version was currently running using uname -r and saw:
6.14.0-1020-oem

then I checked what was requiring the reboot with cat /var/run/reboot-required.pkgs:
evolution-data-server
linux-image-6.17.0-1011-oem
linux-base

I then rebooted the machine and upon reboot had no more wifi connectivity, and the wifi settings said that there was no network adapter found. I again checked the dmesg output and found that the system had tried loading firmware versions 98, 99, 100 and failed each with error code -2. It also said "no suitable firmware found".

I probably could have then downloaded the newer firmware on another computer and tried to install it from USB, but I instead just reinstalled Ubuntu from scratch and have been using it (with wifi) without reboot so far. Any advice on how to handle this issue, preferably without the need for another computer?

MediaTek MT7902 (14c3:7902) fails to load or causes kernel panic on Ubuntu 25.10 https://askubuntu.com/questions/1564289/mediatek-mt7902-14c37902-fails-to-load-or-causes-kernel-panic-on-ubuntu-25-10

Question

I am running Ubuntu 25.10 (Plucky Puffin) on a laptop using the MediaTek MT7902 Wi-Fi card. Out of the box, the wireless interface is not detected.

Hardware Details: lspci -nnk | grep -A 3 Network output:

02:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7902]
    Subsystem: AzureWave Device [1a3b:5520]
    Kernel modules: mt7902

Despite the module being listed, the device is shown as UNCLAIMED.

Symptoms and Attempted Fixes:

  1. Secure Boot Conflict: When I try to manually load the driver via sudo modprobe mt7902, I receive: modprobe: ERROR: could not insert 'mt7902': Key was rejected by service

  2. Kernel Instability: On some boots, the system hangs or triggers a kernel panic during the hardware probe phase.

  3. Firmware Logs: dmesg shows Loading of unsigned module is rejected and sometimes fails to locate specific .bin firmware files for the gen4 architecture.

How can I safely install a working driver for the MT7902 on Ubuntu 25.10 without causing boot loops or kernel panics?

sssd service is not starting https://askubuntu.com/questions/1564288/sssd-service-is-not-starting

sssd service is not starting.

[root@bastiont sssd]# systemctl status sssd.service
● sssd.service - System Security Services Daemon
   Loaded: loaded (/usr/lib/systemd/system/sssd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2026-02-24 10:18:59 IST; 54s ago
  Process: 27295 ExecStart=/usr/sbin/sssd -i ${DEBUG_LOGGER} (code=exited, status=1/FAILURE)
 Main PID: 27295 (code=exited, status=1/FAILURE)

Feb 24 10:18:52 bastiont.xxx.in sssd[27295]: Starting up
Feb 24 10:18:52 bastiont.xxx.in sssd[be[cdot.in]][27296]: Starting up
Feb 24 10:18:52 bastiont.xxx.in sssd[be[cdot.in]][27297]: Starting up
Feb 24 10:18:55 bastiont.xxx.in sssd[be[cdot.in]][27298]: Starting up
Feb 24 10:18:59 bastiont.xxx.in sssd[be[cdot.in]][27299]: Starting up
Feb 24 10:18:59 bastiont.xxx.in sssd[27295]: Exiting the SSSD. Could not restart critical service [xxx.in].
Feb 24 10:18:59 bastiont.xxx.in systemd[1]: sssd.service: main process exited, code=exited, status=1/FAILURE
Feb 24 10:18:59 bastiont.xxx.in systemd[1]: Failed to start System Security Services Daemon.
Feb 24 10:18:59 bastiont.xxx.in systemd[1]: Unit sssd.service entered failed state.
Feb 24 10:18:59 bastiont.xxx.in systemd[1]: sssd.service failed.
Pom Error need help in resoulution [closed] https://askubuntu.com/questions/1564286/pom-error-need-help-in-resoulution

enter image description here

Any idea on how i can resolve this?

Screen flickering on Ubuntu 24.04 inside VirtualBox https://askubuntu.com/questions/1564282/screen-flickering-on-ubuntu-24-04-inside-virtualbox

I’m running Ubuntu 24.04 inside VirtualBox, and I’m experiencing persistent screen flickering inside the guest OS. The flickering happens during normal desktop use (moving windows, opening menus, switching workspaces, etc.). It continues even after installing the correct VirtualBox Guest Additions packages.

This is not a hardware issue, since the host system is stable and only the VM shows the flicker.

What has already been tried

1. Installed the correct VirtualBox guest drivers.

I installed the proper packages for Ubuntu 24.04:

sudo apt update
sudo apt install virtualbox-guest-utils virtualbox-guest-x11

Video Memory: 128 MB

3D Video acceleration: off

Switched to Ubuntu on Xorg - didn't help

2.5G Ethernet PCIe card limited to 100mb | Driver installation guide https://askubuntu.com/questions/1564279/2-5g-ethernet-pcie-card-limited-to-100mb-driver-installation-guide

Ubuntu 24.04

I have recently bought a 2.5 gig network card when i just plugged it in it was limited to 100mb, i suspect i need to install some drivers, from searching around the internet a bunch i think its the r8125 driver i need.

When following the packaging i find this page from RealTek with a script. (i'm getting mixed signals, the website says kernel versions up to 6.12 (I'm running 6.8.0-101) but in the readme it says 2.6.x and 2.4.x. What am i missing there)

When i try to run the script it simply gives this message:

Check old driver and unload it.
Build the module and install
make: *** No rule to make target 'all'.  Stop

This is the out put of sudo lshw -C network

*-network UNCLAIMED
   description: Ethernet controller
   product: RTL8125 2.5GbE Controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:0c:00.0
   version: 05
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd cap_list
   configuration: latency=0
   resources: ioport:b000(size=256) memory:df600000-df60ffff memory:df610000-df613fff

I would like someone to guide me pretty diligently through how to install the drivers i need.

EDIT: After running apt install r8125-dmks i got this ethtool output.

Settings for enp12s0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
                            2500baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
                            2500baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 100Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    MDI-X: on
    Supports Wake-on: pumbg
    Wake-on: d
    Current message level: 0x00000033 (51)
                           drv probe ifdown ifup
    Link detected: yes
Webcam not detected on Dell XPS 16 9640 with Ubuntu 24.04 https://askubuntu.com/questions/1564258/webcam-not-detected-on-dell-xps-16-9640-with-ubuntu-24-04

I'm trying to get the webcam working on my XPS 16 9640 running Ubuntu 24.04.4 LTS, and I’m stuck. I’d really appreciate if someone with the same model (or experience with IPU6 on Linux) could help.

System info:

Model: XPS 16 9640 OS: Ubuntu 24.04.4 LTS (noble) Kernel: 6.17.0-1011-oem OEM meta package: oem-somerville-lapras-meta installed

The Intel IPU6 driver loads correctly. From dmesg I can see:

intel-ipu6 initializes properly Firmware authentication succeeds intel_ipu6_isys and intel_ipu6_psys are loaded

The camera sensor (ov02c10) appears in the module list There are many /dev/video* devices and /dev/media0 exists.

However:

sudo cam --list

Returns:

Available cameras: (empty)

Also, /usr/share/libcamera/pipeline does not exist on my system.

Installed packages related to IPU6

libcamhal0 libcamhal-common libcamhal-ipu6epmtl libcamhal-ipu6epmtl-common oem-somerville-lapras-meta

libcamera is installed, but does not detect any camera

Has anyone successfully made the webcam work on the XPS 16 9640 with Ubuntu 24.04?

Is there an additional IPU6/libcamera package required that is not pulled automatically by the OEM meta package?

Is this model officially supported under Ubuntu 24.04, or only under the factory Dell Ubuntu image?

Does it require a specific OEM image rather than a clean Ubuntu install?

Any guidance (even just confirming that it works on your setup) would be super helpful.

Thanks in advance!

Easy way to open multiple MBOX files https://askubuntu.com/questions/1564254/easy-way-to-open-multiple-mbox-files

Can I open/view multiple MBOX files at once instead of loading them individually? Please suggest an easy solution.

grub does not see the Windows 10 disk/partition https://askubuntu.com/questions/1564083/grub-does-not-see-the-windows-10-disk-partition

I did see many posts regarding this topic, but none helped me to solve it.

I had an older PC with dual boot Ubuntu and Windows 7 running. both on different disks.

I moved the Ubuntu disk to another PC running Windows 10.
Starting Windows 10 worked as usual, but not Ubuntu, so I used Boot-Repair. On the first run Boot–Repair went through (including removing/installing grub) using the default settings. After restarting there was no grub on any disk (there are 4 internal disks and 2 USB disks with data and for backup). Running disk repair again, trying to define which disk should contain grub and also trying to use the default repair now always gave the following error message:

The current session is in BIOS-compatibility mode. 
Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, 
and use this software from a live-CD (or live-USB) 
that is compatible with UEFI booting mode. 
For example, use a live-USB of Boot-Repair-Disk-64bit   
(www.sourceforge.net/p/boot-repair-cd), 
after making sure your BIOS is set up to boot USB in EFI mode.

Only BIOS is set to UEFI and I could not find the BIOS-compatibility settings.

Based on some thread in this forum I did the following:

  • mount /dev/sda5 /mnt

  • Then run the following to do a chroot to reinstall grub on the system:

  • for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

  • chroot /mnt

    The later 2 steps threw an error message, /cow etc. I solved it by sudo apt-get install grub. It seems the Boot–Repair did not install grub properly.

    Then you should be at a $ prompt and see your Ubuntu installation. You should now be able to reinstall grub and update grub.

  • sudo grub-install /dev/sda

  • sudo update-grub

Only the Windows on disk /dev/sdh was not found

Searching through several threads did not solve it.

What I did:

  • turned off Fast Boot and Windows power setting: no effect (still left it that way)

  • trying 40_custom settings using the hd8,1 (for /dev/sdh) did get

    grub cannot get C/H/S values

  • I tried several hdX settings, but none worked.

Next based on another thread:

menuentry "Windows 10" --class windows --class os {
   insmod ntfs
   search --no-floppy --set=root --fs-uuid 6A4C90714C9039B1
   ntldr /bootmgr
}

The uuid is the ntfs partition (/dev/sdh2), I also tried the efi partition uuid (/dev/sdh1)
This had no effect. Windows does not boot from the grub boot menu.

Do you have any other suggestions to get Windows to start from the grub boot menu?

Link to Boot-repair log: https://paste.ubuntu.com/p/JkrmrzGtWq/

In meantime i did run boot repair twice on the Windows partition

`update-grub2` now finds a Windows 10 installation, but on `/dev/sdd1` which is the efi partition. Windows and the bootmanager is actually installed on `/dev/sdd2`.

using the now available Windows 10 entry does blank the screen a moment and restarts the computer.

/dev/sdd1 entry:

drwxr-xr-x  4 root root   1024 Jan  1  1970 ./
drwxr-xr-x 21 root root   4096 Feb 19 10:52 ../
-rwxr-xr-x  1 root root      1 Dec  7  2019 BOOTNXT*
drwxr-xr-x 41 root root   4096 Feb 21 10:31 Boot/
drwxr-xr-x  5 root root   1024 Feb 23 07:34 EFI/
-r-xr-xr-x  1 root root 420238 Oct 19 04:59 bootmgr*

The grub menu entry for Windows 10 points to /dev/sdd1 but i think it should point to /dev/sdd2 or?

Red icon for automounted disk / partition in nautilus (why?) https://askubuntu.com/questions/1473026/red-icon-for-automounted-disk-partition-in-nautilus-why

I recently reinstalled Ubuntu a few times because I had issues with Nvidia drivers, but after a recent reinstall I now have a red icon in nautilus for a partition I enabled automount for via the disk utility (ext4, part of the same SSD /home is on).
I couldn't actually find anything on the internet about this issue.

I tried running fsck and it reported no error. I can access its content just fine. The mount point directory is owned by my user. The mount options are the default the Disk Utility suggested (and according to the internet, nothing special).
In the journal, relating to this I only have tracker-miner errors for which I also couldn't find a lot, only other users reporting about it where the answers seem to suggest it's nothing major.

On Ubuntu 22.04 with all available updates installed.
What could be the issue here, or how can I find out why it's displayed like this?

Disk/partition icon:

Screenshot of Disk/Partition Icon

Installing the lf file manager - lf command not found after installation https://askubuntu.com/questions/1467641/installing-the-lf-file-manager-lf-command-not-found-after-installation

I've just installed the lf file manager on my computer (Ubuntu 22.04.2) by typing the following command in my terminal, as indicated on this GitHub page:

env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gokcehan/lf@latest

(I first had to install the go compiler and language using sudo apt install golang-go. Without this the terminal displayed the message env: ‘go’: No such file or directory.)

According to the same GitHub page,

After the installation lf command should start the application in the current directory.

However, running either of lf, lf --help or lf --version displays

lf: command not found

Have I missed a step in the installation? Any suggestions to fix this? I apologise if this is a silly question - I am a complete beginner in Linux. :)

I cannot type in the terminal https://askubuntu.com/questions/1461706/i-cannot-type-in-the-terminal

When I open the terminal, the window appears without the ability to write in it. I cannot type, and I also do not see the directory. You can see the screenshot:

terminal

I have already tried killing all running processes and restarting the computer. Additionally I attempted to reset the terminal. How do I fix this?

Can't get Parsec to run on Ubuntu 18.04, missing avcodec58 https://askubuntu.com/questions/1437002/cant-get-parsec-to-run-on-ubuntu-18-04-missing-avcodec58

i am currently trying to run Parsec on my Ubuntu 18.04 to connect to my remote Windows gaming rig.

it says which libraries are required.

As far as i can tell via synaptic is that the only dependend package missing is "libavcodec58 not found on your system. [-22]"

If i search in synaptic for "libavcodec58" i find a few libavcodec57 packages but none of them work.

Is there any other source where i can find a .deb file of this missing library?

Thank you guys in advance <3

Increment operator does not work on a variable if variable is set to 0 https://askubuntu.com/questions/1379923/increment-operator-does-not-work-on-a-variable-if-variable-is-set-to-0

Incrementing a variable var works in bash when enclosed in double parentheses like (( var++ )). But I have found that it fails if variable is set to 0 beforehand like var=0.

$ a=0
$ ((a++)) && echo "command succeeded" || echo "command failed"
command failed

$ a=1
$ ((a++)) && echo "command succeeded" || echo "command failed"
command succeeded

Can someone explain this behavior?

Environment:

I am using gnome-terminal on Ubuntu Desktop 18.04.5 LTS.

"invalid argument" when trying to access to network from nautilus https://askubuntu.com/questions/1347800/invalid-argument-when-trying-to-access-to-network-from-nautilus

I was reading this could be a kind of bug. So, I have 2 samba file servers, mint-satellite and ubuntu-andres. I can't reach when I double click, I can't reach when I write in Go To: smb://ubuntu-andres but I can reach when I write smb://ubuntu-andres/share. The other server has the same config and it runs correctly, every machine can reach it. Heres my smb.conf from servers:

    [share]
Comment = shared folder
Path = /share
Browseable = yes
Writeable = Yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes

enter image description here

Edit: This could be a hint, those are repeated, but I don't remember what did I do or what service I started, this is a screenshot of ubuntu-andres (the file server with the problem):

enter image description here

Edit3: The problem seems to be with linux machines, all of windows machines I can reach when I put \\ubuntu-andres.

Is it possible to use wpa passphrase hash in cloud-init's network-config file? https://askubuntu.com/questions/1339166/is-it-possible-to-use-wpa-passphrase-hash-in-cloud-inits-network-config-file

As the title states I'd like to obfuscate my wifi's credentials and know that wpa supplicant has wpa_passphrase to do this.

My question is can I place wpa_passphrase's hashed output in the entry for password of the network-config file that Ubuntu Server 20.04 LTS uses?

Or is there a similar command to hash the psk for cloud-init files that I should be using instead?

How to install and configure mDNS on Ubuntu 18.04? https://askubuntu.com/questions/1335936/how-to-install-and-configure-mdns-on-ubuntu-18-04

According to the link. https://www.howtoinstall.me/ubuntu/18-04/avahi-daemon/

The method it provides for installing mDNS consists of just two lines of command:

sudo apt update
sudo apt install avahi-daemon

According to the link: What is mDNS? Is it possible to make mDNS query without mdns service running?

One friend replied:

Ubuntu systems just need avahi-daemon and libnss-mdns installed.

So the first question is :

What is the standard method for installing mDNS on ubuntu 18.04?

The second question is:

After installing mDNS, how should I configure mDNS?

The third question is:

How can I verify the functionality of mDNS?

I have a problem with recognizing all temperature sensors and fan speed sensors, how I can get to recognize all sensors? https://askubuntu.com/questions/1330132/i-have-a-problem-with-recognizing-all-temperature-sensors-and-fan-speed-sensors

I have a problem with recognizing all temperature sensors and fan speed sensors. How I can get to recognize all sensors?

I decided to install the latest version of Ubuntu 20.04 in my web browsing PC on spare SSD (for transition from Windows 8.1, to not upgrade to Windows 10) in UEFI mode, and it did install successfully. But after I set up, I noticed that lm-sensors detects only CPU die temps. not the motherboard's sensors. Windows does detect all sensors with a program called SpeedFan 4.51,with Intel Management Engine driver. I can't found anything about detecting sensors or installing some software to work on this particular motherboard in Ubuntu. Is it something that is impossible to do under Ubuntu, or does the Intel Management Engine not work in Linux?

PC specs:

  • Motherboard: Intel Desktop Board DG33BU

  • CPU: Intel Core 2 Quad Q9550

  • RAM: 8 GB of DDR2 800

  • Graphics card: NVidia GeForce GT 710 1GB

  • SSD: Adata SU650 120GB

  • PSU: FSP OEM 320W

I know the the specs aren't great but it works!

After it detects "all sensors":

here is a screenshot after it detects "all sensors"

How do I fix "theme parsing error" when attempting to launch plank? https://askubuntu.com/questions/1295032/how-do-i-fix-theme-parsing-error-when-attempting-to-launch-plank

Guys I need help because whenever i launch plank or use "plank -d" it shows this message:

[DEBUG 16:40:00.291288] [GLib-GIO] _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[DEBUG 16:40:00.315420] [GLib-GIO] _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’

(plank:26806): Gtk-WARNING **: 16:40:00.358: Theme parsing error: gtk.css:7188:40: Junk at end of value for background-color
[DEBUG 16:40:00.458059] [GLib] unsetenv() is not thread-safe and should not be used after threads are created
[INFO 16:40:00.459287] [AbstractMain:229] Plank version: 0.11.89
[INFO 16:40:00.459376] [AbstractMain:230] Kernel version: 5.4.0-54-generic
[INFO 16:40:00.459461] [AbstractMain:231] GLib version: 2.64.3 (2.61.2)
[INFO 16:40:00.459543] [AbstractMain:234] GTK+ version: 3.24.20 (3.24.10)
[INFO 16:40:00.459624] [AbstractMain:237] Wnck version: 3.32.0
[INFO 16:40:00.459718] [AbstractMain:238] Cairo version: 1.16.0
[INFO 16:40:00.459802] [AbstractMain:239] Pango version: 1.44.7
[INFO 16:40:00.459881] [AbstractMain:240] + Cairo/Gtk+ HiDPI support enabled
[INFO 16:40:00.459961] [AbstractMain:242] + Dynamic Quicklists support enabled
[INFO 16:40:00.460043] [AbstractMain:245] + XInput Barriers support enabled
[INFO 16:40:00.473907] [WindowControl:68] Window-manager: GNOME Shell
[DEBUG 16:40:00.476990] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-applications.so'
[INFO 16:40:00.477245] [DockletManager:107] Docklet 'applications' registered
[DEBUG 16:40:00.478689] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-battery.so'
[INFO 16:40:00.478884] [DockletManager:107] Docklet 'battery' registered
[DEBUG 16:40:00.480348] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clippy.so'
[INFO 16:40:00.480556] [DockletManager:107] Docklet 'clippy' registered
[DEBUG 16:40:00.482074] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-clock.so'
[INFO 16:40:00.482263] [DockletManager:107] Docklet 'clock' registered
[DEBUG 16:40:00.483639] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-cpumonitor.so'
[INFO 16:40:00.483826] [DockletManager:107] Docklet 'cpumonitor' registered
[DEBUG 16:40:00.485239] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-desktop.so'
[INFO 16:40:00.485472] [DockletManager:107] Docklet 'desktop' registered
[DEBUG 16:40:00.486928] [DockletManager:204] Loading module '/usr/lib/x86_64-linux-gnu/plank/docklets/libdocklet-trash.so'
[INFO 16:40:00.487101] [DockletManager:107] Docklet 'trash' registered
[DEBUG 16:40:00.487218] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
[INFO 16:40:00.487428] [AbstractMain:299] Running with 1 docks ('dock1')
[DEBUG 16:40:00.487566] [DockController:80] Create dock 'dock1' (config_folder = /home/vincent/.config/plank/dock1)
[DEBUG 16:40:00.487643] [GLib] setenv()/putenv() are not thread-safe and should not be used after threads are created
[DEBUG 16:40:00.487871] [Settings:53] Bind 'PlankDockPreferences' to '/net/launchpad/plank/docks/dock1/'

(plank:26806): Gtk-WARNING **: 16:40:00.532: Theme parsing error: gtk.css:7188:40: Junk at end of value for background-color
[DEBUG 16:40:00.636355] [Preferences:349] Loading preferences from file '/home/vincent/.local/share/plank/themes/mcOS-BS-White-Stock/dock.theme'
[DEBUG 16:40:00.640129] [ItemFactory:176] Loading dock elements from '/home/vincent/.config/plank/dock1/launchers'
[DEBUG 16:40:00.641404] [Unity:164] Initializing LauncherEntry support
**
ERROR:arraylist.c:2644:gee_array_list_iterator_real_get: assertion failed: (_index >= 0)
Bail out! ERROR:arraylist.c:2644:gee_array_list_iterator_real_get: assertion failed: (_index >= 0)
Aborted (core dumped)

and it doesn't launch when I click on it. can you guys help me?

Ubuntu 20.04 and Huawei Mobile Stick E3372 https://askubuntu.com/questions/1244855/ubuntu-20-04-and-huawei-mobile-stick-e3372

I am trying to use the HUAWEI 4G Usb-Dongle E3372 with Ubuntu 20.04 but the module doesn't seem to work.

ubuntu@yolo:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 018: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard

Do you have any advice?

Update:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.1.88  netmask 255.255.255.0  broadcast 192.168.1.255
    inet6 fe80::dea6:32ff:fe66:502e  prefixlen 64  scopeid 0x20<link>
    ether dc:a6:32:66:50:2e  txqueuelen 1000  (Ethernet)
    RX packets 1546  bytes 135451 (135.4 KB)
    RX errors 0  dropped 1  overruns 0  frame 0
    TX packets 1058  bytes 166563 (166.5 KB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 143  bytes 11669 (11.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 143  bytes 11669 (11.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether dc:a6:32:66:50:2f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
How to install software using preseed.cfg Ubuntu 18.04.4? https://askubuntu.com/questions/1219749/how-to-install-software-using-preseed-cfg-ubuntu-18-04-4

I am creating an unattended installation using preseed for Ubuntu Desktop 18.04.4, and I want to install openssh-server (openssh-sftp-server for desktop) making it actually possible to ssh after installation is completed.

I have tried using commands such as: pkgsel/include,ubiquity/success_command and preseed/late_command without any luck.

The preseed does not install software nor does it update the packages.

Ref How To Include Additional Software In preseed.cfg For Ubuntu Server 13.10

If any help:

# Installer config
d-i base-installer/kernel/override-image string linux-image-amd64

# GRUB
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true

# Setting the locales, country
# Supported locales available in /usr/share/i18n/SUPPORTED
d-i debian-installer/language string en
d-i debian-installer/country string IN
d-i debian-installer/locale string en_US.UTF-8

# Keyboard setting
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
d-i keyboard-configuration/xkb-keymap us
d-i keyboard-configuration/modelcode string pc105

# Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/enable boolean true
d-i netcfg/get_hostname string ubuntu-bionic-desktop
d-i netcfg/get_domain string localdomain
d-i netcfg/wireless_wep string
# d-i hw-detect/load_firmware boolean true

# Mirror settings
choose-mirror-bin mirror/http/proxy string

# Clock and time zone setup
d-i time/zone string UTC
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean true

# Disk and Partitioning setup
d-i partman-auto/disk string /dev/sda
d-i partman-auto-lvm/guided_size string max
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/method string lvm
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true

# Vagrant user creation
d-i passwd/user-fullname string vagrant
d-i passwd/username string vagrant
d-i passwd/user-password password vagrant
d-i passwd/user-password-again password vagrant
d-i user-setup/encrypt-home boolean false
d-i user-setup/allow-password-weak boolean true
d-i passwd/user-default-groups vagrant sudo

# Package installations

d-i pkgsel/include string openssh-sftp-server vim cryptsetup build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms nfs-common
# Upgrading the system
d-i pkgsel/install-language-support boolean false
d-i pkgsel/update-policy select none
d-i pkgsel/upgrade select full-upgrade
tasksel tasksel/first multiselect standard, ubuntu-desktop

ubiquity ubiquity/use_nonfree boolean true

d-i preseed/late_command string apt-install openssh-sftp-server;

# Success Installation - Tasks
ubiquity ubiquity/success_command string  \
    in-target apt install openssh-sftp-server;

# Installation - final
d-i finish-install/reboot_in_progress note
ubiquity ubiquity/summary note
ubiquity ubiquity/reboot boolean true`
Nvidia graphics driver crashes in Ubuntu 18.04 https://askubuntu.com/questions/1029238/nvidia-graphics-driver-crashes-in-ubuntu-18-04

Few days ago I upgraded my laptop from ubuntu 17.10 to ubuntu 18.04. In my laptop it has two graphic controllers(intel and Nvidia). Normally I have been using Nvidia X server tool for switching between them.

When I'm upgrading from 17.10 to 18.04 it was using Nvidia graphics mode and not any of problems occurred during upgrade and successfully booted into ubuntu 18.04.

But my question is, after upgrade, I selected Intel graphics mode and now I can't boot my computer, because it is looping with an error message, where after the boot screen with ubuntu logo appears.

Note that I can't even log into tty sessions and fail safe graphics modes also didn't work.

So can anyone help me to resolve this error without reinstalling the entire operating system??

How to configure KODI to run in windowed mode from command line? https://askubuntu.com/questions/811147/how-to-configure-kodi-to-run-in-windowed-mode-from-command-line

I am running Kodi via XServer from a 2-monitor remote computer. When Kodi starts, it occupies entire 2 monitor areas and is absolutely useless.

It has a config to run in windowed mode, but how to activate it from command line?

I have edited

~/.kodi/userdata/guisettings.xml

and changed

<screenmode default="true">DESKTOP</screenmode>

to

<screenmode default="true">WINDOW</screenmode>

but it changes back to DESKTOP each run.

How to overcome?

Eclipse - Package dependencies cannot be resolved [duplicate] https://askubuntu.com/questions/743979/eclipse-package-dependencies-cannot-be-resolved

I know there are a lot of questions on this topic, and I tried a lot of options that worked for some people, but I just can't get this done. I am trying to install Eclipse on my Ubuntu 14.04 LTS, and whenever I do this I get this message. I tried with autoclean, autoremove, upgrade and other stuff, also with sudo apt-get install -f, but nothing works. Is there any other solution?

I got this error message:

Package dependencies cannot be resolved  
The following packages have unmet dependencies:  
eclipse-platform: Depends: ant (>= 1.8.2) but it is not going to be installed  
Depends: ant-optional but it is not going to be installed  
Depends: eclipse-platform-data (>= 3.8.1-5.1) but 3.8.1-5.1 is to be installed  
Depends: eclipse-rcp (= 3.8.1-5.1) but 3.8.1-5.1 is to be installed  
Depends: libcommons-codec-java (>= 1.4-2) but it is not going to be installed  
Depends: libcommons-httpclient-java (>= 3.1-9) but it is not going to be installed  
Depends: libcommons-logging-java (>= 1.1.1-6) but it is not going to be installed  
Depends: libjsch-java (>= 0.1.37-3) but it is not going to be installed  
Depends: liblucene2-java (< 2.9.5) but 2.9.4+ds1-4 is to be installed  
Depends: libservlet3.0-java but it is not going to be installed  
Depends: sat4j (< 2.4.0) but 2.3.2-1 is to be installed  
Configuring the BIOS before installing Ubuntu https://askubuntu.com/questions/695784/configuring-the-bios-before-installing-ubuntu

Recently I was asked about whether Ubuntu go on laptop ASUS F552CL-X211H. Now I would like to know what you want to disable or, conversely, to include in the BIOS to make it work as it should.

LVM: unable to create snapshot due to failed merge of prior snapshot https://askubuntu.com/questions/552355/lvm-unable-to-create-snapshot-due-to-failed-merge-of-prior-snapshot

I inadvertently created a situation where I deleted an LVM snapshot that was pending a merge (yes - bonehead move). Now I can neither finish the merge nor create a new snapshot on the original logical volume. When I try to create a snapshot I get the following:

root@ubuntu:~# lvcreate -s -n snap -L 15g /dev/sysvg/syslv
   Snapshots of an origin that has a merging snapshot is not supported

and in dmesg I see the following logs:

Nov 21 20:32:47 ubuntu kernel: [  721.210733] device-mapper: snapshots: Snapshot is marked invalid.
Nov 21 20:32:47 ubuntu kernel: [  721.211641] device-mapper: snapshots: Snapshot is invalid: can't merge
Nov 21 20:32:47 ubuntu kernel: [  721.233283] Buffer I/O error on device dm-4, logical block 16
Nov 21 20:32:47 ubuntu kernel: [  721.233289] Buffer I/O error on device dm-4, logical block 16

This is not surprising as I did an lvremove of the snapshot (oops). If I do an lvscan I get the following output:

root@ubuntu:~# lvscan
  ACTIVE            '/dev/uservg/userlv' [931.50 GiB] inherit
  inactive Original '/dev/sysvg/syslv' [152.77 GiB] inherit

And lvdisplay shows

root@ubuntu:/# lvdisplay /dev/sysvg/syslv 
  --- Logical volume ---
  LV Path                /dev/sysvg/syslv
  LV Name                syslv
  VG Name                sysvg
  LV UUID                stuff here
  LV Write Access        read/write
  LV Creation host, time hades, 2014-07-09 14:56:49 +0000
  LV snapshot status     source of
                         pre-x [INACTIVE]
  LV Status              available
  # open                 0
  LV Size                152.77 GiB
  Current LE             39108
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:3

So the snapshot status is INACTIVE and is trying to merge but I have no idea how to make LVM try to stop attempting the merge. I can mount and use the logical volume without apparent problem, but I really would like to be able to take a snapshot (which is why I wanted to use LVM in the first place!)

I think that I need to us a lower level tool like dmsetup to accomplish this but I am not sure how to use this tool and would prefer not to blow away root if possible (not the end of the world, but would prefer not too). With dmsetup I have the following info:

root@ubuntu:/# dmsetup status /dev/sysvg/syslv 
0 320372736 snapshot-merge Invalid

and

root@ubuntu:/# dmsetup info /dev/sysvg/syslv 
Name:              sysvg-syslv
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        0
Event number:      0
Major, minor:      252, 3
Number of targets: 1
UUID: stuff here

I have looked extensively on the intertubes and either my google kung-fu is slipping or I have reached toxic levels of caffeine (or both) and can't find much. Does anyone have any advice about how to restore LVM snapshoting for me?

System:

root@hades:~$ uname -a
Linux hades 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

LVM info:

root@ubuntu:/# lvm version
  LVM version:     2.02.98(2) (2012-10-15)
  Library version: 1.02.77 (2012-10-15)
  Driver version:  4.27.0

TIA.

  • chooks
Not able to configure Reliance Netconnect USB dongle with Ubuntu 12.04 LTS https://askubuntu.com/questions/349340/not-able-to-configure-reliance-netconnect-usb-dongle-with-ubuntu-12-04-lts

I've a Netconnect USB dongle which is I am not able to use with Ubuntu 12.04 LTS. I am noob

lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800 (HSPA modem)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 001 Device 007: ID 0cf3:e004 Atheros Communications, Inc. 
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. 
Bus 001 Device 005: ID 0bda:58c2 Realtek Semiconductor Corp. 

I've used wvdial which says

kp-15:~$ sudo wvdial
[sudo] password for user: 
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

I've also used gnome-ppp and tried all combination of 'eevice' and 'type' to let the GUI detect the modem. But GUI tool was not able to detect the connected modem.

Please help.

Something went wrong with driver update and now my screen is half the size https://askubuntu.com/questions/234518/something-went-wrong-with-driver-update-and-now-my-screen-is-half-the-size

I'm a student on winter break, so I am away from my backup drives and can't just do a fresh install or dd my old working hard drive back into the machine or anything.

I was having some stability problems (which I still haven't figured out quite yet) with Qt Creator: while trying to add a resource file to a new project, the thing would just instantly close on me. 10 minutes later I got an internal error message about Unity which wasn't all that big of a deal at the time because it wasn't affecting anything else to my knowledge. I read around and heard of other people having similar problems with their Unity and driver configurations, and I was curious about Gnome anyway, so I tried the same thing in Gnome and got the same result with Qt Creator, so I figured it must be on the level of my drivers.

The problem: I ran sudo apt-get update and sudo apt-get install nvidia-current, rebooted and got a funky setup. The Dock icons are the size of my thumb, and everything is zoomed in to some size in the upper left-hand corner of my machine. Also about 2.5 inches on either side of the screen simply aren't being used. The change of screen doesn't happen until the splash login screen. The Ubuntu loading screen is just like my old screen used to be and it's still good resolution.

I have an Nvidia GeForce GT 640M graphics card, but I am unsure about how to find any more information about it because 12.04 doesn't seem to know what driver I am using or anything whenever I go into the System Settings to look around.

My desktop:

https://i.sstatic.net/llbrF.png

reddit.com:

https://i.sstatic.net/QkI0U.png

I'm not sure why everything scaled the way it did or why I can't see half of my desktop anymore. Most of my documents and things were below the visible screen window and I can't access them. None of the scaling that you see in the pictures has been done by me.

Needless to say the interface is really annoying, and some programs don't have a left-right scroll bar.

How to run a checkdisk? https://askubuntu.com/questions/59064/how-to-run-a-checkdisk

I suspect there might be bad sector on a disk. I used ext3 filesystem.

What tool is the best equivalent of the error checking tool of Windows?