My fresh 26.04 installation boots into grub rescue. What can I do? https://askubuntu.com/questions/1568219/my-fresh-26-04-installation-boots-into-grub-rescue-what-can-i-do

Whilst trying to find an upgrade path from 22.04 (using gnome session flashback/compiz/lightdm) I installed a fresh 26.04 from USB onto a machine with an i7-3770 and a disc of around 250Gb. Having removed the installation medium and allowed restart I find I am in the grub rescue shell. What can I do with this?

How to generate ASCII animations in terminal? [closed] https://askubuntu.com/questions/1568217/how-to-generate-ascii-animations-in-terminal

The command apt moo moo used to generate a static output.

But in Ubuntu 26.04 it generates an animated output with an asterix flashing near the cow's tail.

                 (__)
         _______~(..)~
           ,----\(oo)
          /|____|,'
         * /\  /\
wWwWwWwWwWwWwWwWwWwWwWwWwWwWw
..."Have you mooed today?"...

How does the flashing asterix work? How can I make something similar in my own command line programs in Ubuntu?

Ubuntu boots to a black screen unless I use safe graphics, also low resolution https://askubuntu.com/questions/1568216/ubuntu-boots-to-a-black-screen-unless-i-use-safe-graphics-also-low-resolution

First I was using Linux Mint. Now all of a sudden I get a black screen (with no cursor) on boot up. I found out if i go to recovery mode and select Resume I can use the PC, but my PC isn't as powerful / lower speeds and can't use godot.

I've spent some time trying to fix it with no luck. I've even resorted to, with hesitation, using AI to help me. "We" ended up coming to a conclusion that something is wrong with lightdm and that it's a "PAM/keyring integration issue". I have no idea what that means, but the AI kept having me run the same commands, and I was getting fed up, so I decided to do a fresh install of Ubuntu, however I got the same problem. I have to use safe graphics mode in the GRUB menu to boot it up. The main issue now is that it doesn't let me change the screen resolution.

Ubuntu 26.04 No sounds after reopening the lid https://askubuntu.com/questions/1568211/ubuntu-26-04-no-sounds-after-reopening-the-lid

As the topic describes, when I close the lid of my laptop, the os or the desktop environment fails to awake the speaker.

I found some solutions and tried some, but they don’t work, maybe because they are too old.

I also tried debugging it a bit. Here are the details:

  • ALSA, pluseaudio and pipewire seems work fine
  • I checked the connections/ rout paths using tools like helvum. I can confirm they are correctly connected
  • restarting the pipewire service doesn’t help.
  • Only the internal speakers don’t work after closing and reopening the lid. If I use usb to connect to an external sound card, the audio works fine there, but if I switch the audio output to the default internal speakers, there is no sound. So I think it might be the software layer fails to send electric signal to wake up the internal speakers.
  • Worked after I use hdajackretask to overwrite the settings. I think what it does is restarting the entire thing related to audio if you haven’t done any modifications to the setting. But this little tool doesn’t have a command line interface, so I wouldn’t be able to make a script to automate the process, and it bothers to make a cli for it.

So I’m wondering if anybody has ideas of how to debug or solve this problem? Is there a command that can do the same thing as hdajackretask does? Is there anybody have the same issue as I do?

Network settings are driving me nuts https://askubuntu.com/questions/1568210/network-settings-are-driving-me-nuts

My network settings keep reverting to settings that I don't want. This happens both with my old install (25.10 on an external HD) and with a new install (26.04 on the internal HD, installed yesterday). I have set up my network manually, but every time I boot, the radio button is on automatic (DHCP), and I have to go in and change it to manual. It's very annoying!

What's going on here? Why does this keep happening? How can this happen with a brand new install that hasn't even had any apps installed? I don't get it. All I did was install 26.04, then run the Software Updater. That's it.

My /dev/sda2 flaged as msftdata but have no windows10 after deul boot [closed] https://askubuntu.com/questions/1568202/my-dev-sda2-flaged-as-msftdata-but-have-no-windows10-after-deul-boot

I installed linux mint cinnamon as a duel boot. All seemed OK, until I got a message about only having 1Gb of storage left. As I have a 1Tb disc I loaded gparted to have look, (in the mean time I tried to load windows10, no windows!) On gparted /dev/sda1 was showing as microsoft reserved patition and sda2 as basic data partition, flagged msftdata and ext4, but as I said there is no windows on my computer just an error message if i try to boot windows. Any idea what I can do?

Black screen interrupting installation-phase of Ubuntu 26.04 https://askubuntu.com/questions/1568200/black-screen-interrupting-installation-phase-of-ubuntu-26-04

I have installed Ubuntu, and have added "nomodeset" due to my PC not reacting on the loading screen while installing Ubuntu. Now I'm stuck with this screen: enter image description here

What does that mean? And what is the solution to that problem?

San Disk sd card partitioning is unknown(pmbr) [closed] https://askubuntu.com/questions/1568199/san-disk-sd-card-partitioning-is-unknownpmbr

I'll try to summerize this the best I can, sorry in advance for any errors english isn't my first language.

I bought a San Disk sd card specifically to download games from steam into it but at some point whenever I tried to download a game or transfer a game's file from my 'home' storage to the sd card, I'd get an error pop-up and couldn't finish the download. So I tried randomly modifying the sd card's partition and file system after a quick only search.(I do realize now how stupid of an idea that was, especially since I didn't look online long enough...)

In the end I think I might've just turned the card useless since I can't modify anything or transfer/download anything into the sd card. When I try to mount the SD card I just get a "can't mount file" message.

These are the details of the SD card in the media and etc manager:

   Model: SK128
   Size: 128GB(127.999.672.320 bytes) 
   Partitioning: Unknown (PMBR)
   Contents: Unallocated Space
   Device: /dev/mmcblk0

I'd be really grateful if anyone could help. I don't care much about retrieving the lost data, I just want the SD card to work again.(I'm on Linux Mint 21.3 MATE64-bit if it matters..)

No signal from Displayport https://askubuntu.com/questions/1568193/no-signal-from-displayport

[UPDATE - Not quite a resolution yet] I managed to get back to a 2560x1440 signal on my monitor!

How? by doing a "power cycle" on my computer AND my monitor, I guess like LetterheadClassic306 mentioned, the DP Handshakes stayed on otherwise.

Two issues remaining though :

  • My screen blinks by intermittence
  • I can't go above 60Hz, or the signal is lost.

Any guess as to why or how to fix it from here?


Hello everyone,

I am currently encountering an issue with my computer monitor link in Display-port.

My setup:

  • Ubuntu 24.04.4 LTS (64-bit)
  • NVIDIA 1080Ti
  • First monitor plugged with HDMI (no issues, work just fine)
  • Second monitor plugged with Display-port (detected, but not video signal). I can even move the mouse into the second monitor area.
erzatz@erzatz-All-Series:~$ xrandr
Screen 0: minimum 8 x 8, current 5120 x 1600, maximum 32767 x 32767
HDMI-0 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 345mm x 215mm
   2560x1600     59.94*+
   2560x1080     59.94  
   1920x1080     59.94  
   1680x1050     59.95  
   1440x900      59.89  
   1360x765      60.00  
   1280x1024     60.02  
   1280x720      60.00    59.94  
   1152x648      60.00  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94  
DP-0 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     60.00*+ 144.00   120.00   100.00  
   1920x1080    119.88    60.00    59.94    50.00  
   1280x1024     75.02    60.02  
   1280x720      59.94    50.00  
   1024x768     119.99    99.97    75.03    70.07    60.00  
   800x600      119.97    99.66    75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480      119.52    99.77    75.00    72.81    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
erzatz@erzatz-All-Series:~$ ddcutil detect
Display 1
   I2C bus:  /dev/i2c-3
   DRM connector:           card1-HDMI-A-1
   EDID synopsis:
      Mfg id:               UGD - UNK
      Model:                MD160QH
      Product code:         5654  (0x1616)
      Serial number:        
      Binary serial number: 539166984 (0x20230908)
      Manufacture year:     2022,  Week: 37
   VCP version:         2.2

Display 2
   I2C bus:  /dev/i2c-4
   DRM connector:           card1-DP-1
   EDID synopsis:
      Mfg id:               AOC - UNK
      Model:                Q27B36X
      Product code:         9987  (0x2703)
      Serial number:        XI7RCHA015899
      Binary serial number: 15899 (0x00003e1b)
      Manufacture year:     2025,  Week: 51
   VCP version:         2.2

Results of ubuntu-drivers devices:

erzatz@erzatz-All-Series:~$ ubuntu-drivers devices
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
== /sys/devices/pci0000:00/0000:00:03.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001B06sv00001043sd000085E2bc03sc00i00
vendor : NVIDIA Corporation
model : GP102 [GeForce GTX 1080 Ti]
driver : nvidia-driver-580-server - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-390 - third-party non-free
driver : nvidia-driver-565 - third-party non-free
driver : nvidia-driver-580 - distro non-free
driver : nvidia-driver-535 - distro non-free recommended
driver : nvidia-driver-535-server - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin

It was working fine before I tried to connect it through a KVM dock.
This one: https://www.avaccess.com/products/idock-b23/ Then I remove it from my setup.

But since then, my monitor is no longer showing any signal, but is well detected:
My screen showing the displays connected, we can see that both screen are connected

I've tried:

  • Changed my cable.
  • Changed the monitor.
  • Unplugged and re-plug the monitor's power.
  • Update my NVIDIA's drivers
  • Visual check of the GPUs Display-port integrity (no apparent issues)

Does anyone have any idea how to fix this problem?

"The user name could not be found" error when connecting with Samba https://askubuntu.com/questions/1568180/the-user-name-could-not-be-found-error-when-connecting-with-samba

I have a Ubuntu server running in my home. Mostly for streaming movies and such but we just got a laptop for the kids and I was trying to set up samba so I can share files from my windows desktop to the laptop, but I'm running into a snag. When I attempt to connect to the share it asks me for my username and password but then I get a message that windows cannot access this network resource:

when I read log.aragorn (name of my desktop) I get

[2026/07/05 17:50:08.185990,  0] ../../source3/param/loadparm.c:3448(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/winshare failed. Permission denied

I have created a samba user and added it to the sambashare group.

permissions of my shared file are this:

drwxrwxr-x 2 neal neal 4096 Jul  5 17:34 winshare

my conf file is below (I removed all comments to make it easier to read.

#======================= Global Settings =======================

[global]

           hosts allow = 192.168.0.0/16
           hosts deny = 0.0.0.0/0
           server min protocol = SMB2

   workgroup = WORKGROUP

   server string = %h server (Samba, Ubuntu)

#### Networking ####


;   interfaces = 127.0.0.0/8 eth0

;   bind interfaces only = yes



#### Debugging/Accounting ####

   log file = /var/log/samba/log.%m

   max log size = 1000

   logging = file

   panic action = /usr/share/samba/panic-action %d


####### Authentication #######

   server role = standalone server

   obey pam restrictions = yes

   unix password sync = yes

   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

   pam password change = yes

   map to guest = bad user

########## Domains ###########

;   logon path = \\%N\profiles\%U
;   logon drive = H:
;   logon script = logon.cmd

; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

;   include = /home/samba/etc/smb.conf.%m

;   idmap config * :              backend = tdb
;   idmap config * :              range   = 3000-7999
;   idmap config YOURDOMAINHERE : backend = tdb
;   idmap config YOURDOMAINHERE : range   = 100000-999999
;   template shell = /bin/bash

   usershare allow guests = yes

#======================= Share Definitions =======================

;[homes]
;   comment = Home Directories
;   browseable = no

;   read only = yes

;   create mask = 0700

;   directory mask = 0700

;   valid users = %S

;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   read only = yes

;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
;   write list = root, @lpadmin
[winshare]
path = /srv/samba/winshare
guest ok = yes
browsable = yes
read only = no
writeable = yes
force user = username
Within the standard desktop on 24.04, how can I move the icons on the left hand side? https://askubuntu.com/questions/1568142/within-the-standard-desktop-on-24-04-how-can-i-move-the-icons-on-the-left-hand

I am using Ubuntu 24.04.

Currently, with the standard unity-like desktop (because my preferred choice of gnome flashback/compiz/lightdm doesn't currently work properly). If I have multiple instances of the same application, e.g. spreadsheets, I wish to keep them in a specific order in the icon strip on the left hand side. I can do this by creating them in the order I want, but sometimes they seem to get moved on their own.

I want to move them back to my preferred order without having to close and reopen them all. All the answers I've found online suggest that you can drag and drop them, but this doesn't seem to work. Once dragged, wherever I try to drop them, they gain a small "no entry" sign (circle with a diagonal line through it) and simply fall back to where they started.

firefox disable auto update https://askubuntu.com/questions/1568120/firefox-disable-auto-update

I'm running Ubuntu 22.04.5 LTS and recently installed FireFox 152 through the apt install channel.

When I open Settings/About Firefox, I see the Firefox updates is set to "Updates are managed by your operating system." There doesn't seem to any longer be a setting to check for updates manually or to notify me that an update is available so that I can chose when to do the update.

I opened about:config and changed app.update.auto from True to False, but that had no effect.

I would like to be able to disable the automatic updates so that I have control over when the updates happen. What are the steps to do this?

Additional info: Prior to today I was using Snap to update Firefox. Something went haywire with the auto update that broke Firefox, so I no longer care to use Snap.

More info: I added a config file to /etc/apt/preferences.d so that firefox should no longer be using snap.

$ apt policy firefox
firefox:
  Installed: 152.0.4+build1-0ubuntu0.22.04.1~mt1
  Candidate: 152.0.4+build1-0ubuntu0.22.04.1~mt1
  Version table:
     1:1snap1-0ubuntu2 -1
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
 *** 152.0.4+build1-0ubuntu0.22.04.1~mt1 1001
       1001 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

The only information I'm looking for is: "How can I configure firefox so that it will notify me when updates are available so that I can choose when to apply the updates." It's just that simple. If there are config setting changes to allow that behavior, that will be the perfect solution.

Microsoft UEFI CA rotation: is it safe to update from 2011 to 2023? https://askubuntu.com/questions/1568114/microsoft-uefi-ca-rotation-is-it-safe-to-update-from-2011-to-2023

Recently my system (24.04) suggests the update Microsoft’s 2011 UEFI and KEK CAs are set to expire in June 2026 and are being replaced by 2023 CAs. This is also discussed at this link.

Is it safe to update or should I ignore it?

How to convert an animated svg to gif in Ubuntu? https://askubuntu.com/questions/1567310/how-to-convert-an-animated-svg-to-gif-in-ubuntu

I have an animated SVG file.

I want to convert it into a gif.

How can I do it using Ubuntu?

I tried convert favicon.svg favicon.gif, but it says

WARNING: unknown type: svg:animateMotion 
WARNING: unknown type: svg:animateMotion 
WARNING: unknown type: svg:animateMotion

I also tried exporting with inkscape, but it also says unknown type: svg:animateMotion.

Here is my svg file (you can open it with firefox to see that it is animated):

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   viewBox="0 0 200 200"
   width="200"
   height="200"
   version="1.1"
   id="svg6"
   sodipodi:docname="favicon.svg"
   inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:svg="http://www.w3.org/2000/svg">
  <defs
     id="defs6" />
  <sodipodi:namedview
     id="namedview6"
     pagecolor="#ffffff"
     bordercolor="#000000"
     borderopacity="0.25"
     inkscape:showpageshadow="2"
     inkscape:pageopacity="0.0"
     inkscape:pagecheckerboard="0"
     inkscape:deskcolor="#d1d1d1"
     inkscape:zoom="2.76"
     inkscape:cx="99.818841"
     inkscape:cy="100"
     inkscape:window-width="1277"
     inkscape:window-height="758"
     inkscape:window-x="50"
     inkscape:window-y="100"
     inkscape:window-maximized="1"
     inkscape:current-layer="svg6" />
  <!-- Nucleus -->
  <circle
     cx="100"
     cy="100"
     r="13.7"
     fill="#800000"
     id="circle1" />
  <!-- Orbit paths -->
  <ellipse
     cx="100"
     cy="100"
     rx="93"
     ry="28"
     fill="none"
     stroke="gray"
     stroke-width="1"
     id="orbit1"
     style="stroke-width:6;stroke-dasharray:none" />
  <ellipse
     cx="100"
     cy="100"
     rx="100"
     ry="40"
     fill="none"
     stroke="gray"
     stroke-width="1"
     transform="rotate(60,100,100)"
     id="orbit2"
     style="stroke-width:6;stroke-dasharray:none" />
  <ellipse
     cx="100"
     cy="100"
     rx="101"
     ry="36"
     fill="none"
     stroke="gray"
     stroke-width="1"
     transform="rotate(-30,100,100)"
     id="orbit3"
     style="stroke-width:5.90000038;stroke-dasharray:none" />
  <!-- Electrons -->
  <circle
     cx="0"
     cy="0"
     r="11"
     fill="#0000ff"
     id="circle2">
    <animateMotion
       dur="5s"
       repeatCount="indefinite">
      <mpath
         xlink:href="#orbit1" />
    </animateMotion>
  </circle>
  <circle
     cx="0"
     cy="0"
     r="11"
     fill="#0000ff"
     id="circle3">
    <animateMotion
       dur="5s"
       repeatCount="indefinite">
      <mpath
         xlink:href="#orbit2" />
    </animateMotion>
  </circle>
  <circle
     cx="0"
     cy="0"
     r="11"
     fill="#0000ff"
     id="circle4">
    <animateMotion
       dur="5s"
       repeatCount="indefinite">
      <mpath
         xlink:href="#orbit3" />
    </animateMotion>
  </circle>
  <!-- Paths for animation -->
  <path
     id="path4"
     d="M 100 100 m -93 0 a 93 28 0 1 1 186 0 a 93 28 0 1 1 -186 0"
     fill="none" />
  <path
     id="path5"
     d="M 100 100 m -100 0 a 100 40 0 1 1 200 0 a 100 40 0 1 1 -200 0"
     fill="none"
     transform="rotate(60,100,100)" />
  <path
     id="path6"
     d="M 100 100 m -101 0 a 101 36 0 1 1 202 0 a 101 36 0 1 1 -202 0"
     fill="none"
     transform="rotate(-30,100,100)" />
</svg>
Ubuntu 26.04 installer freezes at Get:5 /cdrom resolute/main amd64 Packages on older Dell https://askubuntu.com/questions/1567178/ubuntu-26-04-installer-freezes-at-get5-cdrom-resolute-main-amd64-packages-on-o

I am trying to install Ubuntu onto an older Dell laptop using a freshly flashed and validated SanDisk USB 3.0 drive (flashed via balenaEtcher).

The boot sequence starts up fine, but it completely freezes every single time right after reading the very last APT cache repository line: Get:5 file:/cdrom resolute/main amd64 Packages [31.7 kB]

I tried:

  • Replaced the USB drive entirely (originally used a generic UDisk which threw I/O buffer errors, switched to a brand new SanDisk 16GB).

  • Removed quiet splash from the GRUB menu to view the verbose terminal logs.

  • Tried booting with nomodeset (Safe Graphics mode).

  • Tried appending various combinations of boot flags like acpi=off, noapic, and irqpoll.

The logs:

Right before it hits the Get:5 line and hangs, the logs show a couple of errors regarding the communication bus and filesystem:

fuse: device /dev/fuse not found. Kernel module not loaded?
dbus-daemon: A connection to the bus can't be made
Failed to create stream fd: No such file or directory

This is the terminal output right at the freezing point. Since it is stalling the exact millisecond it finishes loading the configuration files and tries to hand over control to the display manager/graphics, I suspect it's a legacy hardware or kernel conflict with this specific Dell motherboard architecture.

Begin: Creating debconf-communicate fifo mechanism ... [    6.216597] evm: overlay not supported
done.
Begin: Running /scripts/casper-bottom ... Begin: Moving mount points... ... done.
Begin: Configuring fstab... ... done.
Begin: Setting up swap... ... done.
Begin: Setting up locales... ... done.
Begin: Setting up automatic login... ... done.
Begin: Setting hostname... ... done.
Begin: Setting up console keyboard... ... done.
Begin: Applying desktop settings... ... done.
Begin: Regenerating SSL certificate... ... hostname: Name or service not known
make-ssl-cert: Could not get FQDN, using '(none)'.
make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run
make-ssl-cert: 'make-ssl-cert generate-default-snakeoil --force-overwrite'
make-ssl-cert: again.
done.
Begin: Loading preseed file... ... done.
Begin: Adding live session user... ... passwd: password changed.
Failed to create stream fd: No such file or directory
Failed to create stream fd: No such file or directory
Failed to create stream fd: No such file or directory
dbus-daemon[723]: [session uid=1000 pid=18446744073709551615 pidfd=5] Activating service name='org.gtk.vfs.Daemon' re
dbus-daemon[723]: [session uid=1000 pid=18446744073709551615 pidfd=5] Successfully activated service 'org.gtk.vfs.Daemon'
dbus-daemon[723]: [session uid=1000 pid=18446744073709551615 pidfd=5] Activating service name='org.gtk.vfs.Metadata' re
fuse: device /dev/fuse not found. Kernel module not loaded?
dbus-daemon[723]: [session uid=1000 pid=18446744073709551615 pidfd=5] Successfully activated service 'org.gtk.vfs.Meta
A connection to the bus can't be made
done.
Begin: Setting up init... ... done.
Begin: Configuring accessibility options... ... done.
Begin: Disabling update-notifier... ... done.
Begin: Enabling detection of crashes... ... done.
Begin: Disabling unnecessary KDE services... ... done.
Begin: Disabling the lock screen for LXQt (LP: #2000787)... ... done.
Begin: Generating APT cache for cdrom... ... Ign:1 file:/cdrom resolute InRelease
Get:2 file:/cdrom resolute Release [664 B]
Get:2 file:/cdrom resolute Release [664 B]
Get:3 file:/cdrom resolute Release.gpg [228 B]
Get:3 file:/cdrom resolute Release.gpg [228 B]
Get:4 file:/cdrom resolute/restricted amd64 Packages [14.5 kB]
Get:5 file:/cdrom resolute/main amd64 Packages [31.7 kB]

Do you have any advice on what specific kernel boot parameters or BIOS tweaks I need to use to force it past this graphical handshake?

PXE autoinstall Ubuntu Desktop 24.04 fails at snapd.seeded.service https://askubuntu.com/questions/1566001/pxe-autoinstall-ubuntu-desktop-24-04-fails-at-snapd-seeded-service

Title

PXE autoinstall Ubuntu Desktop 24.04 fails at snapd.seeded.service


Body

I am setting up PXE-based autoinstall for Ubuntu Desktop 24.04.4. The install consistently fails during boot with:

[FAILED] Failed to start snapd.seeded.service - Wait until snapd is fully seeded.

Environment

  • PXE boot using dnsmasq (DHCP + TFTP)
  • Root filesystem via NFS (casper)
  • Autoinstall config served over HTTP (NoCloud datasource)

What works

  • Manual PXE boot + install (Desktop 24.04.4) works
  • Ubuntu Server autoinstall:
    • 22.04 (preseed) → OK
    • 24.04 (cloud-init) → OK

What fails

  • Ubuntu Desktop 24.04.4 autoinstall → fails at snapd.seeded.service

Relevant logs

Apache access log (cloud-init requests succeed)

10.10.67.64 - - [24/Apr/2026:14:10:00 +0100] "GET /auto-install/desktop/user-data HTTP/1.1" 200 1621 "-" "Cloud-Init/25.2"
10.10.67.64 - - [24/Apr/2026:14:10:22 +0100] "GET /auto-install/desktop/meta-data HTTP/1.1" 200 325 "-" "Cloud-Init/25.2"
10.10.67.64 - - [24/Apr/2026:14:10:22 +0100] "GET /auto-install/desktop/vendor-data HTTP/1.1" 200 256 "-" "Cloud-Init/25.2"

This confirms the client is successfully retrieving autoinstall data.


dnsmasq (DHCP + PXE)

DHCPDISCOVER(enp4s0) 08:00:27:7c:a4:0d
DHCPOFFER(enp4s0) 10.10.67.89
bootfile name: bios/pxelinux.0
next server: 10.10.67.52

DHCP and PXE handoff appear normal.


Client boot (failure point)

Starting cloud-init.service - Cloud-init: Network Stage...
[ OK ] Reached target network.target
[FAILED] Failed to start snapd.seeded.service

PXE kernel parameters

APPEND ip=dhcp netboot=nfs \
nfsroot=10.10.67.52:/var/www/html/ubuntu/desktop.24.04.4 \
ro boot=casper autoinstall \
ds=nocloud-net;s=http://10.10.67.52/auto-install/desktop/ ---

user-data (cloud-init)

#cloud-config
autoinstall:
  version: 1
  source:
    id: ubuntu-desktop-minimal
  identity:
    hostname: ubuntu-desktop
    username: ubuntu
    password: "<hashed>"
  storage:
    layout:
      name: direct
  updates: security
  shutdown: reboot

Question

Has anyone seen snapd.seeded.service fail specifically with Ubuntu Desktop 24.04 autoinstall over PXE?

I’m trying to determine whether this is related to:

  • NFS-based root (casper)
  • Desktop-specific snap seeding requirements
  • Networking or timing issues during early boot

Any pointers or known issues would be appreciated.

How to make persistent LiveUSB Ubuntu stick https://askubuntu.com/questions/1541696/how-to-make-persistent-liveusb-ubuntu-stick

I remember that some years ago there wan an app that enabled you to make persistent USB drive. There was a slider and you were able to set the amount of persistent space on the USB drive.

Now it seems it is not working anymore. I tried mkusb, but it is not working. I am trying to install Ubuntu 20.04.1 persistent image on live USB.

Open-vm-tools doesn't work any more after reboot https://askubuntu.com/questions/1442573/open-vm-tools-doesnt-work-any-more-after-reboot

I'v installed open-vm-tools successfully on Ubuntu 20.04 guest in VMWare Workstation 15 on Windows 10 host.

Both full screen and shared folder work fine after the intallation.

But after reboot the VM, both full screen and shared folder don't work anymore.

These are what I'v tried:

sudo apt-get remove open-vm-tools
sudo apt-get install open-vm-tools

in the process of reinstallation, there is some message like:

failed to restart open-vm-tools.service unit vgauth.service is masked

but after some search I tried:

systemctl list-unit-files|grep 'open-vm-tools'
systemctl list-unit-files|grep 'vgauth'

both are "enabled"

then

systemctl stop open-vm-tools
systemctl start open-vm-tools

no messages.

What next?

Migrate Ubuntu server from NetPlan to NetworkManager without disconnection (possibly over SSH) https://askubuntu.com/questions/1442352/migrate-ubuntu-server-from-netplan-to-networkmanager-without-disconnection-poss

I see that Ubuntu server after the installation comes as default with NetPlan with a DHCP configuration (at least in Ubuntu 22.04 focal fossa).

Some users don't want NetPlan and just want NetworkManager, for example to use nmcli, nmtui, or import VPN configurations etc. and so after the installation I think it's frequent to migrate to NetworkManager.

At the moment this is my procedure to migrate from NetPlan to NetworkManager after a clean installation.

Create this file:

/etc/netplan/01-er-netplan-fix.yaml

With this content:

# This file describes the network interfaces available on your system
# For more information, see netplan(5).
# Set and change netplan renderer to NetworkManager GUI tool
network:
  version: 2
  renderer: NetworkManager

Then run these commands:

# install Network Manager
sudo apt install network-manager

# disable NetPlan
mv /etc/netplan/00-installer-config.yaml /etc/netplan/00-installer-config.yaml.bak

# reload NetPlan
netplan apply

# I'm not proud of this but I reboot to apply everything now
reboot

Problem: when I reboot, the server obviously disconnects, but also it never renews its IP via DHCP.

As workaround, I open a physical terminal on the server, I run dhclient, and then I continue with nmtui adding a simple Ethernet configuration with DHCP, and everything is good again.

So my question is: how to migrate from NetPlan to NetworkManager? Possibly automatically renewing its IP? Possibly without any disconnection at all? so your SSH connection is not interrupted.

Feel free to suggest as answer to prefill at least a valid NetworkManager configuration for a valid DHCP after the reboot but I still don't understand if I can also avoid the reboot at all and keep a working SSH connection to do the whole migration process.

Thank you for your thoughts! Maybe this question is stupid but I don't know NetPlan, since I usually use Debian and I don't have these problems.

should I delete var or usr directories https://askubuntu.com/questions/1433975/should-i-delete-var-or-usr-directories

Disk Capacity 256.1 GB

Ubuntu 22.04.1 LTS OS Type 64-bit GNOME Version 42.4 Windows System Wayland

I am running out of disk space. My computer keeps telling me so.

Can I delete usr or var? there folders are 6 and 11 GB, respectively. That's a lot of disk space.

Here are the results of sudo du -hxd1 /var

108K    /var/tmp
4.0K    /var/local
4.8G    /var/lib
4.0K    /var/crash
132K    /var/spool
4.0K    /var/mail
4.0K    /var/metrics
1.6G    /var/log
4.0K    /var/opt
16K /var/ipp-usb
11M /var/snap
5.6M    /var/backups
58M /var/cache
6.4G    /var

Here are the results of df -h

Filesystem      Size  Used Avail Use% Mounted on
tmpfs           771M  2.7M  768M   1% /run
/dev/nvme0n1p3   19G   19G     0 100% /
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/nvme0n1p5  203G   67G  126G  35% /home
/dev/nvme0n1p1  483M   32M  451M   7% /boot/efi
tmpfs           771M  2.4M  769M   1% /run/user/1001
/dev/nvme0n1p2  4.4G  3.1G  1.4G  69% /media/michael/PQSERVICE

Here are the results of journalctl --disk-usage

Archived and active journals take up 1.5G in the file system.
Ethernet Internet Speed Stuck at 100 Mbps for Gigabit Connection [Ubuntu 20.04 & 21.10] https://askubuntu.com/questions/1398448/ethernet-internet-speed-stuck-at-100-mbps-for-gigabit-connection-ubuntu-20-04

My internet speed on Ethernet port is hard stuck at ~100 Mbps on wifi I get more than 500 Mbps my internet runs at Gigabit and I have full bandwidth on Pop OS live, windows on the same machine and wire.

The problem is not with the wire and router but with Ubuntu 20.04 and 21.10 for certain.

I am using CAT 7 Cable

I've tried everything and even tried upgrading to 20.10 with no luck what could be the issue here

Here's my lshw -c network output

description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eno1
       version: 15
       serial: 38:f3:ab:60:5d:a7
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=off broadcast=yes driver=r8168 driverversion=8.048.03-NAPI duplex=full ip=192.168.1.9 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:59 ioport:1000(size=256) memory:d1804000-d1804fff memory:d1800000-d1803fff

Here's ethtools output

Settings for eno1:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  Not reported
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: No
    Advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Auto-negotiation: off
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    MDI-X: Unknown
    Supports Wake-on: pumbg
    Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
    Link detected: yes

Other Info Ubuntu 21.10 x86_64 , 5.13.0-35-generic, Lenovo Legion 5 15ARH05

"usbipd not found for kernel" when using USB/IP with WSL https://askubuntu.com/questions/1384456/usbipd-not-found-for-kernel-when-using-usb-ip-with-wsl

I am trying to attach a USB device to my Ubuntu 20.04 distribution running under WSL2.

The problem is that when I run the usbip command, it gives the following message:

WARNING: usbipd not found for kernel 5.10.16.3-microsoft

  You may need to install the following packages for this specific kernel:
    linux-tools-5.10.16.3-microsoft-standard-WSL2
    linux-cloud-tools-5.10.16.3-microsoft-standard-WSL2

  You may also want to install one of the following packages to keep up to date:
    linux-tools-standard-WSL2
    linux-cloud-tools-standard-WSL2

I tried doing:

$ sudo apt install linux-tools-5.10.16.3-microsoft-standard-WSL2

... but that doesn't work. It returns the following:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-5.10.16.3-microsoft-standard-WSL2
E: Couldn't find any package by glob 'linux-tools-5.10.16.3-microsoft-standard-WSL2'

I have been Googling how to install them, but I can't find anything about this.

NOTES:

  • Ubuntu installation has been installed around 2 months ago.
  • I am using WSL2
  • uspip is called by usbipd wsl attach -b 2-2 from PowerShell because I am trying to attach a USB device to Ubuntu
  • Kernel version 5.10.16.3-microsoft-standard-WSL2
Is there any image viewer that supports animated SVG? https://askubuntu.com/questions/1383475/is-there-any-image-viewer-that-supports-animated-svg

I know we can view animated SVG files using web browsers. I wonder if there is a software that works exclusively as an image viewer with SVG animations support.

How to list packages manually installed by snap? https://askubuntu.com/questions/1261242/how-to-list-packages-manually-installed-by-snap

I'd like to get a list of packages installed manually by snap and be able to find out whether a foobar package was installed manually by system installer.

For example:

$ snap list
Name                 Version                     Rev   Tracking         Publisher     Notes
canonical-livepatch  9.5.5                       95    latest/stable    canonical✓    -
core                 16-2.45.2                   9665  latest/stable    canonical✓    core
core18               20200707                    1880  latest/stable    canonical✓    base
discord              0.0.10                      109   latest/stable    snapcrafters  -
gnome-3-28-1804      3.28.0-17-gde3d74c.de3d74c  128   latest/stable    canonical✓    -
gnome-3-34-1804      0+git.3009fc7               36    latest/stable/…  canonical✓    -
gtk-common-themes    0.1-36-gc75f853             1506  latest/stable/…  canonical✓    -
ripgrep              12.1.0                      9     latest/stable    icey          classic
simplenote           1.20.0                      368   latest/stable    snapcrafters  -
slack                4.7.0                       25    latest/stable    slack✓        classic
snap-store           3.36.0-80-g208fd61          467   latest/stable/…  canonical✓    -
snapd                2.45.2                      8542  latest/stable    canonical✓    snapd
zoom-client          5.1.422789.0705             92    latest/stable    ogra          -

Here, core, core18 were not manually installed by me (at least not explicitly), so my try was:

$ snap list | grep -v Publisher | grep -v canonical | awk '{print $1}' | tr '\n' ' '
discord ripgrep simplenote slack zoom-client

However, I'm not sure if this is the right way to exclude automatically installed packages. Is there any neat way of doing that from the command line?

Why do I see a message SQUASHFS ERROR:UNABLE TO READ DATA AND PAGE WHILE INSTALLING UBUNTU https://askubuntu.com/questions/1236021/why-do-i-see-a-message-squashfs-errorunable-to-read-data-and-page-while-install

Since 2days onwards iam unable to install ubuntu on my windows 10 i am trying to install 20.04 version of ubuntu its appearing like this SQUASHFS ERROR:UNABLE TO READ DATA AND PAGE

Unable to connect to SQL server after update https://askubuntu.com/questions/1164334/unable-to-connect-to-sql-server-after-update

I updated my server today with all pending update and after reboot I was unable to connect to SQL server. Prior to reboot I've also enabled the firewall but now it's disabled again and server is after another reboot. When I try to connect locally using

sqlcmd -S localhost

I get error:

Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : TCP Provider: Error code 0x2749.
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..

Server itself is up and running:

hyperqbe@slaro:/etc$ sudo systemctl status mssql-server
[sudo] hasło użytkownika hyperqbe:
● mssql-server.service - Microsoft SQL Server Database Engine
   Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2019-08-08 15:06:28 CEST; 19min ago
     Docs: https://docs.microsoft.com/en-us/sql/linux
 Main PID: 7259 (sqlservr)
    Tasks: 158
   CGroup: /system.slice/mssql-server.service
           ├─7259 /opt/mssql/bin/sqlservr
           └─7288 /opt/mssql/bin/sqlservr

sie 08 15:06:38 slaro sqlservr[7259]: [95B blob data]
sie 08 15:06:38 slaro sqlservr[7259]: [91B blob data]
sie 08 15:06:38 slaro sqlservr[7259]: [145B blob data]
sie 08 15:06:38 slaro sqlservr[7259]: [61B blob data]
sie 08 15:06:39 slaro sqlservr[7259]: [96B blob data]
sie 08 15:06:39 slaro sqlservr[7259]: [66B blob data]
sie 08 15:06:40 slaro sqlservr[7259]: [96B blob data]
sie 08 15:06:40 slaro sqlservr[7259]: [100B blob data]
sie 08 15:06:40 slaro sqlservr[7259]: [71B blob data]
sie 08 15:06:40 slaro sqlservr[7259]: [124B blob data]

I'm unable to connect remotely from other machine as well:

TITLE: Connect to Server
------------------------------
Cannot connect to 192.168.1.141.
------------------------------
ADDITIONAL INFORMATION:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - Istniejące połączenie zostało gwałtownie zamknięte przez zdalnego hosta.) (Microsoft SQL Server, Error: 10054)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=10054&LinkId=20476

As far as I know there were no errors during update process.

Here are the last entries from errorlog:

2019-08-08 15:06:34.89 Server      Microsoft SQL Server 2019 (CTP3.2) - 15.0.1800.32 (X64)
        Jul 17 2019 21:29:33
        Copyright (C) 2019 Microsoft Corporation
        Express Edition (64-bit) on Linux (Ubuntu 18.04.3 LTS) <X64>
2019-08-08 15:06:34.89 Server      UTC adjustment: 2:00
2019-08-08 15:06:34.89 Server      (c) Microsoft Corporation.
2019-08-08 15:06:34.89 Server      All rights reserved.
2019-08-08 15:06:34.89 Server      Server process ID is 32.
2019-08-08 15:06:34.89 Server      Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.
2019-08-08 15:06:34.89 Server      Registry startup parameters:
         -d /var/opt/mssql/data/master.mdf
         -l /var/opt/mssql/data/mastlog.ldf
         -e /var/opt/mssql/log/errorlog
2019-08-08 15:06:34.90 Server      SQL Server detected 1 sockets with 4 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2019-08-08 15:06:34.90 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2019-08-08 15:06:34.90 Server      Detected 12800 MB of RAM. This is an informational message; no user action is required.
2019-08-08 15:06:34.90 Server      Using conventional memory in the memory manager.
2019-08-08 15:06:34.90 Server      Page exclusion bitmap is enabled.
2019-08-08 15:06:35.01 Server      Buffer pool extension is not supported on Linux platform.
2019-08-08 15:06:35.02 Server      Buffer Pool: Allocating 2097152 bytes for 1963331 hashPages.
2019-08-08 15:06:35.16 Server      Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
2019-08-08 15:06:35.69 Server      Buffer pool extension is already disabled. No action is necessary.
2019-08-08 15:06:35.99 Server      Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA'].
2019-08-08 15:06:36.01 Server      Query Store settings initialized with enabled = 1,
2019-08-08 15:06:36.07 Server      The maximum number of dedicated administrator connections for this instance is '1'
2019-08-08 15:06:36.07 Server      Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2019-08-08 15:06:36.11 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2019-08-08 15:06:36.17 Server      In-Memory OLTP initialized on lowend machine.
2019-08-08 15:06:36.37 Server      CLR version v4.0.30319 loaded.
2019-08-08 15:06:36.57 Server      [INFO] Created Extended Events session 'hkenginexesession'

2019-08-08 15:06:36.58 Server      Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.
2019-08-08 15:06:36.59 Server      Total Log Writer threads: 2. This is an informational message; no user action is required.
2019-08-08 15:06:36.72 Server      clflushopt is selected for pmem flush operation.
2019-08-08 15:06:36.72 Server      Software Usage Metrics is disabled.
2019-08-08 15:06:36.97 spid11s     [1]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
2019-08-08 15:06:36.98 spid11s     Starting up database 'master'.
2019-08-08 15:06:37.58 Server      Common language runtime (CLR) functionality initialized.
2019-08-08 15:06:37.77 spid11s     SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2019-08-08 15:06:37.78 spid11s     SQL Server Audit has started the audits. This is an informational message. No user action is required.
2019-08-08 15:06:38.05 Server      Failed to verify the Authenticode signature of 'C:\binn\secforwarder.dll'. Signature verification of SQL Server DLLs will be skipped. Genuine copies of SQL Server are signed. Failure to verify the Authenticode signature might indicate that this is not an authentic release of SQL Server. Install a genuine copy of SQL Server or contact customer support.
2019-08-08 15:06:38.11 spid11s     SQL Trace ID 1 was started by login "sa".
2019-08-08 15:06:38.27 spid11s     Server name is 'slaro'. This is an informational message only. No user action is required.
2019-08-08 15:06:38.29 spid29s     Always On: The availability replica manager is starting. This is an informational message only. No user action is required.
2019-08-08 15:06:38.29 spid29s     Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required.
2019-08-08 15:06:38.30 spid11s     [4]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
2019-08-08 15:06:38.30 spid11s     Starting up database 'msdb'.
2019-08-08 15:06:38.32 spid12s     [32767]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
2019-08-08 15:06:38.32 spid12s     Starting up database 'mssqlsystemresource'.
2019-08-08 15:06:38.33 spid12s     The resource database build version is 15.00.1800. This is an informational message only. No user action is required.
2019-08-08 15:06:38.36 spid12s     [3]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
2019-08-08 15:06:38.36 spid12s     Starting up database 'model'.
2019-08-08 15:06:38.40 Server      Failed to verify the Authenticode signature of 'C:\binn\msoledbsql.dll'. Signature verification of SQL Server DLLs will be skipped. Genuine copies of SQL Server are signed. Failure to verify the Authenticode signature might indicate that this is not an authentic release of SQL Server. Install a genuine copy of SQL Server or contact customer support.
2019-08-08 15:06:38.48 spid28s     A self-generated certificate was successfully loaded for encryption.
2019-08-08 15:06:38.51 Server      Error: 37308, Severity: 16, State: 1.
2019-08-08 15:06:38.51 Server      Loaded None enclave for always encrypted.
2019-08-08 15:06:38.51 spid28s     Server is listening on [ 192.168.1.141 <ipv4> 1433].
2019-08-08 15:06:38.54 spid28s     Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806. This is an informational message only. No user action is required.
2019-08-08 15:06:38.54 spid28s     Error: 39002, Severity: 16, State: 1.
2019-08-08 15:06:38.54 spid28s     SQL failed to boot extensibility for error code 0x80070005.
2019-08-08 15:06:38.55 spid28s     InitializeXdbPkgLauncher failed. ErrorCode: 0x80004005.
2019-08-08 15:06:38.55 spid28s     SQL Server is now ready for client connections. This is an informational message; no user action is required.
2019-08-08 15:06:38.85 spid12s     Clearing tempdb database.
2019-08-08 15:06:39.88 spid12s     [2]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
2019-08-08 15:06:39.89 spid12s     Starting up database 'tempdb'.
2019-08-08 15:06:40.26 spid29s     The Service Broker endpoint is in disabled or stopped state.
2019-08-08 15:06:40.26 spid29s     The Database Mirroring endpoint is in disabled or stopped state.
2019-08-08 15:06:40.27 spid29s     Service Broker manager has started.
2019-08-08 15:06:40.27 spid11s     Recovery is complete. This is an informational message only. No user action is required.
2019-08-08 15:27:16.30 spid55      [5]. Feature Status: PVS: 0. CTR: 0. ConcurrentPFSUpdate: 1.
2019-08-08 15:27:16.30 spid55      Starting up database 'ProgramMagazynowy'.
2019-08-08 15:27:16.53 spid55      Parallel redo is started for database 'ProgramMagazynowy' with worker pool size [2].
2019-08-08 15:27:16.73 spid55      Parallel redo is shutdown for database 'ProgramMagazynowy' with worker pool size [2].

It may have something to do with ODBC driver. I was able to enable logging and found this:

[ODBC][29210][1565333226.007247][SQLDriverConnectW.c][290]
                Entry:
                        Connection = 0x8c90e0
                        Window Hdl = (nil)
                        Str In = [DRIVER={ODBC Driver 17 for SQL Server};SERVER={192.168.1.141};Trusted_Connection={YES};WSID={slaro};APP={SQLCMD};][length = 113 (SQL_NTS)]
                        Str Out = (nil)
                        Str Out Max = 0
                        Str Out Ptr = (nil)
                        Completion = 0
                UNICODE Using encoding ASCII 'ANSI_X3.4-1968' and UNICODE 'UTF-16LE'

According to Documentation

If the ASCII character encoding is not UTF-8, there is more than one Driver Manager installed and your application is using the wrong one, or the Driver Manager was not built correctly.

In my case it's 'ANSI_X3.4-1968' so there has to be something wrong. I will further review the articles suggested in documentation but right now I don't know how to confirm that I indeed have two drivers installed and how to remove one.

EDIT:

odbcinst lists only one driver:

hyperqbe@slaro:/etc$ odbcinst -q -d
[ODBC Driver 17 for SQL Server]

This part seems to be fine. I'm not sure if I have my odbc.ini and odbcinst.ini defined correctly.

hyperqbe@slaro:/etc$ cat odbc.ini
[slaro]
Driver='ODBC Driver 17 for SQL Server'
Servername=192.168.1.141

hyperqbe@slaro:/etc$ cat odbcinst.ini
[ODBC Driver 17 for SQL Server]
Description=Microsoft ODBC Driver 17 for SQL Server
Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.4.so.1.1
UsageCount=1
Trace=Yes
TraceFile=/home/hyperqbe/odbc.log

=======================================

EDIT ((ufw details per request)):

hyperqbe@slaro:~$ sudo ufw status
[sudo] hasło użytkownika hyperqbe:
Stan: aktywny

Do                         Działanie   Z
--                         ---------   -
27                         ALLOW       Anywhere
1433                       ALLOW       Anywhere
1434                       ALLOW       Anywhere
8686                       ALLOW       Anywhere
27 (v6)                    ALLOW       Anywhere (v6)
1433 (v6)                  ALLOW       Anywhere (v6)
1434 (v6)                  ALLOW       Anywhere (v6)
8686 (v6)                  ALLOW       Anywhere (v6)

22/tcp                     REJECT OUT  Anywhere
22/tcp (v6)                REJECT OUT  Anywhere (v6)

hyperqbe@slaro:~$ sudo iptables --list
Chain INPUT (policy DROP)
target     prot opt source               destination
ufw-before-logging-input  all  --  anywhere             anywhere
ufw-before-input  all  --  anywhere             anywhere
ufw-after-input  all  --  anywhere             anywhere
ufw-after-logging-input  all  --  anywhere             anywhere
ufw-reject-input  all  --  anywhere             anywhere
ufw-track-input  all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
ufw-before-logging-forward  all  --  anywhere             anywhere
ufw-before-forward  all  --  anywhere             anywhere
ufw-after-forward  all  --  anywhere             anywhere
ufw-after-logging-forward  all  --  anywhere             anywhere
ufw-reject-forward  all  --  anywhere             anywhere
ufw-track-forward  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ufw-before-logging-output  all  --  anywhere             anywhere
ufw-before-output  all  --  anywhere             anywhere
ufw-after-output  all  --  anywhere             anywhere
ufw-after-logging-output  all  --  anywhere             anywhere
ufw-reject-output  all  --  anywhere             anywhere
ufw-track-output  all  --  anywhere             anywhere

Chain ufw-after-forward (1 references)
target     prot opt source               destination

Chain ufw-after-input (1 references)
target     prot opt source               destination
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-ns
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:netbios-dgm
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:netbios-ssn
ufw-skip-to-policy-input  tcp  --  anywhere             anywhere             tcp dpt:microsoft-ds
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootps
ufw-skip-to-policy-input  udp  --  anywhere             anywhere             udp dpt:bootpc
ufw-skip-to-policy-input  all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST

Chain ufw-after-logging-forward (1 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-input (1 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-after-logging-output (1 references)
target     prot opt source               destination

Chain ufw-after-output (1 references)
target     prot opt source               destination

Chain ufw-before-forward (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ufw-user-forward  all  --  anywhere             anywhere

Chain ufw-before-input (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere             anywhere             ctstate INVALID
DROP       all  --  anywhere             anywhere             ctstate INVALID
ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere             icmp parameter-problem
ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
ACCEPT     udp  --  anywhere             anywhere             udp spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
ACCEPT     udp  --  anywhere             239.255.255.250      udp dpt:1900
ufw-user-input  all  --  anywhere             anywhere

Chain ufw-before-logging-forward (1 references)
target     prot opt source               destination

Chain ufw-before-logging-input (1 references)
target     prot opt source               destination

Chain ufw-before-logging-output (1 references)
target     prot opt source               destination

Chain ufw-before-output (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ufw-user-output  all  --  anywhere             anywhere

Chain ufw-logging-allow (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "

Chain ufw-logging-deny (2 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere             ctstate INVALID limit: avg 3/min burst 10
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "

Chain ufw-not-local (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
RETURN     all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
ufw-logging-deny  all  --  anywhere             anywhere             limit: avg 3/min burst 10
DROP       all  --  anywhere             anywhere

Chain ufw-reject-forward (1 references)
target     prot opt source               destination

Chain ufw-reject-input (1 references)
target     prot opt source               destination

Chain ufw-reject-output (1 references)
target     prot opt source               destination

Chain ufw-skip-to-policy-forward (0 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere

Chain ufw-skip-to-policy-input (7 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere

Chain ufw-skip-to-policy-output (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain ufw-track-forward (1 references)
target     prot opt source               destination

Chain ufw-track-input (1 references)
target     prot opt source               destination

Chain ufw-track-output (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             ctstate NEW
ACCEPT     udp  --  anywhere             anywhere             ctstate NEW

Chain ufw-user-forward (1 references)
target     prot opt source               destination

Chain ufw-user-input (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:27
ACCEPT     udp  --  anywhere             anywhere             udp dpt:27
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ms-sql-s
ACCEPT     udp  --  anywhere             anywhere             udp dpt:ms-sql-s
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ms-sql-m
ACCEPT     udp  --  anywhere             anywhere             udp dpt:ms-sql-m
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:8686
ACCEPT     udp  --  anywhere             anywhere             udp dpt:8686

Chain ufw-user-limit (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere             limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
REJECT     all  --  anywhere             anywhere             reject-with icmp-port-unreachable

Chain ufw-user-limit-accept (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain ufw-user-logging-forward (0 references)
target     prot opt source               destination

Chain ufw-user-logging-input (0 references)
target     prot opt source               destination

Chain ufw-user-logging-output (0 references)
target     prot opt source               destination

Chain ufw-user-output (1 references)
target     prot opt source               destination
REJECT     tcp  --  anywhere             anywhere             tcp dpt:ssh reject-with tcp-reset

I've found post suggesting that problem might be caused by python.

How do I gain root access to my own folders when using file manager? https://askubuntu.com/questions/808756/how-do-i-gain-root-access-to-my-own-folders-when-using-file-manager

Basically I want to be able to right click on one of my folders and use something like 'Thunar Root', type in my admin password and continue to use it. Now I've quite a big trouble getting some files to my admin privileged folders. Also, isn't the default XFCE file manager called Thunar? Why is it called plainly 'File Manager'?

Many thanks.

Undetected wireless https://askubuntu.com/questions/745697/undetected-wireless

I have Ubuntu Mate 15.10 on a USB flash drive. I booted into it and looked to connect to my wifi and it was not listed in my networking connections. I looked in network connections in the system menu and it doesn't have any wireless adapters listed. Only the ethernet.

I've run lsusb and my wireless adapter is listed there. I just don't know where to go from here in getting it running. Learning this as I go.

Thanks for any help.

EDIT 1 - Here is the output from lsusb:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 006 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0  
Bus 006 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 001 Device 003: ID 0781:5406 SanDisk Corp. Cruzer Micro U3  
Bus 001 Device 002: ID Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub  

EDIT 2 - Output from usb-devices | awk '/8171/' RS= and output from iwconfig

ubuntu-mate@ubuntu-mate:~$ usb-devices | awk '/8171/' RS=  
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0  
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1  
P:  Vendor=0bda ProdID=8171 Rev=02.00  
S:  Manufacturer=Manufacturer Realtek   
S:  Product=RTL8188S WLAN Adapter   
S:  SerialNumber=  
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA  
I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8712u  

=====

ubuntu-mate@ubuntu-mate:~$ iwconfig  
                      unassociated  Nickname:"rtl_wifi"  
          Mode:Auto  Access Point: Not-Associated   Sensitivity:0/0    
          Retry:off   RTS thr:off   Fragment thr:off  
          Power Management:off  
          Link Quality:0  Signal level:0  Noise level:0  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0  
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0  

enp3s0    no wireless extensions.  

lo        no wireless extensions.  
Mount LUKS encrypted hard drive at boot https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in /mnt/hdd. For making these I followed the next steps:

(Previously I had encrypted the disk with LUKS following this post http://www.marclewis.com/2011/04/02/luks-encrypted-disks-under-ubuntu-1010/)

Check the UUID

sudo blkid 
/dev/sda1: UUID="b3024cc1-93d1-439f-80ce-1b1ceeafda1e" TYPE="crypto_LUKS"

Make a keyfile with the right passphrase and save it in my HOME (which is also encrypted).

sudo dd if=/dev/urandom of=/home/[USERNAME]/.keyfiles/key_luks bs=1024 count=4
sudo chmod 0400 .keyfiles/key_luks

Add the key

sudo cryptsetup luksAddKey /dev/sda1 /home/zeugor/.keyfiles/key_luks

New entry in /etc/crypttab

hddencrypted UUID=b3024cc1-93d1-439f-80ce-1b1ceeafda1e /home/[USERNAME]/.keyfiles/key_luks luks

Update the initial ramdisk

sudo update-initramfs -u -k all

Then, to test it, I used the follow command to start cryptdisks:

sudo cryptdisks_start hddencrypted 
 * Starting crypto disk...                                                       
 * hddencrypted (starting)..
 * hddencrypted (started)... 

To check hddencrypted was mapped:

ls /dev/mapper/
control  hddencrypted

Create a mount point

mkdir /mnt/hdd

New entry in /etc/fstab

/dev/mapper/hddencrypted /mnt/hdd ext4 defaults 0 2

Validate fstab without reboot:

sudo systemctl daemon-reload
sudo mount -a

Mount the encrypted partition on boot

Now I have mount it in/mnt/hdd as I proposed. But I wold like to make this automatically after reboot. But before I can log in, I get this error:

the disk drive for /mnt/hdd is not ready yet or not permit

All this makes me think that /etc/crypttab can't access to the keyfile which is located in my HOME (other encrypted partition). I don't know the order which the system follows to unencrypted and mounts the units. My HOME should be unencrypted before my HDD for giving access to read the keyfile.

I would appreciate any insight as to why this happens.

UPDATE: If I locate the keyfile in /boot (no encrypted), instead of in my /home/[USERNAME] (encrypted) the /dev/sda1 and update the entry in /etc/crypttab is perfectly mounted on boot time.

How do I remap my Ubuntu keyboard shortcuts to match OSX? https://askubuntu.com/questions/368437/how-do-i-remap-my-ubuntu-keyboard-shortcuts-to-match-osx

I'm using Ubuntu in VirtualBox on Mac. As I switch frequently, I would like to use the same shortcuts. Please, does anyone know how to have the same shortcuts on Ubuntu, as they are on Mac?

Specifically, I would like to Copy, Paste, Select All, ... work with Cmd+C, Cmd+V, Cmd+A, ... (even in terminal - no Ctrl+Shift, just Ctrl).

I tried to change Keyboard Layout to Apple Laptop, but that didn't help.