Como romper a virtualização do Kernel para acessar o driver real https://askubuntu.com/questions/1563469/como-romper-a-virtualiza%c3%a7%c3%a3o-do-kernel-para-acessar-o-driver-real

Como romper a virtualização do Kernel para acessar o driver rea do vibrador e do disco físico, visto que o Hórus v39 está sendo isolado em um ambiente de snapshot com Load Average de 31?" "Hórus é proteção desenvolvida por Gemini" a meu pedido

Moto g86 5g

USB focusrite loses sound in Chrome 24.04 LTS https://askubuntu.com/questions/1563467/usb-focusrite-loses-sound-in-chrome-24-04-lts

The sound quits randomly when watching youtube and such.

Chrome is shown in applications in the app.

I get no sound in VLC or any other app.

Also at 100% output.

To reset I must unplug the focusrite and re plugin then sound works.

I assume something is claiming the USB slot from the focusrite.

No Ideas what as it's just random every couple of days.

System is fully updated.

Cheers Frank

Inexperienced user. Renting Contabo server, using MobaxTerm rdp to connect to server running Ubuntu LTS https://askubuntu.com/questions/1563466/inexperienced-user-renting-contabo-server-using-mobaxterm-rdp-to-connect-to-se

To give a quick explanation: A friend helped me rent a contabo server to which I connect using MobaXterm RDP and that session is running via Ubuntu LTS OS (Hopefully it makes sense, since I am not super tech savvy).

I don't run anything else other than a modded minecraft server. Problem is every day at around 10pm Central European Time (don't believe it's exact same time) the terminal which was running the server just shuts down, tried using a screen for this purpose, but that also turned up dead after this time.

Would love any information about how I could fix this issue or be directed to a place more appropriate for this question. Be it troubleshooting or direct fixes any extra information gained on what causes this and potential fixes would be awesome. Thank you for your time.

LUKS on a device with bad blocks - doable via GUI? https://askubuntu.com/questions/1563464/luks-on-a-device-with-bad-blocks-doable-via-gui

I have a portable (3,5'') external drive (Seagate, 2TB, USB3) which I would love to use with my Ubuntu 25.10 laptop. But, it has a few bad blocks:

user@user-ubuntu:~$ sudo mkfs.ext4 -c -c -v /dev/sdc1
mke2fs 1.47.2 (1-Jan-2025)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
122101760 inodes, 488378389 blocks
24418919 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2636120064
14905 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Filesystem UUID: 9d0331a9-5f52-41fa-950e-0f5d4222f528
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
    102400000, 214990848

Running command: badblocks -b 4096 -X -s -w /dev/sdc1 488378388
Testing with pattern 0xaa: done
Reading and comparing: 2.35% done, 13:26:05 elapsed. (310585/0/9192 errors)

So with only 2.35% of the disk surface examined, we already have 9K+ errors. Hmm.

Now, if all I wanted to build was a traditional ext2/3/4 filesystem (which, yes, is what my command above is doing), I would trust mkfs.ext4 to create a filesystem that only populates good blocks and is stable. I realise there is risk in this strategy as whatever led to the already discovered batch of bad blocks could very well result in more corruption.

But say for a moment that I want to take the risk because I don't want to spend money on a new hard drive, or I don't have easy access to a shop with the right hardware.

How can I create a LUKS protected filesystem on such a disk?

The easy/only way I know how to do that is via gnome-disk-utility:

Screenshot of gnome-disk-utility

My concern is that by doing this, any bad block information that was previously discovered and stored in the ext4 filesystem will be erased. The disk utility does not give me a way to instruct it to:

  1. check the disk for bad blocks

  2. do whatever magic it does with LVM and LUKS to create an encrypted volume on the good blocks only

Ignoring the bad blocks and just instructing gnome-disk-utility to do its thing is a guarantee for disaster - unless gnome-disk-utility or the underlying software is clever enough to detect and deal with bad blocks "on the fly" (but I doubt it, otherwise why would badblocks take 10 days to complete?!)

Is there a way to do what I'm after via the GUI? If not, is there a Ubuntu-specific guide to creating a LUKS-protected filesystem on an external disk, or will a generic tutorial like https://shivering-isles.com/2019/09/create-luks-encrypted-devices do the trick?

ZSTD-compressed data is corrupt — System halted [closed] https://askubuntu.com/questions/1563458/zstd-compressed-data-is-corrupt-system-halted

I am new to Linux and I am using Kali Linux. Everything was working fine, but while I was installing the Google Chrome browser, my system screen suddenly froze. I had to force shut down the system. After turning it back on, I saw the message: “ZSTD-compressed data is corrupt — System halted.” Please help.

systemd unit for saslauthd https://askubuntu.com/questions/1563451/systemd-unit-for-saslauthd

Having trouble knowing how to install sasl components. The package sasl2-bin seems to install saslauthd, but no systemd unit. Where is the systemctl unit to be found? Is there a concise page of instructions how to properly install SASL on Ubuntu?

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

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

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

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

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

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

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

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

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

Login page problem https://askubuntu.com/questions/1563288/login-page-problem

I was trying to free up space and somehow ended up with login page looking like this. I still can login, but the interface looks distorted and I don't see words when I type or when the password is wrong. What should I do to recover it back? I am using Ubuntu 24.04, I did free up some old gnome version.

enter image description here

Emulating a scroll-wheel on a trackball in Wayland, like I can in X11 https://askubuntu.com/questions/1530055/emulating-a-scroll-wheel-on-a-trackball-in-wayland-like-i-can-in-x11

I believe the following applies to standard Ubuntu (Gnome) as well as Kubuntu, my preferred environment. The Logitech T-BC21 Trackman Marble is a USB trackball mouse input. It has 4 buttons, I call them primary left and right, secondary left and right. I want it so that the right secondary button, when pressed, turns the trackball into a scrollwheel.

The solution in X11 is to edit/create a conf file, example in /usr/share/X11/xorg.conf.d/50-trackball.conf I have this content:

Section "InputClass"
    Identifier      "Marble Mouse"
    MatchProduct    "Logitech USB Trackball"
    Driver          "libinput"
    Option          "ScrollMethod" "button"
    Option          "ScrollButton" "9"
Option          "MiddleEmulation" "on"
EndSection

Added bonus, it scrolls horizontally and vertically.

How can I achieve similar under Wayland, specifically Kubuntu 24.10?

"Upgrade failed with the following output" displaying no output on KDE https://askubuntu.com/questions/1526336/upgrade-failed-with-the-following-output-displaying-no-output-on-kde

I tried upgrading Kubuntu to 24.04, but it displayed the following error window with the message "Upgrade failed with the following output", however it didn't display any output whatsoever.

Error window with "Upgrade failed with the following output" that has a blank output

Trying to dual boot Ubuntu with pre-installed Windows 11 https://askubuntu.com/questions/1524624/trying-to-dual-boot-ubuntu-with-pre-installed-windows-11

I am trying to install Ubuntu on my laptop with pre-installed Win11.

In the manual selection, it is showing the complete physical drive which is 2XNVMe SSD drives (2TB). The laptop has 11th generation Intel CPU, comes with Intel VMD that treats storage as RAID0.

If I went ahead with "Install alongside Windows Boot Manager", will it delete Windows since there are no Logical drives, or it will take the free space I just allocated by shrinking my C Drive?

Has anyone come across a problem like this, knowing I couldn't disable Intel VMD from BIOS because It won't recognize the RAID0 cluster that has Windows Boot Manager on.

I have attached two screenshots.

BIOS

enter image description here

Booting 24.04 from USB with UEFI fails with: "Initramfs unpacking failed" and "Kernel panic" https://askubuntu.com/questions/1516006/booting-24-04-from-usb-with-uefi-fails-with-initramfs-unpacking-failed-and-k

I am currently running Ubuntu 20.04 on my UEFI Bios PC in dual boot with Windows. Everything works fine. Since the support for Ubuntu 20.04 is almost at the end of its life, I wanted to replace it with 24.04, however as soon as I try to boot from USB stick (UEFI mode), I get the following error, and the booting stops: Initramfs unpacking failed: invalid magic at start of compressed archive

After this error, no interaction with the PC is possible, and I have to press the reset button. To get more information, I removed the "quiet splash" options in the grub boot menu, which resulted in the output shown in the following screenshot:

Error in 24.04:

[    0.647540] evm: security.apparmor
[    0.647745] evm: security.ima
[    0.647942] evm: security.capability
[    0.648132] evm: HMAC attrs: 0x1
[    0.649561] PM: Magic number: 8:226:850
[    0.654073] RAS: Correctable Errors collector initialized.
[    0.655220] clk: Disabling unused clocks
[    0.684396] md: Waiting for all devices to be available before autodetect
[    0.684577] md: If you don't use raid, use raid=noautodetect
[    0.685373] md: Autodetecting RAID arrays.
[    0.685543] md: autorun ...
[    0.685697] md: ... autorun DONE.
[    0.686043] /dev/root: Can't open blockdev
[    0.686201] VFS: Cannot open root device "" or unknown-block(0,0): error -6
[    0.686374] Please append a correct "root=" boot option; here are the available partitions:
[    0.686537] List of all bdev filesystems:
[    0.686681]  ext3
[    0.686682]  ext2
[    0.686824]  ext4
[    0.686962]  squashfs
[    0.687107]  vfat
[    0.687246]  fuseblk
[    0.687406]
[    0.687674] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.687817] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 6.8.0-31-generic #31-Ubuntu
[    0.687963] Hardware name: System manufacturer System Product Name/P8P67 DELUXE, BIOS 3602 10/31/
2012
[    0.688253] Call Trace:
[    0.688410]  <TASK>
[    0.688546]  dump_stack_lvl+0x48/0x70
[    0.688686]  dump_stack+0x10/0x20
[    0.688821]  panic+0x35f/0x3c0
[    0.688957]  mount_root_generic+0x1a5/0x360
[    0.689093]  mount_root+0x98/0x100
[    0.689228]  ? __pfx_kernel_init+0x10/0x10
[    0.689386]  prepare_namespace+0x6c/0x2f0
[    0.689526]  kernel_init_freeable+0x1ea/0x230

Since the installation was working quite well for Ubuntu 20.04, I downloaded all subsequent versions of Ubuntu to figure out when the error started, which is the case for Ubuntu 23.10. When I boot Ubuntu 23.10 from USB, I get the following output:

Error in 23.10:

Screenshot of the error in 23.10

In legacy mode, everything boots quite well from USB. It's only the UEFI mode that doesn't work, however I don't want to install it in legacy mode because my system is already set up in UEFI.

Installing Ubuntu 24.04 from the USB stick in UEFI mode worked quite well for my other two PCs, but not for this one.

I am still trying to figure out what I can do. Does anyone have any suggestions? Let me know if you need additional information.

What else have I tried so far?

  • I tried different image sources while sha256 of the ISOs was always fine.
  • I tried different tools to set up a bootable USB drive with 24.04 (the default one on Ubuntu as well as dd and balenaEtcher on 20.04 and 24.04, and Rufus on Windows)
  • I tried three different USB sticks (I already used all of them for installing Ubuntu on PCs)
  • I tried all my USB ports (they work fine for Ubuntu versions before 23.04)

I also tried other suggestions, as shown, for example, in the following posts.

Ubuntu Studio boot from live usb failed: "Initramfs unpacking failed" => however I don't want to install in legacy mode because my system (including Windows and the currently installed version of Ubuntu 20.04) is already set up in UEFI mode.

USB installer: “ Initramfs unpacking failed: Decoding failed” => Every suggestion resulted in the same error.

https://www.reddit.com/r/linuxquestions/comments/11j8io9/kernel_panic_not_syncing_no_working_init_found/?rdt=46856 => I started the live USB stick in legacy mode and tried to update initramfs, but it is not possible for a live USB stick because it is read-only.

What works?

  • works fine in legacy mode
  • works fine (both UEFI and legacy) on my other two PCs
  • I also tried different older Ubuntu versions, and I figured out that this problem started to occur with 23.10

My system:

Output from: lspci

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation P67 Express Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller (rev a1)
02:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)
03:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
06:00.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:01.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:04.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:05.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:06.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:07.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:08.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
07:09.0 PCI bridge: PLX Technology, Inc. PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch (rev ba)
08:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller (rev 01)
0a:00.0 SATA controller: JMicron Technology Corp. JMB362 SATA Controller (rev 10)
0b:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9128 PCIe SATA 6 Gb/s RAID controller with HyperDuo (rev 11)
0d:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
0f:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

Output from: sudo dmidecode -t0 -t1

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
    Vendor: American Megatrends Inc.
    Version: 3602
    Release Date: 10/31/2012
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 4096 kB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        BIOS ROM is socketed
        EDD is supported
        5.25"/1.2 MB floppy services are supported (int 13h)
        3.5"/720 kB floppy services are supported (int 13h)
        3.5"/2.88 MB floppy services are supported (int 13h)
        Print screen service is supported (int 5h)
        8042 keyboard services are supported (int 9h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        ACPI is supported
        USB legacy is supported
        BIOS boot specification is supported
        Targeted content distribution is supported
    BIOS Revision: 4.6

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: System manufacturer
    Product Name: System Product Name
    Version: System Version
    Serial Number: System Serial Number
    UUID: 1e00c620-008c-4300-c51e-bcaec578734e
    Wake-up Type: Power Switch
    SKU Number: SKU
    Family: To be filled by O.E.M.
how do i fix error fdisk:cannot open /dev/sdb: Input/output error https://askubuntu.com/questions/1469218/how-do-i-fix-error-fdiskcannot-open-dev-sdb-input-output-error

i am trying to create a partition but am unable due to error:

enter image description here

Ubuntu 20.04 - Can't update mysql-client and mysql-server packages https://askubuntu.com/questions/1406819/ubuntu-20-04-cant-update-mysql-client-and-mysql-server-packages

Before updating to Ubuntu 20.04 from 18.04, I decided to first update MySQL from 5.5 to 8.0.

I then updated to Ubuntu 20.04 and all was well, until some updates for mysql-client and mysql-server came out. Neither will install.

apt-get upgrade returns:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  mysql-client mysql-server
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I then typed apt-get install mysql-client and received:

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:
 mysql-client : Depends: mysql-client-8.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

But mysql-client-8.0 Is installed (UPDATE: oops, it actually isn't):

apt policy mysql-client-8.0

mysql-client-8.0:
  Installed: (none)
  Candidate: 8.0.29-0ubuntu0.20.04.3
  Version table:
     8.0.29-0ubuntu0.20.04.3 500
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     8.0.29-0ubuntu0.20.04.2 500
        500 http://ubuntu.mirrors.ovh.net/ubuntu focal-updates/main amd64 Packages
     8.0.19-0ubuntu5 500
        500 http://ubuntu.mirrors.ovh.net/ubuntu focal/main amd64 Packages

After that....

apt-get install mysql-client-8.0

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:
 mysql-client-8.0 : Depends: mysql-common (>= 5.5)
E: Unable to correct problems, you have held broken packages.

And finally tried...

apt-get install mysql-commmon

Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-common is already the newest version (8.0.28-1ubuntu18.04).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

apt-cache policy mysql-common

mysql-common:
  Installed: 8.0.28-1ubuntu18.04
  Candidate: 8.0.28-1ubuntu18.04
  Version table:
 *** 8.0.28-1ubuntu18.04 100
        100 /var/lib/dpkg/status
     5.8+1.0.5ubuntu2 500
        500 http://ubuntu.mirrors.ovh.net/ubuntu focal/main amd64 Packages

I've found posts online where people ran into similar, but not identical problems... not quite sure how to go about fixing this without causing major issues. I run a website on this server and don't want to irreperably harm anything, but do want to get this fixed.

Thanks!

SOLVED by: apt remove mysql-common THEN apt install mysql-server

Receiving and sending udp stream with one gst-launch-1.0 (gstreamer) command https://askubuntu.com/questions/1315955/receiving-and-sending-udp-stream-with-one-gst-launch-1-0-gstreamer-command

On an Ubuntu 18.04 laptop, I can receive a stream with the following gst-launch-1.0 commands:

The stream source (from a test brd that generates a test pattern):

$ gst-launch-1.0 -e videotestsrc ! video/x-raw, width=640, height=480, framerate =30/1 ! omxh264enc ! rtph264pay ! udpsink host=10.0.0.2 port=5500

The above gst-launch sends a test pattern out on udp port 5500

I receive the above stream on an ubuntu laptop with:

$ gst-launch-1.0 -e udpsrc port=5500 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! fpsdisplaysink sync=false

I am able to send from the ubuntu laptop a different test pattern stream to an Android device with a separate gst-launch command:

The gst-launch stream sent to the android device:

$ gst-launch-1.0 videotestsrc ! "video/x-raw,width=640,height=480" ! x264enc ! mpegtsmux name=mux ! udpsink host=10.100.46.40 port=5000

The above stream displays properly on the Android device.

I then try to connect the two so that I can receive the board's test pattern stream on the ubuntu laptop, and then pass that test pattern stream to the Android device, all within the same commandline like so:

$ gst-launch-1.0 -e udpsrc port=5500 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! udpsink host=10.100.46.40 port=5000O

From this I get the following error:

WARNING: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Attempting to send a UDP packets larger than maximum size (460800 > 65507) Additional debug info: gstmultiudpsink.c(722): gst_multiudpsink_send_messages (): /GstPipeline:pipeline0/GstUDPSink:udpsink0: Reason: Error sending message: Message too long

And nothing shows up on the Android device. Is there a way to combine the two commands into one so that the Ubuntu laptop, is pretty much the middle man in this stream?

Thanks...

Ubuntu 19.10 takes too long to boot (more than 10 minutes)? https://askubuntu.com/questions/1251262/ubuntu-19-10-takes-too-long-to-boot-more-than-10-minutes

Yesterday when I turned on my PC my Ubuntu was taking too long to start, more than 10 minutes. Tired of this, I held the power key to turn it off and again restarted it. Again the same thing happened. Then I decided to go to boot settings and did nothing, saved the changes and again started it. And it worked and started in less than a minute, but I really want to know why this happened.

This morning again it was taking long time to start and I gathered all of my patience to see how much time it takes to boot up. After 40 minutes, I was tired of seeing the same screen. I lost my patience and held the power key down to power off the computer and pressed it again to restart. Then it started in a few seconds. The same thing happened now. I had to turn it off once using the power button, and when I turned it on again it worked, but I don't want to do this every time.

I have provided screenshots and other information that you may need to help me.

Results of free -h, grep -i swap /etc/fstab/ and sudo blkid:

khush@khush-X541UAK:~$ free -h
              total        used        free      shared  buff/cache   available
Mem:          3.7Gi       886Mi       1.5Gi       175Mi       1.4Gi       2.5Gi
Swap:         2.0Gi          0B       2.0Gi
khush@khush-X541UAK:~$ grep -i swap /etc/fstab
/swapfile                                 none            swap    sw              0       0
khush@khush-X541UAK:~$ sudo blkid
[sudo] password for khush: 
/dev/sda1: UUID="f4b7bab0-8d10-4da1-875b-0a645b2b3632" TYPE="ext4" PARTUUID="d89045d1-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"

SMART Data & Self-Tests #1:

this is the first screenshot of smart data and smart test

SMART Data & Self-Tests #2:

this is the second screenshot of smart data and smart test

SMART Data & Self-Tests #3:

this is the third screenshot of smart data and smart test

How to enable virtualization, Ubuntu 18.04 in VirtualBox on Windows 10? https://askubuntu.com/questions/1157247/how-to-enable-virtualization-ubuntu-18-04-in-virtualbox-on-windows-10

I'm running Ubuntu 18.04 in a VirtualBox on a Windows 10 machine.

I'm trying to create and test a Docker swarm by creating a couple virtual machines on my (virtual) Ubuntu OS. (I know, I know. VMs on VMs on VMs. I should just get a Mac). I've downloaded VirtualBox in Ubuntu, and am running the following at command-line:

docker-machine create --driver virtualbox myvm1

Which returns:

Running pre-create checks... Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"

Virtualization is enabled on my Windows 10 machine:

Task Manager Performance Sccreenshot

Virtualization also appears enabled for Ubuntu, as viewed through the VirtualBox Settings (running on Windows):

Ubuntu Virtualization Settings

I've tried to enable through the Ubuntu BIOS on startup, but I can't seem to get in there to change anything. If I press F2 or F12 or ESC (or any key for that matter), I can see a list of processes running during startup, but don't have any control, and the OS just boots as normal. Ancillary question, is there a BIOS for Ubuntu running on a VM, or just one for my hardware?

I read that perhaps I should disable Fast Startup on my Windows machine, and have done that, but have seen no difference. And my host machine boots up pretty fast anyway, too.

UPDATE:

If I run in Ubuntu Terminal,

grep --color vmx /proc/cpuinfo

nothing is returned. Same for svm, which would appear to confirm that virtualization is not enabled or possible. The ultimate question is, how do I enable it?

Infinite scrolling random numbers on screen after running fsck manually https://askubuntu.com/questions/1149828/infinite-scrolling-random-numbers-on-screen-after-running-fsck-manually

Yesterday I had a lot of Java applications open that were eating into my RAM. I'm a Java developer, so what I usually do in such situations is just reboot. I closed all the apps and did a shutdown. On booting, I was dropped into an initramfs prompt.

[    4.526960] tpm tpm0: A TPM error (7) occurred attempting to read a pcr value

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) _

initramfs is something I had no clue about, so I just did an exit.

[    4.526960] tpm tpm0: A TPM error (7) occurred attempting to read a pcr value

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) exit
/dev/mapper/ubuntu--vg-root contains a file system with errors, check forced.
Inode 55052875 (...) has invalid mode (0175471).

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

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

The suggestion was to run fsck on the mentioned filesystem, which I did.

(initramfs) fsck /dev/mapper/ubuntu--vg-root
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
/dev/mapper/ubuntu--vg-root contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 55052875 (...) has invalid mode (0175471).
Clear<y>? yes
Inode 55052876 (...) is an illegal FIFO.
Clear<y>? yes
Inode 55052877 (...) is an illegal block device.
Clear<y>? yes
Inode 55313665 ref count is 3, should be 2. Fix<y>? yes
Inode 55969350 ref count is 3, should be 2. Fix<y>? _

The last line here appears to be the one that causes the mess that follows. Typing y for yes caused my entire screen to become a top-to-bottom infinite scrolling wall of random numbers.

enter image description here

How do I get back control of my computer?

Screenshots of the SMART Data:

enter image description here

enter image description here

Ubuntu keeps freezing and can't boot after booting to Windows 10 https://askubuntu.com/questions/1095268/ubuntu-keeps-freezing-and-cant-boot-after-booting-to-windows-10

I tried to install Ubuntu 18.10 alongside Windows 10 using a USB flash drive. I disabled Fast Start. I kept Secure Boot enabled.

  1. When I booted from the USB, I first clicked Try Ubuntu. After the trial, I clicked the restart in Ubuntu, but my computer froze. I had to press the power button for 5 seconds to shutdown my laptop.

  2. Then I started installing Ubuntu. At the Choose your time zone screen, I clicked Quit as I wanted to install it at a later time. Then my computer froze. Again I held down the power button to shutdown the computer.

  3. I installed Ubuntu. I selected installing the third-party software option as my laptop has an Nvidia GPU with a 4K screen. In the end a message said "Installation complete, please restart". I clicked OK, and then it froze and I held down the power button to force shutdown.

  4. I could see Ubuntu option as my first boot choice when I started the laptop. I entered Ubuntu and could open a web browser and do other things, but when I clicked shutdown or restart, it froze.

  5. I selected to enter Windows 10 once. After doing that I could never go back to Ubuntu again. Each time I restart Windows 10, it automatically goes to Windows 10 without giving me the choice for Ubuntu as before.

Why does it freeze on so many occasions? Should could I disable Secure Boot or try EasyBCD software?

Is there any simple "one click" solution to clear print queue in KDE? https://askubuntu.com/questions/1073150/is-there-any-simple-one-click-solution-to-clear-print-queue-in-kde

my old grandpa (born 1929) uses Kubuntu for surfing and some basic tasks. He is often behaving chaotically and for example he easily fills print queue with several tasks and then struggles to get rid of them.

Is there any simple solution how to remove all print tasks from the queue without need to go through System settings?

He has only one printer (HP LaserJet 1200) so could be something to remove all tasks for all printers and could be a shell script also as I could create him a shortcut - desktop icon to click on.

any suggestions?

Change nodejs version? https://askubuntu.com/questions/1049161/change-nodejs-version

I need to use the following versions for my script to properly continue working.

npm -v 5.8.0
node -v v9.10.1
nodejs -v v4.2.6

I have npm and node correct but I cannot get nodejs to use v4.2.6

nodejs -v v9.11.2
How to uninstall Electrum? https://askubuntu.com/questions/998059/how-to-uninstall-electrum

I use Electrum as Bitcoin Wallet, and I want to update it. The best way to do it, I think, would be to uninstall the old version and install the new one. How can I do that?

I use the 16.04 version of Xubuntu.

insanely large GDT blocks with mdadm partitions https://askubuntu.com/questions/894530/insanely-large-gdt-blocks-with-mdadm-partitions

I have a 4 drive USB3.0 external ext4 mdadm lvm RAID-5 array connected to my Ubuntu 16.10 box (ripped from a broken Synology). Disk manager shows the array is fine and all the logical partitions are visible, however only 2 (of the 5) mount properly. The other 3 throw exit status 32 errors and dmesg says:

Number of reserved GDT blocks insanely large: 8189

A filesystem check on the partitions gives

Corruption found in superblock. (reserved_gdt_blocks = 8189)

I've attempted to restore the superblocks on the partitions from backups using the e2fsck -b command but none of them work, but I'm not sure that's the real issue, Ubuntu isn't happy with the GDT block size.

What device should I put as the 'device for boot loader installation' https://askubuntu.com/questions/802182/what-device-should-i-put-as-the-device-for-boot-loader-installation

Right now, I am installing Ubuntu to dual boot on my PC. So, I am at the 'installation type' screen. I have already made a swap, "/", and "/home" partitions (after shrinking the volume of my hard drive). So, now the only field left to fill out is the 'device for boot loader installation' field. I have a boot SSD and a general storage HDD. Where should I tell it to put the boot loader? Thanks!

Not enough free space on /boot to upgrade - already cleaned old kernels! https://askubuntu.com/questions/746232/not-enough-free-space-on-boot-to-upgrade-already-cleaned-old-kernels

I have an Ubuntu base update which can't be installed because...

The upgrade needs a total of 178 M free space on disk '/boot'.   
Please free at least an additional 54.7 M of disk space on '/boot'.

I know this is a FAQ and I've been browsing countless Stack Exchange threads and forum posts. They all suggest to clean old kernels in various ways, but I have none there except the very last one. Trash is empty (12K). /boot size is 250M.

Here is the result of ls -lh -a with the command prompt at /boot

/boot> ls -lh -a
total 97M
drwxr-xr-x  5 root root 1.0K Mar 15 10:44 .
drwxr-xr-x 23 root root 4.0K Mar 15 10:44 ..
-rw-r--r--  1 root root 1.3M Feb 26 04:17 abi-4.2.0-30-generic
-rw-r--r--  1 root root 181K Feb 26 04:17 config-4.2.0-30-generic
drwx------  3 root root 4.0K Jan  1  1970 efi
drwxr-xr-x  5 root root 1.0K Mar 15 10:44 grub
-rw-r--r--  1 root root  12M Mar 15 10:44 initrd.img-4.2.0-27-generic.old-dkms
-rw-r--r--  1 root root  34M Mar  1 21:08 initrd.img-4.2.0-30-generic
-rw-r--r--  1 root root  33M Mar  1 21:07 initrd.img-4.2.0-30-generic.old-dkms
drwx------  2 root root  12K Oct 22 23:42 lost+found
-rw-r--r--  1 root root 179K Aug 27  2015 memtest86+.bin
-rw-r--r--  1 root root 181K Aug 27  2015 memtest86+.elf
-rw-r--r--  1 root root 181K Aug 27  2015 memtest86+_multiboot.bin
-rw-------  1 root root 3.6M Feb 26 04:17 System.map-4.2.0-30-generic
-rw-------  1 root root 6.5M Feb 26 04:17 vmlinuz-4.2.0-30-generic
-rw-------  1 root root 6.5M Feb 27 17:51 vmlinuz-4.2.0-30-generic.efi.signed

And here the result of df -h with the command prompt at /boot

/boot>  df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            9.8G     0  9.8G   0% /dev
tmpfs           2.0G  9.8M  2.0G   1% /run
/dev/dm-0       450G  225G  202G  53% /
tmpfs           9.8G  141M  9.7G   2% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           9.8G     0  9.8G   0% /sys/fs/cgroup
/dev/sda2       237M  107M  118M  48% /boot
/dev/sda1       511M  3.4M  508M   1% /boot/efi
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           2.0G   84K  2.0G   1% /run/user/1000

Why does it say total 97M? And with df it says 107M...

Clang++ cannot find lstdc++ after system upgrade https://askubuntu.com/questions/657343/clang-cannot-find-lstdc-after-system-upgrade

I have a small project in C++ that compiled fine until I upgraded Xubuntu to 15.04. When I tried to rebuild it with cmake, this message appeared in the middle of the output:

/usr/bin/ld: cannot find -lstdc++

So, I tried writing a simple program to see if cmake was responsable for it:

int main() {
    return 0;
}

Funny thing: g++ compiles:

$ g++ main.cpp
$ ls
a.out  main.cpp
$ ./a.out
$

but when I try to use clang++...

$ clang++ main.cpp 
/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$

Trying with clang++ main.cpp -lc++ (as suggested here) or with the -static flag (here) gives the exact same error. Running with -v as suggested by clang itself, I get this:

$ clang++ main.cpp -v
Ubuntu clang version 3.6.0-2ubuntu1 (tags/RELEASE_360/final) (based on LLVM 3.6.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/4.9.2
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/5.0.1
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.7.4
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.2
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5.0.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.0.1
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
 "/usr/lib/llvm-3.6/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name main.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.25 -v -dwarf-column-info -resource-dir /usr/lib/llvm-3.6/bin/../lib/clang/3.6.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../../include/c++ -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../../include/c++/x86_64-linux-gnu -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../../include/c++/backward -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-3.6/bin/../lib/clang/3.6.0/include -internal-externc-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/ryu/Dropbox/Aperture/working/C/learn-sdl/src -ferror-limit 19 -fmessage-length 100 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/main-efcd57.o -x c++ main.cpp
clang -cc1 version 3.6.0 based upon LLVM 3.6.0 default target x86_64-pc-linux-gnu
ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../../include/c++/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../../include/c++/backward"
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../../include/c++
 /usr/local/include
 /usr/lib/llvm-3.6/bin/../lib/clang/3.6.0/include
 /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/include
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
 "/usr/bin/ld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../x86_64-linux-gnu/crt1.o /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/crtbegin.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../.. -L/usr/lib/llvm-3.6/bin/../lib -L/lib -L/usr/lib /tmp/main-efcd57.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/crtend.o /usr/bin/../lib/gcc/x86_64-linux-gnu/5.0.1/../../../x86_64-linux-gnu/crtn.o
/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$

In witch I couldn't find the source of the error.

I tried purging and reinstalling build-essential, clang and g++, but had no luck. I also googled it, but only found this link from 2013 (yes, I noticed this is for Red Hat).

So, my questions are:

  1. How do I fix this? (Apparently, reinstalling for the third/fourth time fixed this.)

  2. Why did this happen in the first place, since the only thing I did was upgrade the system?

HPLIP will not open https://askubuntu.com/questions/384952/hplip-will-not-open

I have just installed HPLIP using the Ubuntu Software Centre in to 12.04LTS. The icon has appeared in Unity, but nothing happens when I click on it. I have run hp-check -t in terminal and get the following output:

nigel@nigel-F3Se:~$ hp-check -t
error: Unable to locate models.dat file

HP Linux Imaging and Printing System (ver. 0.0.0)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2011-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                      
3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
will check both of the above cases (both compile- and run-time dependencies).   

Saving output in log file: hp-check.log

Initializing. Please wait...
|Traceback (most recent call last):
  File "/usr/bin/hp-check", line 206, in <module>
    core.init()
  File "/usr/share/hplip/installer/core_install.py", line 412, in init
    self.distro_name = self.distros_index[self.distro]
KeyError: 0

I have HPLIP installed on two other computers using 12.04LTS without this problem. Any ideas or guidance would be much appreciated.

Ubuntu Server 12.04 boot DHCP, cannot find hard disk https://askubuntu.com/questions/166828/ubuntu-server-12-04-boot-dhcp-cannot-find-hard-disk

I am trying to set up Ubuntu Server 12.04 LTS on my old Dell desktop for a LAMP home testing server. The installation went fine, but when I start up, I do not see the the grub bootloader (which I reinstalled in Recovery mode).

I flagged /dev/sda5 as my bootable partition, but it looks like it is still trying to boot from the network. It is plugged directly to my router via Ethernet.

I was reluctant to post because I feel like this is a stupid question, but I am still learning, so any help setting up this LAMP server is greatly appreciated!

https://i.sstatic.net/1zB9n.jpg ~2-5 minutes, it tries to boot from DHCP?

enter image description here PXE-E53: No bootfile name received. Does not find my bootable partition.

Enable Dolby 5.1 or at least subwoofer on Acer laptop? https://askubuntu.com/questions/111920/enable-dolby-5-1-or-at-least-subwoofer-on-acer-laptop

I have Dolby Virtual Surround Sound 5.1 speakers with Tuba CineBass Subwoofer on Acer laptop (mine is 5951G but there is also bunch of models with similar configuration of speakers with/without subwoofer). In Windows it works and sounds amazingly after installing both Realtek drivers and Dolby software from Acer support site. In Ubuntu only 2-channel sound is working.

How can I enable virtual 5.1 sound or at least subwoofer?

Is it possible to make writing to .bash_history immediate? https://askubuntu.com/questions/67283/is-it-possible-to-make-writing-to-bash-history-immediate

I often open lots and lots of terminals (right now, I have seven open on this workspace) and I often search history with grep to find a command I've just written recently, but I don't want to hunt down the terminal and then scroll up and hunt for it.

Sometimes my terminals close without exit, and everything I've written in them is lost. Sometimes, I needed something I'd written in a terminal that was killed.

Is there a way to make it so that each terminal writes to .bash_history immediately? Or at least once a minute, or something like that?