Trying to get 5.1 sound to work correctly https://askubuntu.com/questions/1563244/trying-to-get-5-1-sound-to-work-correctly

Hello askUbuntu community! I'm in the process of switching to Linux since I want to get away from Microslop. I have now tried for literally hours to get my 5.1 sound system (which works fine on windows) to work on Ubuntu 24.04.3 LTS, reading many posts on here and on the wider web, with only superficial success so far. Here are the details:

I'm using a SoundBlaster Audigy FX v2 card, my sound system is connected via 3 x 3.5mm jacks. Ubuntu recognizes it, and I have set it as the default device in the system sound settings:

Sound settings

When I click "test", all six channels function correctly and I can hear the correct output through all six speakers. Same thing when doing a speaker-test in the console:

speaker-test

But everything other than the system settings test and the speaker-test only outputs a stereo signal. Can't get any other application to use all six channels. For instance, when I try to use VLC player to play an mp3 file, I get only stereo through the front left & right speakers. I get the same thing with sound output of Firefox. And since the system uses a subwoofer on a different channel, the front speakers are terribly feeble in the lower frequencies. In VLC, I tried both Pulseaudio and ALSA as output and activated "Force detection of Dolby Surround" as well as setting the ALSA output channels to 5.1.

Here are screenshots of my pavucontrol and alsamixer:

pavucontrol

alsamixer

What really confuses me is that many other posts suggest editing /etc/pulse/daemon.conf, but that doesn't seem to exist on my system for some reason.

directory contents of etc/pulse/

I tried creating it, but it doesn't seem to do anything and even disappears once I reboot the system. Since I'm new to Linux in general, the fact that the config file isn't even there makes me worry that I might have set it up wrong somehow. Other posts suggest setting the channel number in alsamixer to 6, but it doesn't even offer me that choice, as you can see in the screenshot.

Could anyone give me any other tips on what I might try next?

Sound issue Ubuntu 24.04.3 LTS; HP AIO; Audio interface and laptop(pc) speakers; one or the other? https://askubuntu.com/questions/1563242/sound-issue-ubuntu-24-04-3-lts-hp-aio-audio-interface-and-laptoppc-speakers

I have recently installed Ubuntu 24.04.3 LTS on my Hp all in one 27 dp0xxx (called that in system setting cant quit recall exactly what dp0). I have a Mackie ProFx12V3 Audio interface that I have now managed to get to work, however I can no longer even see the onboard audio device through settings or alsamixer (nothing happens with F6 and S/PDIF shows).

I edited the following .conf and muted the onboardto get the mackie to work:

sudo gedit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf

[Element Speaker] required-any = any switch = mute volume = off

[Element Desktop Speaker] required-any = any switch = mute volume = merge override-map.1 = all override-map.2 = all-left,all-right

does anyone know how to edit the analog-output-speaker.conf so that i can switch between audio sources ? maybe how to set a default and be able to switch?

Selecting text with shift + click does not work https://askubuntu.com/questions/1563241/selecting-text-with-shift-click-does-not-work

In any operating system I know, I can select text in the following way:

  1. set the cursor at the beginning of that text by a left-click
  2. set the cursor at the end of that text by a left-click while pressing the shift key

This does not work on my Ubuntu 25.10 machine (the cursor is repositioned, but the text is not selected). And as far as I'm aware of I have not set any special configuration for my keyboard or my mouse.

Is this the standard behaviour of Ubuntu? What can I do to change it?

Showing two duplicate Chrome icons in Unity on Ubuntu 24.04 https://askubuntu.com/questions/1563240/showing-two-duplicate-chrome-icons-in-unity-on-ubuntu-24-04

I installed Ubuntu 24.04.3 in my ThinkPad. I installed the latest Chrome browser (.deb). After that I have observed 2 duplicate Chrome icons in Unity.

I tried different ways to delete them, but failed.

It installed properly. If I click either icon both are launching Chrome without any issue.

Ubuntu 25.10 - Intel Alder Lake iGPU - No HDMI audio output - Internal speaker works https://askubuntu.com/questions/1563238/ubuntu-25-10-intel-alder-lake-igpu-no-hdmi-audio-output-internal-speaker-w

I have an Intel i3-12100 Dell OptiPlex XE4 and am using Ubuntu 25.10 because I wanted HDR compatibility with my TV for an HTPC box.

Starting from a fresh installation I can see the audio devices out of the box, however I cannot get audio out of the installed "optional" HDMI 2.0b port. I tested it with Windows 11 and the HDMI audio is confirmed working on the exact same TV and setup. I can see the output device in Ubuntu 25.10 as well as the Internal Speaker inside the computer. However, when I used the DisplayPort connection with a DisplayPort to HDMI cable, the sound works. It's just the HDMI port itself that gets no audio output.

The internal speaker works, but when I switch the audio to the HDMI output I get nothing. The volume on the TV is turned up, and I see output on the meters inside Ubuntu.

I have confirmed the GPU driver is fully working and has hardware decoding acceleration. If I disable the integrated audio in BIOS I only get the Dummy audio output in Ubuntu. I have to enable audio, but I can disable the internal speaker and Ubuntu then only sees the HDMI output.

I have tried speaker-test and I get a resource busy error when trying the HDMI output, yet speaker-test works fine with the internal computer speaker.

Other things I've tried:

  • Fully updated Ubuntu 25.10 (same result as the initial 25.10 installation)

  • Updated BIOS

  • Disabled Secure Boot

  • Checked alsamixer and pavucontrol for any muted outputs or volumes turned down

  • Tried the latest KDE neon distribution and had the exact same result as Ubuntu 25.10

  • Tried adding these packages:

    sudo apt install intel-media-va-driver-non-free
    sudo apt install firmware-sof-signed (already was latest version)
    sudo apt install alsa-ucm-conf (already was latest version)
    
  • Tried adding this config:

    sudo nano /etc/modprobe.d/myfile.conf  
    

    and added this option to it:

    options snd-intel-dspcfg.dsp_driver=1` or `options snd-intel-dspcfg.dsp_driver=3  
    

Based on my research, here are various outputs people might ask for:

x12tv@x12tv:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [SONY TV  *00]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
x12tv@x12tv:~$ speaker-test --channels 2 --test wav --device hw:0,3
speaker-test 1.2.14
Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -16,Device or resource busy
x12tv@x12tv:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 4630 (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 05)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 05)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 05)
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
00:15.0 Serial bus controller: Intel Corporation Alder Lake-S PCH Serial IO I2C Controller #0 (rev 11)
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 7a83 (rev 11)
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (17) I219-LM (rev 11)
01:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD Controller BG5 (DRAM-less)

pavucontrol:

pavucontrol

Ubuntu System Settings:

Ubuntu System Settings

Ubuntu System Settings 2:

Ubuntu System Settings 2

alsamixer:

alsamixer

BIOS:

BIOS

RTX 4070 Super is not initializing on Ubuntu 24.04.3, "PCI I/O region assigned is invalid", nvidia-smi fails, black screen on GPU output https://askubuntu.com/questions/1563235/rtx-4070-super-is-not-initializing-on-ubuntu-24-04-3-pci-i-o-region-assigned-i

I'm trying to get an NVIDIA RTX 4070 Super working on Ubuntu 24.04.3 LTS, but linux cannot initialize the GPU even though it works normally in Windows.

System Information:

   Ubuntu 24.04.3 LTS
   Kernel: 6.14.0-37-generic
   NVIDIA GeForce RTX 4070 Super
   AMD Ryzen 7700x
   ASUS TUF Gaming B650-Plus WiFi
   Dual drive dual boot system

I've tried:

  • I can see the system sees the GPU at the PCI level

    $ lspci | grep -i nvidia  
    01:00.0 VGA compatible controller: NVIDIA Corporation AD104 \[GeForce RTX 4070 SUPER\]  
    
  • I did a complete NVIDIA driver and kernel module cleanup and re-installation with:

    sudo apt purge 'nvidia-\*' 'linux-modules-nvidia-\*' 'linux-objects-nvidia-\*' 'linux-signatures-nvidia-\*'  
    sudo apt autoremove --purge  
    sudo apt autoclean  
    
  • I installed dependencies with:

    sudo apt install build-essential dkms linux-headers-$(uname -r)  
    
  • Then installed the following recommended driver:

    sudo apt install nvidia-driver-590-open
    

    however nvidia-smi results in the following:

    NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.  
    Make sure that the latest NVIDIA driver is installed and running.  
    
  • I've checked the logs with:

    sudo dmesg | grep -i nvidia  
    

    which resulted in this:

    NVRM: This PCI I/O region assigned to your NVIDIA device is invalid   
    nvidia 0000:01:00.0: probe with driver nvidia failed with error -1    
    NVRM: None of the NVIDIA devices were initialized.    
    
  • I also switched from open drivers to proprietary drivers with no results.

I can see the GRUB menu with the 4070 super, but after that is a black screen. I've tried nomodeset=0 and other things. The only way I can get past the black screen is by rebooting with integrated graphics and going from there.

Flatpak apps not working on Ubuntu 24.04 https://askubuntu.com/questions/1563228/flatpak-apps-not-working-on-ubuntu-24-04

Flatpak apps do not seem to be working properly on my Ubuntu 24.04 system.

I installed flatpak from ubuntu's official repositories via sudo apt install flatpak, and followed all the setup steps described in flathub's guide for ubuntu (link: https://flathub.org/en/setup/Ubuntu). This installs flatpak version 1.14.6-1ubuntu0.1 .

I then proceeded to install flatpak apps from flathub's repository.

I am especially interested in the Pika Backup app, so I will focus on that. I tested a couple of other flatpak apps from flathub (such as Deja Dup and a game app called "muttum" just for the purpose of testing) and they display a similar behaviour, so it seems like a general problem with flatpak on ubuntu, at least on my system.

I installed the Pika Backup app via the command line with the command flatpak install flathub org.gnome.World.PikaBackup, as described in the flathub website (link: https://flathub.org/en/apps/org.gnome.World.PikaBackup).

However, the app does not launch either from Ubuntu's apps menu or from the command line (via the command flatpak run org.gnome.World.PikaBackup). The command displays the following error message:

error: mkdir(/home/uat/.var): Permission denied

When running the same command with the verbose option it gives the following output:

flatpak -v run org.gnome.World.PikaBackup
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/uat/.local/share/flatpak
F: Opening user flatpak installation at path /home/uat/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/org.gnome.World.PikaBackup/x86_64/stable since parental controls are disabled globally
F: Opening user flatpak installation at path /home/uat/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
error: mkdir(/home/uat/.var): Permission denied

Trying the command with sudo: sudo flatpak run org.gnome.World.PikaBackup as a work-around gives the following output:

error: "flatpak run" is not intended to be run as `sudo flatpak run`. 
Use `sudo -i` or `su -l` instead and invoke "flatpak run" 
from inside the new shell.

I tried to run the program with sudo -i, followed by the same command flatpak run org.gnome.World.PikaBackup (even though I think it should have worked without sudo permissions, but for the purpose of troubleshooting I follow along). This way the app's graphical interface is launched, however it seems to not be working properly yet. For instance, when I try to select a folder for a new backup repository it opens a dialog box with the following message and does not proceed:

The session bus is not available

Does anyone have experience with working with flatpak apps on Ubuntu? If so, did you setup it differently from what is described in flathub's guide (https://flathub.org/en/setup/Ubuntu)? And do you need sudo permissions to run flatpak apps?

Some apps are only available as flatpaks, so it would be an important addition to my Ubuntu system. Otherwise, I might have to look into other alternative Linux operating systems which support flatpaks.

Thanks in advance!

Ubuntu kernel 6.8.0-90-generic fails to boot https://askubuntu.com/questions/1563073/ubuntu-kernel-6-8-0-90-generic-fails-to-boot

I have a laptop with an Nvidia 3050 and Ubuntu 24.04 which failed to boot recently as I upgraded to the 6.8.0-90-generic kernel. It gets stuck on a black screen with these boot messages.

         Starting setvtrgb.service - Set console scheme...
[  OK  ] Finished setvtrgb.service - Set console scheme.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
         Starting colord.service - Manage, Install and Generate Color Profiles...
[  OK  ] Started chrony.service - chrony, an NTP client/server.
[  OK  ] Started libvirtd.service - libvirt legacy monolithic daemon.
[  OK  ] Reached target time-sync.target - System Time Synchronized.
[  OK  ] Started anacron.timer - Trigger anacron every hour.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.timer - Daily apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer - Periodic metadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused filesystem blocks once a week.
[  OK  ] Started fwupd-refresh.timer - Refresh fwupd metadata regularly.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started man-db.timer - Daily man-db regeneration.
[  OK  ] Started motd-news.timer - Message of the Day.
[  OK  ] Started phpsessionclean.timer - Clean PHP session files every 30 mins.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Started anacron.service - Run anacron jobs.
         Starting libvirt-guests.service - Suspend/resume running libvirt guests...
[  OK  ] Finished libvirt-guests.service - Suspend/resume running libvirt guests.
[  OK  ] Started colord.service - Manage, Install and Generate Color Profiles.
[  OK  ] Started cups.service - CUPS Scheduler.
[  OK  ] Created slice system-systemd\x2dbacklight.slice - Slice /system/systemd-backlight.
         Starting systemd-backlight@backlight:intel_backlight.service  - Load/Save Screen Backlight Brightness of backlight:intel_backlight...
[  OK  ] Finished systemd-backlight@backlight:intel_backlight.service - Load/Save Screen Backlight Brightness of backlight:intel_backlight.
         Starting alsa-restore.service - Save/Restore Sound Card State...
[  OK  ] Finished alsa-restore.service - Save/Restore Sound Card State.
[  OK  ] Reached target sound.target - Sound Card.
[  *** ] Job gpu-manager.service/start running (34s / no limit)
_

It hangs on:

[ ***  ] Job gpu-manager.service/start running (34s / no limit)

This continues on indefinitely if left. It seems that it's a problem with the graphics driver, so searching around revealed the general wisdom seems to be to run this command:

sudo ubuntu-drivers install

...which installs the 570 nvidia driver, however this did not fix the issue.

I also tried going into the grub boot options and booting into the kernel 6.8.0-88-generic, which works fine, but the Nvidia driver doesn't load:

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ lsmod | grep -i nvidia
$ glxinfo
...
client glx vendor string: Mesa Project and SGI
...
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Iris(R) Xe Graphics (ADL GT2) (0x46a6)
...
OpenGL vendor string: Intel
...

I'm a little stuck on how to debug this, because this happens before the login prompt. I can't debug the issue interactively.

Does anyone know either a) if this is a known issue with the 6.8.0-90 kernel, or advise on debugging such a situation?

My desired state of affairs is a working Nvidia driver and a working boot on the latest available kernel (6.8.0-90).

Failed to Start Gnome Display Manager https://askubuntu.com/questions/1556075/failed-to-start-gnome-display-manager

I am a Linux newbie who has somehow managed to get along for maybe half a year or so now. I'm not the most educated on all the system tools and services, so bear with me please. I booted up my PC yesterday and was greeted with [FAILED] Failed to start gdm.service - GNOME Display Manager this was printed twice.

I've researched and found someone with an eerily similar issue, I've even tried what they recommended to no avail. I will point out I may have done it incorrectly. Used Ubuntu USB on the system to try their solution.

"Failed to Start Gnome Display Manager" Ubuntu 22.04

I've researched, cleared out files, checked what was taking the most space, updated and nothing seems to have changed other than the screen upon login. I am not sure what I've done, but now I get a terminal screen upon power, asking for my login instead of the display manager.

Additional details:

  • The issue seems to be that my nvme0n1p2 seems to be filled up at 100% utilization.
  • Partition nvme0n1p1 has a red caution symbol and has 1GB of room that can't be altered.
  • When trying to --reinstall gdm3 or rebuild Ubuntu I always get an error 0 of 0 B available.
  • Couldn't mount/unmount in GParted via Ubuntu live environment (booting from USB on system).
  • The last time I was on my PC I got a notification that something was running low on memory, but I was busy decided to revisit the issue later. I guess I got what I wanted.

System info: (pulled from ProtonDB)

   OS: Ubuntu 25.04
   Kernel: 6.14.0-15-generic
   CPU: AMD Ryzen 7 7800X3D 8-Core
   GPU: AMD Radeon (radeonsi, gfx1201, ACO, DRM 3.61, 6.14.0-15-generic)
   GPU DRIVER: 4.6 Mesa 25.0.3-1ubuntu2RAM: 31 GB

Storage:

   2TB SSD (where my OS is)
   14TB HDD: Windows file system | not a Windows installation, fat32 maybe?
      (games, old course work and files)

Preferences:

I'd like to retain my data and hopefully be able to prevent this (memory?) issue in the future.

Error booting and drops to initramfs prompt, error systemd can't find libcrypto.so https://askubuntu.com/questions/1556071/error-booting-and-drops-to-initramfs-prompt-error-systemd-cant-find-libcrypto

I'm getting an error when I try to boot Ubuntu. The boot process drops to a busy box initramfs prompt. The error states that systemd cannot find libcrypto.so. I cannot type anything at the prompt. Nothing happens when I press any key. I have to power cycle using the power button. Did anyone else ever have that issue?

I had installed openssl 3.5.2 and used "make install". Yes, I know, the documentation warned against that, but I did not have much experience on Linux systems and ignored it. From what I've read, I have broken a library dependency when I installed the new openssl.

Thankfully I CAN boot to a previous version of the kernel in GRUB. The first time after I booted, I noticed openssl would not work. It complained about not finding a slew of openssl libraries. I updated LD_LIBRARY_PATH to point to the new libraries that were generated by the new build and openssl then at least worked. While I can boot, I'm worried that eventually the old kernel that works will FIFO out and I won't be able to boot at all. I have tried reinstalling openssl, but it did not work for me though. I tried to reinstall it, remove it and install it, but nothing worked.

I ran ldd to see where systemd is looking for libcrypto, and it points to the new library just generated by the openssl build, which I imagine is the source of the problem:

ldd /usr/bin/systemd | grep "libcrypto"
    libcrypto.so.3 => /usr/local/lib64/libcrypto.so.3 (0x000070165d800000)

I reran ldconfig to ensure the dependencies were up-to-date. The kernel version that is working is:

uname -r  
6.8.0-57-generic  

Is there anything else I can try before I resort to a complete reinstall of the system? Would rebuilding the kernel be a possible solution? Is there a way to keep the working version of the kernel on the system (and shown on the GRUB menu) and not have it FIFO out when a new kernel is released and installed? I'm developing a new Key Encapsulation Mechanism (KEM) for my work using openssl and ML-KEM, and this project and computer is very important to me!

Ubuntu 22.04 only boots into emergency mode https://askubuntu.com/questions/1555938/ubuntu-22-04-only-boots-into-emergency-mode

I was attempting to install an app (Gdebi) on my system when I got distracted. When I returned to my desktop I had an error message, then tried to remove the app before it was fully installed. My computer only boots into emergency mode and is very difficult to shut down. I can access the journal, but I don't understand the error messages I see there. I'm hoping I can resolve this without reformatting.

Netplan and early boot recognition of ethernet device https://askubuntu.com/questions/1555710/netplan-and-early-boot-recognition-of-ethernet-device

Server A has been cloned to Server B using Clonezilla. Both servers run Ubuntu 22.04. No GUI. Server B boots to login but pauses after "Reached Target Host and Network Name Lookup" after which it reports "A start job is running for wait for network to be configured". When this times out it completes boot. It has no internet connection at boot completion unlike Server A but otherwise behaves as expected. A difference between the servers is that Server A's ethernet device name is 'eno1' while Server B's is 'eno2'. My question is whether this is likely to be the issue regardless of the fact that I have changed Server B's netplan yaml file to:

network:
 version: 2
 renderer: networkd
 ethernets:
  eno2:
   dhcp4: true

... and run sudo netplan apply before rebooting.

I am wondering if at an earlier stage of the boot eno2 is recognized, but somehow this is overriden by some config file left from Server A so that eno2 is not enabled.

Server B's eno2 is not enabled after boot although it can be enabled by running sudo ip link set eno2 up The only other hardware difference I am aware of is that Server B has a GPU but Server A only has a CPU. No drivers have been loaded for GPU.

A partial solution: I noticed that on Server B there was a file /etc/machine-id but this was present on Server A. I ran:

sudo systemd-machine-id-setup

The boot process then proceeded as normal and an IP address was leased to Server B.

My question now is why the file 'machine-id' was deleted on Server B (presumably on first boot) or if it was never cloned? Before going further I want to be sure the clone was 100% successful as, in all other respects, it appears to have been.

PXE boot timeouts setting https://askubuntu.com/questions/1374560/pxe-boot-timeouts-setting

I trying to set up a PXE boot server. Everything is working but when the client is booting after the pxelinux.0 is loaded there is a boot: prompt.

boot:

  1. When I hit enter to the pxelinux.cfg/default enter the next menu where is another Automatic boot in 120s countdown.
  2. If I no not hit enter after 1-2 mins it goes to the same menu as above.

It will be cool if somebody will share with us how to setup these 2(two) timeouts? Thanks so much!

Automatic boot timeout

PROMPT 0
TIMEOUT 50
# Default boot option to use
DEFAULT menu.c32
Boot delay (of my own making) in 21.10 and post-boot delays in launching Chrome https://askubuntu.com/questions/1374440/boot-delay-of-my-own-making-in-21-10-and-post-boot-delays-in-launching-chrome

I am using Ubuntu 21.10 on a desktop as a very average user, using such applications as a browser and occasionally OpenOffice. It takes about 5+ minutes for the computer to boot because I have applications that I installed to learn virtualization, etc., which I no longer need on this particular desktop. Please advise me from the attached screen photo (or from any other command output that you need), what needs to be stopped, disabled and purged.

enter image description here

I had installed Google's Compute Engine in my desktop (with the idea that it was required for os-auth), but this was unnecessary. I have already disabled these applications.

Post boot, Chrome takes over a minute to launch. Zoom also takes about as much time to launch.

nmap is not showing hostnames https://askubuntu.com/questions/1363154/nmap-is-not-showing-hostnames

I am new to linux, and I am trying to get all the hostnames from the hosts of my local network.

I was trying the command:

sudo nmap -sn 192.168.0.0/24

and also:

sudo nmap -sn -R 192.168.0.0/24

but the only hostname I get is the one from my router.

I was thinking that maybe the router doesn’t have a DNS server and because of that it can’t provide this info to nmap.

The router was provided by the ISP.
I checked if the port 53 of the router was opened. It was!
I don't know if what I want is even possible given this router.

Maybe someone could help me out?

I can't boot Ubuntu anymore [duplicate] https://askubuntu.com/questions/1356894/i-cant-boot-ubuntu-anymore

I have been using Ubuntu as my sole operating system on my Dell computer for the last 3 years. The battery pack of my computer is not working anymore, and in the past month my computer has been taken off the electricity grid without shutting it down properly quite a number of times. I was staying with elderly family members who on multiple occasions just unplugged the device when they needed the plug.

Recently I started getting notices of 'system program problem detected'. I reported these quite some times but my system was still working fine. Then I started having a problem with programs freezing while working in them, and the only solution was to once again just shut the computer down improperly. A couple of days ago I wanted to delete my Skype version in order to download a newer version, but while removing Skype, my computer froze again and I had to shutdown. Since then, I get the boot messages shown below when trying to boot.

[    0,044628] ACPI Error: [_SB_,PCI.RPO 5.PXSX] Namespace lookup failure, AE_NOT_FOUND (20170831/dswload2-191)
[    0.044637] ACPI Exception: AE_NOT_FOUND, lookup/catalog (20170831/psob.ject-253)
[    0.044639] ACPI Error: Ignore error and continue tablead (20170831/psobject-642)
[    0.044641] ACPI Error: Skip parsing opcode Scope (20170831/psloop-559)
[    0.044988] ACPI Error: [_SB_.PCI.RP 09.PXSX] Namespace lookup failure, AE_NOT_FOUND (20170831/dswload2-191)
[    0.044992] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog (20170831/psobject-253)
[    0.044994] ACPI Error: Ignore error and continue table load (20170831/psobject-642)
[    0.044996] ACPI Error: Skip parsing opcode Scope (20170833/psloop-559)
[    1.298496] psmouse serio1: elantech: elantech_send_cmd query 0x02 failed.
[    1.298520] psmouse serio1: elantech: failed to query capabilities.
/dev/sda3 contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.

/dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY 
        (i.e., without -a or -p options)  
fsck exited with status code 4  
The root filesystem on /dev/sda3 requires a manual fsck  

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.3) built-in shell (ash)  
Enter "help' for a list of built-in commands.   
(initramfs) _
Can't boot Ubuntu - stuck in emergency mode https://askubuntu.com/questions/1320942/cant-boot-ubuntu-stuck-in-emergency-mode

I have a Dell workstation with a 250 GB SSD with Ubuntu on it and an additional 8TB HDD for storage. I recently installed another 4TB SSD (again for storage) and am unable to boot Ubuntu now. It will try, but then simply redirect me to emergency mode (or sometimes to the Grub menu). I've tried unsuccessfully booting to a couple of different previous Ubuntu versions listed in the Grub menu or to Recovery mode. The Ubuntu installation is located at /dev/nvmeOn1. The new SSD is at /dev/sdb1 and the HDD is at /dev/sda1.

Some posts recommended editing /etc/fstab based on the output of blkid, but I am unsure what to edit there.

enter image description here

What's the default proxy settings in Ubuntu 20.04? https://askubuntu.com/questions/1274543/whats-the-default-proxy-settings-in-ubuntu-20-04

Linux newbie here. I tried to set up system proxy by changing environment variables (such as "http_proxy"), but now I no longer need it. The problem is, I forgot what the default (not using any proxy) settings were, and I couldn't find any relevant resources online. Could someone please tell me what I should change it back into?

No microphone in Ubuntu 18.04 on HP elitebook https://askubuntu.com/questions/1207527/no-microphone-in-ubuntu-18-04-on-hp-elitebook

I installed Ubuntu 18.04 on my new HP elitebook 850 G6 after erasing windows. I could not get audio input part working though.. Fn F8 key is orange all the time and this is how settings looks like.

sound

I installed pavucontrol, but that didn't change anything. What I have noticed is that I cannot check "set as fallback" permanently.

pavucontrol

Also tried editing /etc/modprobe.d/alsa-base.conf by adding

options snd-hda-intel model=auto

Sound control still does not recognize any microphone

How do I remove a Policy (ExtensionInstallSources) from Google Chrome? https://askubuntu.com/questions/1206938/how-do-i-remove-a-policy-extensioninstallsources-from-google-chrome

I have Google Chrome 79.0 and Ubuntu 18.04. When I go to chrome://settings/ it shows

Your browser is managed by your organization

When I go to chrome://policy/ it shows

ExtensionInstallSources: https://lastpass.com/,https://.lastpass.com/,https://d1jxck0p3rkj0.cloudfront.net/lastpass/

I once tried lastpass, but I uninstalled it. I don't find any trace of it, except for this.

I would like to remove that. My private browser should not be managed by an organization. How do I do that?

dumpe2fs: Block bitmap checksum does not match bitmap while trying to read '/dev/sda4' bitmaps https://askubuntu.com/questions/1140986/dumpe2fs-block-bitmap-checksum-does-not-match-bitmap-while-trying-to-read-dev

Hey I had an issue with my pc just a few moments ago , but I was able to fix with after performing a repair on the dpkg packages as well as an Unmount -l and rebooting my pc . After that I was able to access the desktop , I ran dumpe2fs to see if there is a problem with my filesystem .

I got the following warning :

dumpe2fs: Block bitmap checksum does not match bitmap while trying to read   '/dev/sda4' bitmaps
*** Run e2fsck now!

I ran e2fsck after that but I got this message :

e2fsck 1.44.6 (5-Mar-2019)
/dev/sda4 is mounted.



 WARNING!!! The filesystem is mounted. If you continue you ***WILL***
 cause ***SEVERE*** filesystem damage.


Do you really want to continue<n>? no

What should I do please ?

Windows 10 shows Critical_Process_Died after working on partition on GParted Ubuntu 16.04 https://askubuntu.com/questions/905039/windows-10-shows-critical-process-died-after-working-on-partition-on-gparted-ubu

I was trying to free up disk space using GParted on Ubuntu 16.04. There are some disk containing unknown label of 128 MB on it and I wanted to make merge it to other drives to free up some space, however I was cautious of doing this and end up cancelling the action.

GParted:

Here is GParted screenshot

When I try to boot into Windows 10 it shows a CRITICAL_PROCESS_DIED error.

Critical_Process_Died error

Is there a way fixing it from Ubuntu 16.04?

The problem is actually the grub menu from Ubuntu. When I changed the UEFI to "enabled" and changed Windows boot order to the first item in the list it seemed OK. I can log in to my Windows. Anyhow the grub menu is disabled, and I have to manually spam F12 in order to get into boot options (which is not the GRUB menu.)

Dual NIC not working https://askubuntu.com/questions/894079/dual-nic-not-working

I am running Ubuntu Server 16.04 with two on-board NICs. Ubuntu sees both cards, but both eth0 and eth1 will only pass traffic out of one physical interface, although they are configured separately (I think). Information is below:

lshw -C network
*-network
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 04
       serial: 54:be:f7:65:9a:9b
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=172.22.1.112 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:26 memory:f7e00000-f7e1ffff memory:f7e39000-f7e39fff ioport:f080(size=32)
  *-network
       description: Ethernet interface
       product: 82574L Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth1
       version: 00
       serial: 54:be:f7:65:9a:9c
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=2.1-3 ip=172.22.1.113 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:18 memory:f7d00000-f7d1ffff ioport:e000(size=32) memory:f7d20000-f7d23fff

/etc/network/interfaces:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# The secondary network interface
auto eth1
iface eth1 inet dhcp

Thank you for any help!

ifconfig:

eth0      Link encap:Ethernet  HWaddr 54:be:f7:65:9a:9b
          inet addr:172.22.1.112  Bcast:172.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::56be:f7ff:fe65:9a9b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:61 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5880 (5.8 KB)  TX bytes:1436 (1.4 KB)
          Interrupt:20 Memory:f7e00000-f7e20000

eth1      Link encap:Ethernet  HWaddr 54:be:f7:65:9a:9c
          inet addr:172.22.1.113  Bcast:172.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::56be:f7ff:fe65:9a9c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1093 errors:0 dropped:0 overruns:0 frame:0
          TX packets:575 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:88205 (88.2 KB)  TX bytes:42753 (42.7 KB)
          Interrupt:18 Memory:f7d00000-f7d20000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:11840 (11.8 KB)  TX bytes:11840 (11.8 KB)

route -n:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.22.1.1      0.0.0.0         UG    0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0

route -n with eth0 unplugged. Cannot access either ip address.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.22.1.1      0.0.0.0         UG    0      0        0 eth0
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
Script with eth0 disconnected

eth0      Link encap:Ethernet  HWaddr 54:be:f7:65:9a:9b
          inet addr:172.22.1.112  Bcast:172.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::56be:f7ff:fe65:9a9b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:28527 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2202058 (2.2 MB)  TX bytes:1372 (1.3 KB)
          Interrupt:20 Memory:f7e00000-f7e20000

eth1      Link encap:Ethernet  HWaddr 54:be:f7:65:9a:9c
          inet addr:172.22.1.113  Bcast:172.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::56be:f7ff:fe65:9a9c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31516 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1730 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6125004 (6.1 MB)  TX bytes:155950 (155.9 KB)
          Interrupt:18 Memory:f7d00000-f7d20000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:11840 (11.8 KB)  TX bytes:11840 (11.8 KB)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.22.1.1      0.0.0.0         UG    0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=27.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=25.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=27.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=58 time=26.6 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=58 time=26.6 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 25.818/26.897/27.860/0.733 ms


Script with eth1 disconnected

eth0      Link encap:Ethernet  HWaddr 54:be:f7:65:9a:9b
          inet addr:172.22.1.112  Bcast:172.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::56be:f7ff:fe65:9a9b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28540 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2202968 (2.2 MB)  TX bytes:1372 (1.3 KB)
          Interrupt:20 Memory:f7e00000-f7e20000

eth1      Link encap:Ethernet  HWaddr 54:be:f7:65:9a:9c
          inet addr:172.22.1.113  Bcast:172.22.1.255  Mask:255.255.255.0
          inet6 addr: fe80::56be:f7ff:fe65:9a9c/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:31528 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6125988 (6.1 MB)  TX bytes:156460 (156.4 KB)
          Interrupt:18 Memory:f7d00000-f7d20000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:11840 (11.8 KB)  TX bytes:11840 (11.8 KB)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.22.1.1      0.0.0.0         UG    0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.22.1.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4031ms
How to fix "not installable" unmet dependencies while installing Mosquitto (Ubuntu Server 16.10)? https://askubuntu.com/questions/859543/how-to-fix-not-installable-unmet-dependencies-while-installing-mosquitto-ubun

I have a fresh install of Ubuntu Server 16.10 and was hoping to install Mosquitto. When running sudo apt-get install mosquitto, I always get the 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:
 mosquitto : Depends: sysv-rc (>= 2.88dsf-24) but it is not installable or
                      file-rc (>= 0.8.16) but it is not installable
             Depends: libwebsockets3 (>= 1.2) but it is not installable
N: Ignoring file 'index.html' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.

I have tried following the instructions on http://mosquitto.org/download by first installing the PPA, using -f to fix the dependency issues, using aptitude instead per this post, changing the download server to Main according to this post and this post, and I get the same results every time.

I've tried manually installing those dependencies, but predictably they all return an error like this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sysv-rc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  init-system-helpers

N: Ignoring file 'index.html' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Package 'sysv-rc' has no installation candidate

And in case there's any question, init-system-helpers is already installed with version 1.45. And I have remembered to use sudo apt-get update and have tried rebooting several times.

I'n not completely new to Ubuntu, but I spent 4+ hours on this last night and just can't figure it out. I haven't even found a single person online with the same issue. Any ideas how I might be able to fix it?

Thank you so much in advance!

Windows 10 Can't access samba share https://askubuntu.com/questions/846301/windows-10-cant-access-samba-share

I have Ubuntu 16.04.1. I have Samba 4. Windows writes access denied. I can reach the shared folder, but I can't access. My smb.conf file:

[megosztas]
path = /home/attila/Asztal/megosztas
available = yes
valid users = fel1
read only = no
browseable = yes
public = yes
writeable = yes
guest ok = yes
DHCP request is timing out suddenly https://askubuntu.com/questions/792495/dhcp-request-is-timing-out-suddenly

I'm on a work computer. There have been no problems with connectivity until now. I was working diligently, when suddenly my computer seized up. I thought it was a graphics issue and rebooted. When I couldn't log in (but my colleagues could) I realized that I couldn't authenticate to the LDAP server. From there I realized it was because my wired eth0 interface was not communicating with the network.

Results of ifconfig:

eth0      Link encap:Ethernet  HWaddr f8:b1:56:a8:14:6b  
          inet6 addr: fe80::fab1:56ff:fea8:146b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10557 errors:0 dropped:11 overruns:0 frame:0
          TX packets:881 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1231403 (1.2 MB)  TX bytes:205674 (205.6 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2543 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2543 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:419097 (419.0 KB)  TX bytes:419097 (419.0 KB)

I checked the cable, and I checked the port with a different cable, and the IT guy's laptop. No problems there. He gave me a USB -> Ethernet adapter which I am currently using, but being USB it is not fast enough for the kind of data processing I do.

I checked syslogs from about the time it started failing:

$ cat /var/log/syslog | grep eth0  
Jun 28 12:46:05 picasso kernel: [    0.526128] r8169 0000:03:00.0 eth0: RTL8168g/8111g at 0xffffc90000074000, f8:b1:56:a8:14:6b, XID 0c000800 IRQ 47
Jun 28 12:46:05 picasso kernel: [    0.526130] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
Jun 28 12:46:05 picasso kernel: [    5.261935] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 28 12:46:10 picasso NetworkManager[1865]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth0, iface: eth0)
Jun 28 12:46:10 picasso NetworkManager[1865]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth0, iface: eth0): no ifupdown configuration found.
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): carrier is OFF
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): now managed
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jun 28 12:46:10 picasso NetworkManager[1865]: <info> (eth0): bringing up device.
Jun 28 12:46:11 picasso NetworkManager[1865]: <info> (eth0): preparing device.
Jun 28 12:46:11 picasso NetworkManager[1865]: <info> (eth0): deactivating device (reason 'managed') [2]
Jun 28 12:46:11 picasso NetworkManager[1865]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth0
Jun 28 12:46:11 picasso kernel: [   21.290817] r8169 0000:03:00.0 eth0: link down
Jun 28 12:46:11 picasso kernel: [   21.290839] r8169 0000:03:00.0 eth0: link down
Jun 28 12:46:11 picasso kernel: [   21.290855] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 28 12:46:11 picasso kernel: [   21.291021] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): carrier now ON (device state 20)
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) starting connection 'Wired connection 1'
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jun 28 12:46:13 picasso kernel: [   23.791505] r8169 0000:03:00.0 eth0: link up
Jun 28 12:46:13 picasso kernel: [   23.791512] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Beginning IP6 addrconf.
Jun 28 12:46:13 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jun 28 12:46:14 picasso NetworkManager[1865]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Jun 28 12:46:14 picasso dhclient: Listening on LPF/eth0/f8:b1:56:a8:14:6b
Jun 28 12:46:14 picasso dhclient: Sending on   LPF/eth0/f8:b1:56:a8:14:6b
Jun 28 12:46:14 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 28 12:46:15 picasso avahi-daemon[1859]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::fab1:56ff:fea8:146b.
Jun 28 12:46:15 picasso avahi-daemon[1859]: New relevant interface eth0.IPv6 for mDNS.
Jun 28 12:46:15 picasso avahi-daemon[1859]: Registering new address record for fe80::fab1:56ff:fea8:146b on eth0.*.
Jun 28 12:46:17 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Jun 28 12:46:19 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:22 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:28 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> (eth0): IP6 addrconf timed out or failed.
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jun 28 12:46:34 picasso NetworkManager[1865]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Jun 28 12:46:34 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 28 12:46:37 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Jun 28 12:46:38 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:41 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:44 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:52 picasso dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Jun 28 12:46:54 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:57 picasso dhclient: DHCPREQUEST of 10.30.64.53 on eth0 to 255.255.255.255 port 67
Jun 28 12:46:59 picasso NetworkManager[1865]: <warn> (eth0): DHCPv4 request timed out.

It seems to think the Ethernet adapter died, but it's at least being recognized. What can I do to fix it?

Update:

via IT:

I can ping this computer from the Access and Distribution switches, but not outside its subnet.

He asked me to verify the default gateway, but the Default route (I'm assuming it's the same thing) is already set to 10.30.64.1 according to the GUI network manager.

Can't boot with linux 4.4.0-22 https://askubuntu.com/questions/771250/cant-boot-with-linux-4-4-0-22

I've just installed a fresh Ubuntu 16.04 and ran sudo apt-get upgrade, which apparently resulted in Linux 4.4.0-22 being installed.

On reboot, after I select Ubuntu from the menu (I have Windows installed as well on a different disk), I get a blinking cursor. The boot hangs here indefinitely.

I tried manually selecting linux 4.4.0-15 from the "advanced" menu in grub and it boots fine.

These are boot messages from where the boot hangs when I select the 4.4.0-22 kernel recovery mode:

[    1.304321] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    1.305956] zbud: loaded
[    1.306210] VFS: Disk quotas dquot_6.6.0
[    1.306276] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.306814] fuse init (API version 7.23)
[    1.306978] Key type big_key registered
[    1.307031] Allocating IMA MOK and blacklist keyrings.
[    1.307546] Key type asymmetric registered
[    1.307582] Asymmetric key parser 'x509' registered
[    1.307653] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.307744] io scheduler noop registered
[    1.307780] io scheduler deadline registered (default)
[    1.307845] io scheduler cfq registered
[    1.308469] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.308536] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.308670] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    1.308710] ACPI: Power Button [PWRB]
[    1.308780] input: Power Button as /devices/LNXSYSTM:00/LNX_PWRBN:00/input/input1
[    1.308818] ACPI: Power Button [PWRF]
[    1.309634] GHES: HEST is not enabled!
[    1.309761] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
_

Are any of these errors?

Note: The 4.4.0-15 kernel is failing now as well, and I've been able to sometimes get to a login prompt with 4.4.0-20. It seems to depend on the way the wind is blowing. Windows is working fine.

I have started removing physical devices from my PC to see if it's a hardware issue. I've been able to boot using the default 4.4.0-20 kernel after removing some memory and 2 hard disks. It's too early to tell if I just got lucky though.

Windows can't boot after partition shrink https://askubuntu.com/questions/683907/windows-cant-boot-after-partition-shrink

I was about to install Ubuntu (dual boot), so I needed to repartition my hard drive. It's UEFI/GPT Windows 10.

I used Easeus partition tool to:

  • Shrink the Windows partition
  • Create ext3 60GB
  • Create ext3 3GB swap

Now I can't boot, error: 0xc0000225

I think Easeus really messed up. I booted an Ubuntu live USBand these are my partitions:

GParted screenshot

Clearly the partitions were not created...

I had UEFI turned off I think. Also I am afraid I might (I'm not sure) have had an older version of Easeus installed which doesn't support GPT and was therefore trying some MBR stuff (Is it possible?)

I ran Boot-Repair bootinfo summary: http://paste.ubuntu.com/12739485/

How can I resolve this without losing my install? I already ran chkdsk from Windows media and auto repair didn't help.

Would resizing the partition back to full size fix anything? (unlikely) Could resizing have changed the GUID of the drive/partition?

Cannot install libhdf5-dev https://askubuntu.com/questions/630716/cannot-install-libhdf5-dev

Trying to install pbh5-tools on my Ubuntu 12.04 virtual machine. I have encountered countless problems trying to get the program to install. I get the error:

In file included from /tmp/easy_install-BEtAkS/h5py-2.5.0/h5py/defs.c:287:0:
/tmp/easy_install-BEtAkS/h5py-2.5.0/h5py/api_compat.h:27:18: fatal error: hdf5.h: No such file or directory

I have tried downloading libhdf5-dev to solve this, but when I use sudo apt-get libhdf5-dev, I get this response.

Package libhdf5-dev is a virtual package provided by:
  libhdf5-serial-dev 1.8.4-patch1-3ubuntu2
  libhdf5-openmpi-dev 1.8.4-patch1-3ubuntu2
  libhdf5-mpich-dev 1.8.4-patch1-3ubuntu2
  libhdf5-lam-dev 1.8.4-patch1-3ubuntu2

When I try installing the individual packages I get the same response:

E: Unable to locate package 1.8.4-patch1-3ubuntu2

I downloaded the patch, configured it, made it, and installed it, but I still cant get it to work. Don't know what to do really.

Ubuntu doesn't automatically starts in graphical mode after upgrade to 11.10 https://askubuntu.com/questions/66365/ubuntu-doesnt-automatically-starts-in-graphical-mode-after-upgrade-to-11-10

I upgraded from Ubuntu 11.04 to 11.10 today.

Instead of using Update Manager, I upgraded using the sudo do-release-upgrade command in the terminal, however a blackout caused the computer to power off and the upgrade was accidentally terminated halfway.

After I switched on the computer, Ubuntu 11.04 wouldn't start its GUI, so I used Ctrl+Alt+F1, logged in and ran sudo do-release upgrade again to resume the upgrade.

After the upgrade the computer restarted. After choosing Ubuntu 11.10 from grub, the screen went black with the following boot messages. There was no bootloader or anything.

 * Configuring the Pidgin PPA
OK

speech-dispatcher disabled; edit /etc/default/speech-dispatcher
 * Starting the Winbind daemon winbind
 * Starting bluetooth
 * PulseAudio configured for per-user sessions
saned disabled; edit /etc/default/saned
 * Checking battery state...

After this appeared, I used Ctrl+Alt+F1 again, logged in and used the startx command. Ubuntu went back to normal. When I restarted again, it went back to tty1. I had to use sudo reboot to restart again, however this time the same thing happened and Ubuntu 11.10 wouldn't boot to the GUI automatically.

How do I fix this?