Changed some ethtool settings on ubuntu server and it stopped working correctly [closed] https://askubuntu.com/questions/1560429/changed-some-ethtool-settings-on-ubuntu-server-and-it-stopped-working-correctly

**I have ubuntu server 20.04

A few days ago I decided to work to bring an old laptop I have into a movie server. It worked great until today when a speed test reported 100mb/s of download. It should be 1000mb/s as it was the days before. The cable is correct. I searched forums and some guy recommend to paste this ethtool command: ethtool -s (network-id) speed 1000 duplex full autoneg off

What it only did was to immediately disconnect me from ssh and not let me connect again. It also floods the terminal with below every 10 seconds or so. Another thing is that the laptop takes much longer to boot now and a purple screen is appearing during that process.

Help anyone? The below is what the terminal gets spammed with: (sorry for image, can't copy this time beacause it's not ssh..)

https://imgur.com/a/4PHDC6H

Axioo Hype 3 G11 - No Internal Speaker, Only HDMI Output - Ubuntu 24.04 https://askubuntu.com/questions/1560428/axioo-hype-3-g11-no-internal-speaker-only-hdmi-output-ubuntu-24-04

Masalah:

Laptop Axioo Hype 3 G11 dengan Ubuntu 24.04. Soundcard terdeteksi sebagai Intel Tiger Lake-LP Smart Sound Technology Audio Controller, tetapi hanya menampilkan output HDMI (4 device), tidak ada speaker internal/analog.

Spesifikasi:

  • Laptop: Axioo Hype 3 G11
  • CPU: Intel 11th Gen (Tiger Lake)
  • OS: Ubuntu 24.04 LTS
  • Kernel: 6.14.0-36-generic (juga tested dengan 6.8.0-87)
  • Audio Controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8]
  • Subsystem: Emdoor Digital Technology Co., Ltd

Apa yang Sudah Dicoba:

  1. Install firmware-sof-signed, alsa-base, pulseaudio
  2. Parameter GRUB: snd_intel_dspcfg.dsp_driver=3, snd_hda_intel.model=dell-headset-multi, dll
  3. Berbagai model HDA: dell-headset-multi, laptop-dmic, alc256-dac, auto
  4. Driver SOF (snd_sof_pci_intel_tgl) dan HDA (snd_hda_intel)
  5. hdajackretask - tidak ada pin internal speaker yang terdeteksi
  6. Nonaktifkan Secure Boot di BIOS

Output Penting:

lspci -vvv -s 00:1f.3:

How to read desktop notifications in the terminal https://askubuntu.com/questions/1560426/how-to-read-desktop-notifications-in-the-terminal

I am trying to create a script that listens to the desktop notifications dbus and print the sender and message to the command line.... the final goal is to run a specific function when I get a specific notification.

I tried using dbus-monitor --session which prints stuff out when I get a notification, but I don't see the actual notification. I had Gemini AI help me write some python code, this code runs, but nothing happens when I get a notification.

import asyncio
from dbus_next.aio import MessageBus
from dbus_next.constants import BusType, MessageType
from dbus_next import Message, Variant
import logging

# Set up basic logging
# Note: We are only using INFO level for connection status, 
# message processing is handled via print() for clarity.
logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')

# --- DBus Interface Constants ---
# The D-Bus service name for notifications
NOTIF_SERVICE = 'org.freedesktop.Notifications'
# The D-Bus object path for notifications
NOTIF_PATH = '/org/freedesktop/Notifications'
# The D-Bus interface for notifications
NOTIF_INTERFACE = NOTIF_SERVICE

# ANSI escape codes for bold text
BOLD_START = '\033[1m'
BOLD_END = '\033[0m'

def message_handler(message):
    """
    Generic handler for D-Bus messages, focusing only on new notifications 
    (Notify method calls) and printing the sender, summary, and message body.
    """
    if message.interface == NOTIF_INTERFACE:
        
        # --- Handle New Notification (Method Call) ---
        if message.message_type == MessageType.METHOD_CALL and message.member == 'Notify':
            # Notify arguments: (app_name, replaces_id, app_icon, summary, body, actions, hints, expire_timeout)
            
            # Ensure we have enough arguments (at least app_name and body)
            if len(message.body) >= 8:
                app_name = message.body[0] # App Name (Sender)
                summary = message.body[3] # Notification Summary (Title)
                body_text = message.body[4] # Notification Body (Main message)
                
                # Combine summary and body for the message
                # If both exist, use "Summary: Body". If only one exists, use that.
                if summary and body_text:
                    message_content = f"{summary}: {body_text}"
                elif summary:
                    message_content = summary
                else:
                    message_content = body_text

                output = f"[{app_name}] {message_content}"
                
                # Apply bold formatting if the sender is Discord (case-insensitive check)
                if app_name.lower() == 'discord':
                    output = f"{BOLD_START}{output}{BOLD_END}"
                
                print(output)
            
        # Log other relevant messages (like replies to GetCapabilities)
        else:
            logging.debug(f"[D-Bus Message] Type: {message.message_type.name}, Member: {message.member}, Body: {message.body}")


async def notification_listener(bus):
    """
    Configures the bus to listen for all messages related to the 
    org.freedesktop.Notifications interface.
    """
    # 1. Add the generic message handler
    bus.add_message_handler(message_handler)

    # 2. Use AddMatch to filter messages directed to this interface
    # This is crucial for catching the 'Notify' method call.
    # The rule is updated to match on the specific method call ('Notify') rather than 
    # relying solely on the destination service, which is a more robust way to capture 
    # new notification requests.
    match_rule = f"type='method_call', interface='{NOTIF_INTERFACE}', member='Notify'"
    
    await bus.call(
        Message(
            destination='org.freedesktop.DBus',
            path='/org/freedesktop/DBus',
            interface='org.freedesktop.DBus',
            member='AddMatch',
            signature='s',
            body=[match_rule]
        )
    )

    logging.info("Listening for ALL D-Bus Messages on org.freedesktop.Notifications interface.")
    logging.info("To test, send a notification, e.g., 'notify-send Hello World'")
    
    # Keep the asyncio loop running indefinitely
    await asyncio.get_running_loop().create_future()


async def main():
    """
    The main entry point for the script.
    """
    try:
        logging.info(f"Attempting to connect to the D-Bus session bus...")
        bus = await MessageBus(bus_type=BusType.SESSION).connect()
        logging.info("Successfully connected to the D-Bus session bus.")
        
        # Attempt to call the GetCapabilities method to ensure the service is running
        reply = await bus.call(
            Message(
                destination=NOTIF_SERVICE,
                path=NOTIF_PATH,
                interface=NOTIF_INTERFACE,
                member='GetCapabilities',
                signature='',
                body=[]
            )
        )
        
        if reply.message_type == MessageType.METHOD_RETURN:
            caps = reply.body[0]
            logging.info(f"Notification service capabilities retrieved: {caps}")
            await notification_listener(bus)
        else:
            # This often means no notification daemon (like dunst or a desktop environment's service) is running.
            logging.error("Could not retrieve notification service capabilities. Is a notification daemon running?")
    except Exception as e:
        logging.error(f"Error during D-Bus setup or initial capability check: {e}")

if __name__ == "__main__":
    try:
        # Run the main coroutine
        asyncio.run(main())
    except KeyboardInterrupt:
        logging.info("Notification listener stopped by user.")
    except Exception as e:
        logging.error(f"An unexpected error occurred: {e}")

It seems like this should be a simple task.... I would rather use a bash script if I could, but python would be fine too.

I did find this post which had a python script that I had to be update to work with py3. This script runs but nothing happens when I get a notification or send one via notify-send

import gi
gi.require_version("Gtk", "3.0") # or "4.0" depending on your target GTK version
from gi.repository import Gtk
import dbus
from dbus.mainloop.glib import DBusGMainLoop

def filter_cb(bus, message):
    # the NameAcquired message comes through before match string gets applied
    if message.get_member() != "Notify":
        return
    args = message.get_args_list()
    # args are
    # (app_name, notification_id, icon, summary, body, actions, hints, timeout)
    print("Notification from app '%s'" % args[0])
    print("Summary: %s" % args[3])
    print("Body: %s", args[4])


DBusGMainLoop(set_as_default=True)
bus = dbus.SessionBus()
bus.add_match_string(
    "type='method_call',interface='org.freedesktop.Notifications',member='Notify'")
bus.add_message_filter(filter_cb)
Gtk.main()

Thanks.

Ubuntu 24.04.03 LTS problem python3 (3.12.3-0ubuntu2.1) after apt full-upgrade https://askubuntu.com/questions/1560424/ubuntu-24-04-03-lts-problem-python3-3-12-3-0ubuntu2-1-after-apt-full-upgrade

I'm running Ubuntu 24.04.03 LTS (GNU/Linux 6.8.0-88-generic x86_64) on a server (CLI only). With the last updates I run into a problem with python3. System tries to update to python3 (3.12.3-0ubuntu2.1) and I get this error:

running python rtupdate hooks for python3.12...
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)

Can you please help me with that issue? I tried different approaches with no success as of now. E.g. I found this: dpkg dependency problems: Package python3 is not configured yet

and did

sudo apt --fix-broken install

sudo apt install python3-uno system-config-printer-common system-config-printer
sudo apt --fix-broken install

sudo apt satisfy [package name] with python3

Please find output of sudo dpkg --configure -a (sorry for it to be german):

https://pastebin.com/9kpbu2my

If you are missing some infos please let me know. THX! Alex

Quit Thunderbird to update? https://askubuntu.com/questions/1560423/quit-thunderbird-to-update

I keep getting these notifications that there's an update available for Thunderbird and that I should quit the program in order to perform the update. I find this particularly odd since the time when I receive these notifications is just as I've booted my machine and logged in, so Thunderbird isn't even running yet. I have tried starting it only so that I can then immediately quit it, but that doesn't stop those notifications from appearing the next time I boot the machine.

Is there perhaps some daemon running in the background that I'd need to kill so that App Center Updates will finally be satisfied that the thing isn't running and the update may be executed?

I've also received the same kind of notifications about updates for Firefox.

I'm running Ubuntu 24.04.2 LTS on an Acer Aspire A515-46. And the currently installed Thunderbird is 140.4.0esr (64-bit).

Change Directory cd /home/Downloads "Directory Doesn't Exist" but cd /home does! https://askubuntu.com/questions/1560421/change-directory-cd-home-downloads-directory-doesnt-exist-but-cd-home-does

Something simple, something stupid I'm sure.

Change directory - In the file explorer, the file is located in /home/Downloads.

So tried to change the directory in terminal using cd

cd /home/Downloads

"NO Directory Exists"

so then tried

cd /home

No problems.

What the heck is the voo-doo-syntax that is preventing terminal from changing directory into the downloads folder?

Thanks!

Server install got stuck https://askubuntu.com/questions/1560418/server-install-got-stuck

I'm installing Ubuntu in an HP Pavilion DV6 notebook with a USB flash drive. I first boot it in Rufus with MBR and check the option that tries to repair it for old PCs. Finally when I start my laptop with my USB inserted, it gets stuck at a Welcome to GRUB! screen.

No windows warning https://askubuntu.com/questions/1560415/no-windows-warning

Why is there a "No Windows" warning when the mouse cursor enters a screen with no windows? This is the most ridiculous and unnecessary caveat ever seen on a Linux distribution.

$uname -a
Linux herobox 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

No Audio on fresh Ubuntu v24 install https://askubuntu.com/questions/1560414/no-audio-on-fresh-ubuntu-v24-install

this is my first post to this community. I have recently installed a copy of Ubuntu on my Lenovo Legion 7i but have encountered audio issues with the in-built speakers. External monitors and wired headphones have audio but when I attempt to use the laptop speakers, there is no sound. I have tried reinstalling Pulse audio, WirePlumber, restarting, checking BIOS settings, etc. but with no avail. The system is detecting my laptop speakers and the graphic shows it attempting to play sound albeit weak on max volume. My sound worked on my previous Linux distros, but doesn't work on Ubuntu or the try Ubuntu feature from the USB installer.

"Unsupported file ./zoom_amd64.deb given on command line" How does one make it ...supported? https://askubuntu.com/questions/1560413/unsupported-file-zoom-amd64-deb-given-on-command-line-how-does-one-make-it

As per the instructions found at Zoom's [install page][1]:

Via terminal enter sudo apt install ./zoom_amd64.deb

Doing so results in the following:

E: Unsupported file ./zoom_amd64.deb given on commandline

I've no clue how to proceed, as there doesn't appear to be a "Zoom" forum linked to these install pages.

Thank you for your help, apologies for my ignorance.

Upgrading Ubuntu from 25.04 to 25.10: No new release found https://askubuntu.com/questions/1560393/upgrading-ubuntu-from-25-04-to-25-10-no-new-release-found

I did the first two steps successfully:

sudo apt update
sudo apt upgrade

Then:

sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.

I currently am on Kubuntu 25.04, trying to upgrade to Kubuntu 25.10 (this last release have been available for a while).

What is wrong?


I re-ran the previous commands to collect their output (here is a partial copy, due to its length):

~> sudo apt update
[sudo: authenticate] Password: 
Hit:1 http://gb.archive.ubuntu.com/ubuntu questing InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
...
Get:33 http://security.ubuntu.com/ubuntu questing-security/multiverse amd64 Components [212 B]
Fetched 5,437 kB in 1s (4,907 kB/s)                                      
788 packages can be upgraded. Run 'apt list --upgradable' to see them.
Notice: Ignoring file 'sublime-text.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

~> sudo apt upgrade
...
Summary:
  Upgrading: 8, Installing: 0, Removing: 0, Not Upgrading: 780
  Download size: 12.6 MB
  Space needed: 20.5 kB / 253 GB available

Notice: Ignoring file 'sublime-text.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Notice: Some packages may have been kept back due to phasing.
Get:1 http://gb.archive.ubuntu.com/ubuntu questing-updates/main amd64 initramfs-tools all 0.150ubuntu3.1 [8,440 B]
Get:2 http://gb.archive.ubuntu.com/ubuntu questing-updates/main amd64 initramfs-tools-core all 0.150ubuntu3.1 [50.7 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu questing-updates/main amd64 initramfs-tools-bin amd64 0.150ubuntu3.1 [33.1 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu questing/universe amd64 libboost1.83-doc all 1.83.0-5ubuntu1 [7,335 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu questing/universe amd64 libpmix-dev amd64 5.0.7-1 [4,067 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu questing/universe amd64 libpmix2t64 amd64 5.0.7-1 [712 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu questing-updates/main amd64 wireplumber amd64 0.5.10-3ubuntu1 [97.8 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu questing-updates/main amd64 libwireplumber-0.5-0 amd64 0.5.10-3ubuntu1 [292 kB]
Fetched 12.6 MB in 1s (18.0 MB/s)             
N: Ignoring file 'sublime-text.list.migrate' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
(Reading database ... 1231142 files and directories currently installed.)
Preparing to unpack .../0-initramfs-tools_0.150ubuntu3.1_all.deb ...
Unpacking initramfs-tools (0.150ubuntu3.1) over (0.147ubuntu1.1) ...
Preparing to unpack .../1-initramfs-tools-core_0.150ubuntu3.1_all.deb ...
Unpacking initramfs-tools-core (0.150ubuntu3.1) over (0.147ubuntu1.1) ...
Preparing to unpack .../2-initramfs-tools-bin_0.150ubuntu3.1_amd64.deb ...
Unpacking initramfs-tools-bin (0.150ubuntu3.1) over (0.147ubuntu1.1) ...
Preparing to unpack .../3-libboost1.83-doc_1.83.0-5ubuntu1_all.deb ...
Unpacking libboost1.83-doc (1.83.0-5ubuntu1) over (1.83.0-4.2ubuntu1) ...
Preparing to unpack .../4-libpmix-dev_5.0.7-1_amd64.deb ...
Unpacking libpmix-dev:amd64 (5.0.7-1) over (5.0.6-5) ...
Preparing to unpack .../5-libpmix2t64_5.0.7-1_amd64.deb ...
Unpacking libpmix2t64:amd64 (5.0.7-1) over (5.0.6-5) ...
Preparing to unpack .../6-wireplumber_0.5.10-3ubuntu1_amd64.deb ...
Unpacking wireplumber (0.5.10-3ubuntu1) over (0.5.8-1) ...
Preparing to unpack .../7-libwireplumber-0.5-0_0.5.10-3ubuntu1_amd64.deb ...
Unpacking libwireplumber-0.5-0:amd64 (0.5.10-3ubuntu1) over (0.5.8-1) ...
Setting up libwireplumber-0.5-0:amd64 (0.5.10-3ubuntu1) ...
Setting up libboost1.83-doc (1.83.0-5ubuntu1) ...
Setting up libpmix2t64:amd64 (5.0.7-1) ...
Setting up wireplumber (0.5.10-3ubuntu1) ...
Setting up libpmix-dev:amd64 (5.0.7-1) ...
Setting up initramfs-tools-bin (0.150ubuntu3.1) ...
Setting up initramfs-tools-core (0.150ubuntu3.1) ...
Setting up initramfs-tools (0.150ubuntu3.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.42-0ubuntu3) ...
Processing triggers for initramfs-tools (0.150ubuntu3.1) ...
update-initramfs: Generating /boot/initrd.img-6.17.0-7-generic

~> sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.
Cannot see icon for Eclipse application https://askubuntu.com/questions/1560384/cannot-see-icon-for-eclipse-application

I have a new Ubuntu install and a newly downloaded and expanded eclipse application. I put the following eclipse.desktop into ~/.local/share/applications:

[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse IDE
Exec=/opt/eclipse/eclipse-java-2025-09-R-linux-gtk-x86_64/eclipse/eclipse  # Path to the Eclipse executable
Icon=/opt/eclipse/eclipse-java-2025-09-R-linux-gtk-x86_64/eclipse/icon.xpm # Path to the Eclipse icon file (often icon.xpm)
Terminal=false
Categories=Development;IDE;
StartupWMClass=Eclipse

When I use "Show Apps", I would like to be able to see Eclipse, preferably without searching for it. For now, I enter "eclipse" into the search field, and Eclipse shows up as an empty rectangle just below the search field. If I click on that, eclipse runs, but I was expecting the Eclipse icon in that rectangle.

I have read two other posts on Ask Ubuntu and tried suggestions from those. I have verified that icon.xpm is in the directory specified in the desktop file (i.e., in the directory with the executable). I have used find to verify that this is the only eclipse.desktop file on the disk. I have eliminated this desktop file and double-clicked on the executable from the Files application; Eclipse runs, but no eclipse.desktop file appears in ~/.local/share/applications or anywhere else.

Can someone help me figure out how to get the Eclipse icon working for the Show Apps app?

Is it possible to shutdown the LUKS unlocking by timeout? https://askubuntu.com/questions/1560334/is-it-possible-to-shutdown-the-luks-unlocking-by-timeout

I wonder if I can set the timeout to the boot time LUKS unlocking and let the PC shut down on timeout.

In other words, I want the PC to shut down automatically when I leave it without typing the password 1min.

This is particularly useful for laptops. Some computers turn on by shock or some other event. Without a timeout, the PC will wait for the password until the battery is fully discharged.

Screenshot of the disk unlocking screen.

grub-install: error: unknown filesystem https://askubuntu.com/questions/1560277/grub-install-error-unknown-filesystem

I'm running Ubuntu 22.04 in a HDD (/dev/sdd) and I have a 2T SSD disk (/dev/sdb) where I have another ubuntu installed and that is partitioned like this:

$ sudo gdisk -l /dev/sdb
GPT fdisk (gdisk) version 1.0.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
Model: Samsung SSD 870 
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): C04E1719-7349-4D27-BB25-B8FDF867C2C1
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4205 sectors (2.1 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1015807   495.0 MiB   EF00  EFI system partition
   2         1015808         3112959   1024.0 MiB  8300  Linux filesystem
   3         3112960       259753983   122.4 GiB   8300  Linux filesystem
   4       259753984      3869278207   1.7 TiB     8300  Linux filesystem
   5      3869280256      3907028991   18.0 GiB    8200 

sdb2 is the boot partition, and sdb3 and sdb4 root and home respectively.

The EFI partition (/dev/sdb1) has boot and esp flags:

$ sudo parted /dev/sdb print 
Model: ATA Samsung SSD 870 (scsi) 
Disk /dev/sdb: 2000GB 
Sector size (logical/physical): 512B/512B 
Partition Table: gpt 
Disk Flags:  

Number  Start   End     Size    File system     Name                  Flags 
1      1049kB  520MB   519MB   fat32           EFI system partition  boot, esp 
2      520MB   1594MB  1074MB  ext4            Linux filesystem 
3      1594MB  133GB   131GB   ext4            Linux filesystem 
4      133GB   1981GB  1848GB  ext4            Linux filesystem 
5      1981GB  2000GB  19,3GB  linux-swap(v1)                        swap

When I try to install grub in that partition it fails with the error:

grub-install: error: unknown filesystem.

I've seen other people say that this is solved by disabling the metadata_csum_seedfeature but in my case that doesn't solve the issue.

To install grub in /dev/sdb I mount root (/dev/sdb3) in /mnt, then I mount boot partition in /mnt/boot and efi partition in /mnt/boot/efi. Then I bind my running ubuntu's dev, proc and sys with the mounted root and chroot to it. When I execute grub-installcommand to install grub it fails with the error mentioned before:

$ sudo mount /dev/sdb3 /mnt/
$ sudo mount /dev/sdb2 /mnt/boot/
$ sudo mount /dev/sdb1 /mnt/boot/efi/
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /proc /mnt/proc
$ sudo mount --bind /sys /mnt/sys
$ sudo chroot /mnt
root@LINUX-WS:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
Installing for x86_64-efi platform.
grub-install: error: unknown filesystem.

UPDATE:

if I run the grub-install command with high verbosity (-vv) I get a Read out of rangeerror before failing, maybe this is a hint of what it is happening but I have no idea.

root@LINUX-WS:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB -vv
[...]
grub-core/kern/fs.c:56: Detecting cbfs... 
grub-core/kern/disk.c:420: Read out of range: sector 0x200000 (attempt to read or write outside of partition). 
grub-core/kern/fs.c:78: cbfs detection failed. 
grub-core/kern/fs.c:56: Detecting btrfs... 
grub-core/kern/fs.c:78: btrfs detection failed. 
grub-core/kern/fs.c:56: Detecting bfs... 
grub-core/kern/fs.c:78: bfs detection failed. 
grub-core/kern/fs.c:56: Detecting afs... 
grub-core/kern/fs.c:78: afs detection failed. 
grub-core/kern/fs.c:56: Detecting affs... 
grub-core/kern/fs.c:78: affs detection failed. 
grub-install: error: unknown filesystem.

UPDATE2: I have also tried specifying the efi directory in the grub-install command as suggested in one of the answers (although it is not needed since I'm using the default path) but I get the same error:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB /dev/sdb

I want to run ubuntu using this much faster and bigger SSD but I'm stuck here.

Any help will be much appreciated!

Ubuntu 24.04 RAID zero Raspberry Pi 5 https://askubuntu.com/questions/1559785/ubuntu-24-04-raid-zero-raspberry-pi-5

I'm going to ask a lot of questions in this post as I'm new to the Raspberry Pi and somewhat of a novice in Ubuntu. I'm going to use Raspberry Pi OS to create the raid 0 and I need some help on this with the steps, then I'm flashing Ubuntu to said RAID. I also want a better understanding of how the RAID zero works and how the hardware functions with the software. What sets the drive in RAID zero so that the OS can boot once flashed? By the way, I am using a hat. Does the Raspberry Pi have a so-called BIOS or what is the initial startup screen?

Edit: Sorry I'm having issues with what I believe is the power supply with the Pi. I suppose I could use Ubuntu to create the raid once I can get it booted into Ubuntu. It boots in raspberry Pi OS fine just not Ubuntu. If I use the third party power supply I have it boot loops before getting to the os. If I use my laptop to power and boot into Ubuntu it boots into Ubuntu but power cycles once I set up the wifi adapter. I'm waiting on the official power supply in the mail at the moment. And yes, the third-party power adapter does 5.1v at 5 amps.

Where it boot loops:

Where it boot loops

Progress: Trying boot mode NVME

usb_max_current_enable default 0 max-current 5000
Read bcm2712-rpi-5-b.dtb bytes      78100  hnd 0x33d
Read /config.txt bytes               1645  hnd 0x7e1
Read /config.txt bytes               1645  hnd 0x7e1
Read initrd.img bytes            62719588  hnd 0x33d
Read bcm2712-rpi-5-b.dtb bytes       5195  hnd 0x1ecce
Read /overlays/overlay_map.dt bytes  1491  hnd 0x1e741
Read /overlays/bcm2712d0.dtbo bytes   409  hnd 0x1ed2f
Read /overlays/hat_map.dtbo bytes     409  hnd 0x1ed2f
Read /config.txt bytes               1645  hnd 0x7e1
/overlays/sunfounder-pironman5.dtbo
Read /overlays/vc4-kms-v3d-pi5.dtbo bytes   3330  hnd 0x1ef29
Read /overlays/dwc2.dtbo bytes        801  hnd 0x1e85a
Read /cmdline.txt bytes               170  hnd 0x7e0
fs_open: 'armstub8-2712.bin'
Read vmlinuz bytes                12427790 hnd 0x2a939

Yes, I flashed one of the NVMe drives with Ubuntu in Pi OS NOT raid zero yet. I'm using a USB drive to boot into Pi OS, but can use Ubuntu once I can get it booted in Ubuntu. Now I can't boot into the Pi is due to the boot order. I can install an OS on an SD card, but I'm putting a hold on this project until I get the power supply in the mail.

Here's some more information I found on Google: The Raspberry Pi doesn't use a traditional BIOS (Basic Input/Output System) like a conventional PC. Instead, its boot process relies on a sequence of bootloaders and firmware executed by the GPU (Graphics Processing Unit), which handles initialization before the ARM CPU takes over. ⚙️ Raspberry Pi Boot Sequence

  • Initial Boot ROM: When powered on, the ARM CPU is off, and the GPU starts executing the first-stage bootloader stored in the on-chip ROM (Read-Only Memory). This code is hardwired and non-modifiable by the user.
  • SD Card or EEPROM: The ROM code's main job is to enable access to the boot media.
    • On older models (Pi 1-3), it reads the second-stage bootloader (bootcode.bin) from the SD card.
    • On newer models (Pi 4, 5), it executes a bootloader stored in the EEPROM (Electrically Erasable Programmable Read-Only Memory), which then accesses the SD card or other boot devices. The EEPROM is what most closely resembles a configurable "BIOS" on these newer models, allowing for boot order changes.
  • GPU Firmware: The bootloader loads the GPU firmware (usually *start.elf files) into memory and runs it. This is the third stage and does the bulk of the system initialization, including:
    • Enabling the SDRAM (main memory).
    • Reading configuration parameters from the config.txt file on the boot partition, which acts as the main non-volatile configuration method (the equivalent of changing settings in a PC BIOS menu).
  • Kernel Handover: Finally, the firmware loads the OS kernel image (kernel*.img) and any associated files (like cmdline.txt) into RAM, releases the ARM CPU from reset, and starts its execution, beginning the OS boot. In summary, the config.txt file and, on modern Pis, the EEPROM bootloader, provide the configuration capabilities that a traditional BIOS would on a PC.

Some more: The Raspberry Pi's boot process is unique because the GPU initiates the boot sequence, not the ARM CPU.

Stage 1 (ROM): When powered on, the ARM core is off, and the GPU runs a proprietary first-stage bootloader from its internal ROM. Stage 2 (SD Card/EEPROM): This bootloader finds the boot partition on the SD card (or EEPROM on Pi 4) and loads the second-stage bootloader (like bootcode.bin or a newer sequence) into the GPU's memory. Stage 3 (Firmware): The second-stage loader enables SDRAM and loads the GPU firmware (e.g., start*.elf), which initializes the system hardware. Kernel Handover: The GPU firmware then reads files like config.txt and loads the Linux kernel image (kernel*.img) into RAM. Finally, it releases the ARM core from reset and points it to the kernel's entry point, which takes over to run the operating system.

Some more information that I found. I'm going to try this in the next couple days:

You typically create a RAID 0 array on a Raspberry Pi 5 running Ubuntu using mdadm for software RAID, which requires two or more storage devices (like SSDs via the Pi's PCIe slot or USB). Steps to create RAID 0:

  • Install mdadm: Install the RAID management utility.

    sudo apt update && sudo apt install mdadm

  • Identify Drives: Use lsblk to find the device names (e.g., /dev/sda1, /dev/sdb1) you want to use for the RAID array. Ensure they are unmounted and partitioned correctly (type fd for Linux RAID autodetect).
  • Create RAID 0 Array: Use mdadm to create the striped array (-level=0).

    sudo mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1 (Replace /dev/sda1 and /dev/sdb1 with your partition names and change --raid-devices if using more than two).

  • Format Array: Create a filesystem on the new RAID device (e.g., ext4 or f2fs).

    sudo mkfs.ext4 /dev/md0

  • Save Configuration and Mount: Save the array configuration and set up a mount point.

    sudo mkdir /mnt/raid0 sudo mount /dev/md0 /mnt/raid0 sudo mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf

  • Update initramfs: This is often needed to ensure the RAID is detected properly on boot.

    sudo update-initramfs -u

Caution: RAID 0 provides no redundancy; if one drive fails, you lose all data in the array.

Some more things I'm going to be doing: To overclock your Raspberry Pi 5 to 3.0 GHz on Ubuntu, you need to edit the boot configuration file to adjust the CPU frequency and potentially the voltage. ⚠️ Prerequisites & Warning

  • Cooling is Essential: Running at 3.0 GHz will generate significantly more heat. You must use an effective active cooling solution (e.g., the official Active Cooler or a comparable third-party solution). Overheating can cause throttling, instability, or permanent damage.

  • Power Supply: Use the Official Raspberry Pi 5V 5A USB-C Power Supply to ensure sufficient power delivery.

  • Warranty: Overclocking your Raspberry Pi may void your warranty. Overclocking Steps

  • Edit the Configuration File: Open the config.txt file in your terminal using a text editor like nano: sudo nano /boot/firmware/config.txt

  • Add Overclocking Parameters: Scroll to the end of the file and add the following lines. The arm_freq sets the CPU clock speed to 3000 MHz (3.0 GHz). You may also want to increase the GPU frequency (gpu_freq).

    Overclock settings for 3.0 GHz (Requires Active Cooling)

arm_freq=3000 gpu_freq=1000 over_voltage_delta=50000

  • arm_freq=3000: Sets the CPU frequency to 3000 MHz (3.0 GHz).
  • gpu_freq=1000: Sets the GPU frequency to 1000 MHz (1.0 GHz), up from the default 910 MHz.
  • over_voltage_delta=50000: Optional but often necessary for stability at 3.0 GHz, this increases the dynamic voltage by 50,000 microvolts (0.05V). Start without it first; if the system is unstable, add this line. Avoid the older over_voltage parameter as over_voltage_delta is recommended.
  • Save and Exit:
    • Press Ctrl+X
    • Press Y to confirm saving.
    • Press Enter to confirm the filename.
  • Reboot: Reboot your Raspberry Pi for the changes to take effect: sudo reboot

Verification and Testing

  • Check Clock Speed: After rebooting, verify the clock speed in the terminal: vcgencmd measure_clock arm

    The output should show a frequency close to or at 3000000000 (3.0 GHz) when the CPU is under load.

  • Test Stability: Run a stress test (like stress-ng) for a long period to check for stability and monitor the temperature. If the system crashes or becomes unstable, you may need to:

    • Increase over_voltage_delta (in small increments, e.g., 5000 to 10000 \mu V at a time).
    • Lower the arm_freq to 2900 or 2800.
    • Improve your cooling.

Stress testing: The most common way to stress test your Raspberry Pi 5 running Ubuntu is by using the stress or stress-ng utility, often paired with s-tui for real-time monitoring. Stress Test Steps

  • Install the Stress and Monitoring Tools: Open a terminal and run: sudo apt update sudo apt install stress s-tui

  • Start the Monitor: Start the terminal-based monitoring tool: s-tui

    This tool allows you to see the CPU utilization, temperature, and frequency in real-time.

  • Run the Stress Test: While s-tui is running, navigate to the Stress mode within the application (usually by pressing the arrow keys and then the spacebar or Enter). This will initiate a full-load test on the CPU using the stress package. Alternatively, you can run a stress test directly from a separate terminal window, for example, to stress all 4 CPU cores for 60 seconds: stress --cpu 4 --timeout 60s

    • --cpu N: Creates N workers stressing the CPU with square root calculations (use 4 for RPi 5's main cores).
    • --timeout S: Runs the test for S seconds. ⚠️ Important Notes
  • Cooling: Ensure your Raspberry Pi 5 has adequate cooling (fan/heatsink) before running stress tests, as the temperature will rise quickly. The system will throttle performance around 85^\circ\text{C} to prevent damage.

  • Monitoring: Keep a close eye on the temperature in s-tui to ensure it doesn't get too high for your cooling setup.

  • Other Tools: You can also install stress-ng (sudo apt install stress-ng) for more complex stress options, or use a script combined with vcgencmd measure_temp to log temperature and throttling status

Ubuntu Server installer fails on Intel Arrow Lake (Ultra 9 285K) + Supermicro X14SAZ-F https://askubuntu.com/questions/1557302/ubuntu-server-installer-fails-on-intel-arrow-lake-ultra-9-285k-supermicro-x1

Hardware:

  • CPU: Intel Core Ultra 9 285K (Arrow Lake)
  • Motherboard: Supermicro X14SAZ-F (BIOS 1.0, dated 04/17/2025)

Problem: All Ubuntu installer ISOs freeze immediately after GRUB while only printing 1 (or 2 depending on TPM) lines:

EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9

Complete lockup - no keyboard, no output, inoperative numlock, despite testing with earlyprintk.

AlmaLinux 10 (kernel 6.12.0) boots perfectly from USB installer, so the Hardware and Bios are fine.

Tested (all failed):

  • Ubuntu 22.04.5, 24.04.3 (standard + HWE 6.14), 25.10
  • Boot parameters tried:
    • nomodeset
    • nomodeset acpi=off
    • nomodeset noapic acpi=off
    • nomodeset acpi=off noapic nolapic nosmp
    • nomodeset intel_iommu=off iommu=off
    • nomodeset debug ignore_loglevel earlyprintk=vga,keep (no extra output)
    • nomodeset earlyprintk=efifb debug (no extra output)
    • gfxpayload=text
    • Various video= parameters
    • dis_ucode_ldr
  • Multiple displays, TPM on/off

Any ideas welcome.

UBUNTU 23.10, how set Alt-Shift conbination shortcut to switch languages? https://askubuntu.com/questions/1497610/ubuntu-23-10-how-set-alt-shift-conbination-shortcut-to-switch-languages

I just switched from ZORIN to UBUNTU 23.10 and decided to set the switching language shortcut. I use English (US) and Greek keyboard layouts. I do the following steps:

  1. Settings
  2. Keyboard
  3. View and customize shortcuts
  4. Typing
  5. Switch to next input source.

Then I see this screen and unfortunately I can only set a combination of three keys, not two (Alt-Shift)

enter image description here

Does anyone know how to set the Alt-Shift keys to change language? Thank you in advance!

GNOME Network Displays on Ubuntu 22.04 https://askubuntu.com/questions/1489022/gnome-network-displays-on-ubuntu-22-04

I've tested several things to get my projector working with Ubuntu, but only GNOME Network Displays comes close. After establishing the connection, I get errors:

(gnome-network-displays:39996): WARNING **: 22:50:06.762: WfdClient: No resolution found, falling back to standard FullHD resolution.

(gnome-network-displays:39996): GLib-CRITICAL **: 22:50:06.901: g_source_set_callback: assertion 'source != NULL' failed

(gnome-network-displays:39996): GLib-CRITICAL **: 22:50:06.901: g_source_attach: assertion 'source != NULL' failed

What do you think may be the issue?

The projector documentation mention support for IOS and Android only.

Does VMware Workstation support guest OS access to built-in Bluetooth? https://askubuntu.com/questions/1462925/does-vmware-workstation-support-guest-os-access-to-built-in-bluetooth

I have an Ubuntu 22.04 Desktop host OS on a laptop with built-in Bluetooth and I installed VMware 17. Inside the VMware I installed Ubuntu 20.04 Desktop.

I have a bluetooth headset and I want to connect it to the guest OS, but I can't. I tried to tick the "Share Bluetooth devices with the virtual machine" under VM > Settings > USB Controller but the guest OS just keep on searching and can't find any device.

Now it appears that method is supposed to be used for Bluetooth USB dongle and not for built-in Bluetooth.

Is it possible for a guest OS to access the built-in Bluetooth of the host OS in VMware Workstation?

Cannot accept IPv6 router advertisements https://askubuntu.com/questions/1384508/cannot-accept-ipv6-router-advertisements

No matter what I try, my Ubuntu Server machine (bare metal) won't accept router advertisements. I am able to pull an IPv6 address from DHCP, ping that address from another machine, but trying to ping back doesn't work. Neither does DNS over IPv6 (likely because it's not accepting router advertisements).

Any ideas? I've run out and exhausted my knowledge of networkd, netplan and networking in general.

As far as I can tell it's because of the kernel flag net.ipv6.conf.enp4s0.accept_ra = 0.

  • If I set the flag to 1 manually, it does nothing
  • If I set the flag and reboot, it reverts to 0
  • If I set the flag and run netplan apply, it reverts to 0
  • If I set the flag and run networkctl reload, it stays at 1 but does nothing
  • If I set the flag and run networkctl reconfigure enp4s0, it reverts to 0
  • If I set the flag in /etc/sysctl.conf and reboot or sysctl -p it stays at or reverts to 0
  • If I set netplan accept-ra: true and run netplan apply it stays at or reverts to 0

Here are my configurations

  • Netplan
  ethernets:
    enp4s0:
      dhcp4: true
      dhcp6: true
      accept-ra: true
  version: 2
  • /run/systemd/network/10-netplan-enp4s0.network
[Match]
Name=enp4s0

[Network]
DHCP=yes
LinkLocalAddressing=ipv6
IPv6AcceptRA=yes

[DHCP]
RouteMetric=100
UseMTU=true
  • /etc/sysctl.conf
net.ipv6.conf.enp4s0.accept_ra = 1
  • sysctl
net.ipv6.conf.enp4s0.accept_dad = 1
net.ipv6.conf.enp4s0.accept_ra = 0
net.ipv6.conf.enp4s0.accept_ra_defrtr = 1
net.ipv6.conf.enp4s0.accept_ra_from_local = 0
net.ipv6.conf.enp4s0.accept_ra_min_hop_limit = 1
net.ipv6.conf.enp4s0.accept_ra_mtu = 1
net.ipv6.conf.enp4s0.accept_ra_pinfo = 1
net.ipv6.conf.enp4s0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.enp4s0.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.enp4s0.accept_ra_rtr_pref = 1
net.ipv6.conf.enp4s0.accept_redirects = 1
net.ipv6.conf.enp4s0.accept_source_route = 0
net.ipv6.conf.enp4s0.addr_gen_mode = 0
net.ipv6.conf.enp4s0.autoconf = 1
net.ipv6.conf.enp4s0.dad_transmits = 1
net.ipv6.conf.enp4s0.disable_ipv6 = 0
net.ipv6.conf.enp4s0.disable_policy = 0
net.ipv6.conf.enp4s0.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.enp4s0.drop_unsolicited_na = 0
net.ipv6.conf.enp4s0.enhanced_dad = 1
net.ipv6.conf.enp4s0.force_mld_version = 0
net.ipv6.conf.enp4s0.force_tllao = 0
net.ipv6.conf.enp4s0.forwarding = 0
net.ipv6.conf.enp4s0.hop_limit = 64
net.ipv6.conf.enp4s0.ignore_routes_with_linkdown = 0
net.ipv6.conf.enp4s0.keep_addr_on_down = 0
net.ipv6.conf.enp4s0.max_addresses = 16
net.ipv6.conf.enp4s0.max_desync_factor = 600
net.ipv6.conf.enp4s0.mc_forwarding = 0
net.ipv6.conf.enp4s0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.enp4s0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.enp4s0.mtu = 1500
net.ipv6.conf.enp4s0.ndisc_notify = 0
net.ipv6.conf.enp4s0.ndisc_tclass = 0
net.ipv6.conf.enp4s0.proxy_ndp = 0
net.ipv6.conf.enp4s0.regen_max_retry = 3
net.ipv6.conf.enp4s0.router_probe_interval = 60
net.ipv6.conf.enp4s0.router_solicitation_delay = 1
net.ipv6.conf.enp4s0.router_solicitation_interval = 4
net.ipv6.conf.enp4s0.router_solicitation_max_interval = 3600
net.ipv6.conf.enp4s0.router_solicitations = -1
net.ipv6.conf.enp4s0.seg6_enabled = 0
net.ipv6.conf.enp4s0.seg6_require_hmac = 0
net.ipv6.conf.enp4s0.suppress_frag_ndisc = 1
net.ipv6.conf.enp4s0.temp_prefered_lft = 86400
net.ipv6.conf.enp4s0.temp_valid_lft = 604800
net.ipv6.conf.enp4s0.use_oif_addrs_only = 0
net.ipv6.conf.enp4s0.use_tempaddr = 0
Which process is updating my /etc/hosts file? https://askubuntu.com/questions/1373410/which-process-is-updating-my-etc-hosts-file

I have edited my /etc/hosts file but when I reboot the undesirable line I edited is added to my /etc/hosts file.

What process is doing this? Where does it get the hostname and the alias from?

Is it possible to disable ipv6 using cloud-init? https://askubuntu.com/questions/1233693/is-it-possible-to-disable-ipv6-using-cloud-init

I have a cluster of raspberry pi's and I am updating the os from raspian to ubuntu 20.04. I am able to configure a static ip address and name server, but I can not figure out how to disable ipv6. The cloud-init documentation states that dhcp6 is defaulted to false, but my system still shows an ipv6 address on boot. I am new to cloud-init and figuring things out as I go along. Any help would be greatly appreciated.

Tracker process taking lot of CPU https://askubuntu.com/questions/1187191/tracker-process-taking-lot-of-cpu

I'm trying to understand what the different background processes are doing on my machine as this one is freezing from time to time. I have noticed that the tracker processes (there are several of them as you can see on the screenshots) take a lot of CPU power. I also noticed that if I kill those processes, it solves the issue and nothing weird or at least nothing visible really happen on my machine.

Do you know what is exactly the use of those processes and why they are taking so much CPU power (what are they doing with all that power?) I tried to do a couple of searches online regarding the tracker processes but I can't really understand what they do. :/

Thanks in advance for you answer, I'm really eager to learn more about Linux ! :))

screenshot tracker processes :

screenshot tracker processes

tracker -store taking a lot of CPU power :

tracker -store taking a lot of CPU power

tracker -extract taking a lot of CPU power :

tracker -extract taking a lot of cpu power

How to update ruby version to 2.5.1? https://askubuntu.com/questions/1026835/how-to-update-ruby-version-to-2-5-1

When I tried opening metasploit by

msfconsole

It showed an error

rbenv: version `2.5.1' is not installed (set by /opt/metasploit-framework/.ruby-version)

I tried

rbenv install rbx-2.5.1

its showing

BUILD FAILED (Ubuntu 16.04 using ruby-build 20160602-19-g0c35180)

Inspect or clean up the working tree at /tmp/ruby-build.20180421085159.19307
Results logged to /tmp/ruby-build.20180421085159.19307.log

Last 10 log lines:
Updating files in vendor/cache
Bundle complete! 5 Gemfile dependencies, 11 gems now installed.
Bundled gems are installed into `./vendor/bundle`
Checking gcc: found
Checking g++: found
Checking bison:./configure:1430:in ``': No such file or directory - bison (Errno::ENOENT)
    from ./configure:1430:in `check_tool_version'
    from ./configure:722:in `check_tools'
    from ./configure:1815:in `run'
    from ./configure:1995:in `<main>'

What to do now?

Tor Browser Launcher does not download Tor Browser https://askubuntu.com/questions/927633/tor-browser-launcher-does-not-download-tor-browser

I have installed Tor Browser Launcher:

sudo apt-get install torbrowser-launcher

but when I try to run Tor Browser the download always fail:

Tor Browser failed download screenshot

Note: other downloads finish properly and I can correctly verify signatures, so apparently there is problem with Tor Browser download rather than attack on the system.

For your info here is Tor Browser Launcher config:

Tor Browser Launcher settings

DNS cannot resolve hosts https://askubuntu.com/questions/897270/dns-cannot-resolve-hosts

I recently upgraded my ubuntu and suddenly lost DNS. By the looks of it, its related to https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674532. But I cannot run the update to fix the issue because it can't use DNS to conduct the update. Is there any documentation out there on how to get the DNS working again so i can run the update and fix the issue? I have tried changing the DNS server and everything and nothing is working.

cat /etc/resolv.conf

nameserver 8.8.8.8  
nameserver 8.8.4.4

cat /etc/NetworkManager/NetworkManager.conf

[main]  
plugins=ifupdown,keyfile,ofono  
dns=dnsmasq

[ifupdown]  
managed=false

dpkg -l dns | grep ii

ii avahi-dns confd      0.6.32~rc+dfsg-1ubuntu2 amd64   Avahi DNS configuration tool  
ii dnsmasq-base         2.75-1ubuntu0.16.04.1   amd64   Small caching DNS proxy and DHCP/TFTP Server  
ii dnsutils             1:9.10.3.dfsg.p4-8ubuntu1.5 amd64   Clients Provided with BIND  
ii libavahi-compact-libdnssd1:amd64    0.6.32~rc+dfsg-1ubuntu2   amd64   Avahi Apple Bonjour compatibility library  
ii libdns-export162     1:9.10.3.dfsg.p4-8ubuntu1.5 amd64   Exported DNS Shared Library  
ii libdns162:amd64      1:9.10.3.dfsg.p4-8ubuntu1.5 amd64   DNS Shared Library used by BIND  
ii libnss-mdns:amd64    0.10-7     amd64     NSS Module for Multicast DNS name resolution  

host -v www.apple.com

Trying "www.apple.com"  
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1102  
;; flags: qr rd ra; QUERY: 1; ANSWER: 4; AUTHORITY: 0, ADDITIONAL: 0  

;;QUESTION SECTION:  
;www.apple.com.     IN      A  

;;ANSWER SECTION:  
www.apple.com.  1126    IN  CNAME   www.apple.com.edgekey.net.  
www.apple.com.edgekey.net.  21568   IN  CNAME   www.apple.com.edgekey.net.globalredir.akadns.net  
www.apple.com.edgekey.net.globalredir.akadns.net.   3599    IN  CNAME   e6858.dsce9.akamaiedge.net
e6858.dsce9.akamaiedge.net. 19  IN  A   172.226.108.101

Received 182 bytes from 8.8.8.8#53 in 152 ms  
Trying "e6858.dsce9.akamaiedge.net"  
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:428  
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY:0, ADDITIONAL: 0  

;;QUESTION SECTION  
;e6858.dsce9.akamaiedge.net.    IN  AAAA  

;;ANSWER SECTION:  
e6858.dsce9.akamaiedge.net. 19  IN  AAAA    2001:559:19:988d::1aca  
e6858.dsce9.akamaiedge.net. 19  IN  AAAA    2001:559:19:988d::1aca  

Received 100 bytes from 8.8.8.8#53 in 70 ms  
Trying "e6858.dsce9.akamaiedge.net"  
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:34978  
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY:1, ADDITIONAL: 0  

;;QUESTION SECTION:  
;e6858.dsce9.akamaiedge.net.    IN  MX  

;;AUTHORITY SECITON:  
dsce9.akamaiedge.net.   179 IN  SOA n0dsce9.akamaiedge.net.   hostmaster.akamai.com.    1490629947 1000 1000 1000 1800  

Received 109 bytes from 8.8.8.8#53 in 32 ms  

dpkg -l | grep libc6

ii libc6:amd64  2.23-0ubuntu7   amd64   GNU C Library: Shared Libraries  
ii libc6-dev:amd64  2.23-0ubuntu7   amd64   GNU C Library: Development Libraries and Header Files
Are There Any VNC Servers that Work with Cinnamon DE 3 on Ubuntu 16.04? https://askubuntu.com/questions/863118/are-there-any-vnc-servers-that-work-with-cinnamon-de-3-on-ubuntu-16-04

Background

I need to remote in from Windows to Ubuntu 16.04, using Cinnamon DE 3.2.2.

However, when I try to get VNC set up, everything fails. After researching, I've found that it's because Cinnamon uses acceleration of some type.

What I've Tried

I've tried RealVNC, TightVNC, TigerVNC. I just get a black screen on the VNC Viewer.

I've tried using RDP, and I was able to get in, but only by using the Gnome Session Flashback, which caused me to just be using Gnome instead of Cinnamon, defeating the purpose.

Teamviewer ... costs money for non-personal use.

enter image description here

Question

Is there any VNC server (or any methods in general of remotely viewing the desktop) that work with the current, accelerated Cinnamon Desktop (3.2.2), running on Ubuntu 16.04?


Edit

Here is a screencap of what is happening. I am using VirtualBox to host the machine, on my Windows 10 computer. On the right is my VNC viewer program, which is Real VNC.

enter image description here


Edit 2

Content of output in Terminal, after VNC makes connection:

22/12/2016 08:49:41 Got connection from client 192.168.10.92
22/12/2016 08:49:41   other clients:
22/12/2016 08:49:41 Normal socket connection
22/12/2016 08:49:41 Disabled X server key autorepeat.
22/12/2016 08:49:41   to force back on run: 'xset r on' (3 times)
22/12/2016 08:49:41 incr accepted_client=1 for 192.168.10.92:56946  sock=12
22/12/2016 08:49:41 Client Protocol Version 3.8
22/12/2016 08:49:41 Protocol version sent 3.8, using 3.8
22/12/2016 08:49:41 rfbProcessClientSecurityType: executing handler for type 1
22/12/2016 08:49:41 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
22/12/2016 08:49:41 Enabling full-color cursor updates for client 192.168.10.92
22/12/2016 08:49:41 Enabling NewFBSize protocol extension for client 192.168.10.92
22/12/2016 08:49:41 Using ZRLE encoding for client 192.168.10.92
22/12/2016 08:49:41 Pixel format for client 192.168.10.92:
22/12/2016 08:49:41   8 bpp, depth 8
22/12/2016 08:49:41   uses a colour map (not true colour).
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
22/12/2016 08:49:41 Enabling full-color cursor updates for client 192.168.10.92
22/12/2016 08:49:41 Enabling NewFBSize protocol extension for client 192.168.10.92
22/12/2016 08:49:41 Switching from ZRLE to raw Encoding for client 192.168.10.92
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
22/12/2016 08:49:41 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
22/12/2016 08:49:41 Enabling full-color cursor updates for client 192.168.10.92
22/12/2016 08:49:41 Enabling NewFBSize protocol extension for client 192.168.10.92
22/12/2016 08:49:41 Switching from raw to hextile Encoding for client 192.168.10.92
22/12/2016 08:49:41 Pixel format for client 192.168.10.92:
22/12/2016 08:49:41   32 bpp, depth 24, little endian
22/12/2016 08:49:41   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
22/12/2016 08:49:41 no translation needed
22/12/2016 08:49:41 client 1 network rate 1891.4 KB/sec (1891.4 eff KB/sec)
22/12/2016 08:49:41 client 1 latency:  0.5 ms
22/12/2016 08:49:41 dt1: 0.0002, dt2: 0.0093 dt3: 0.0005 bytes: 17694
22/12/2016 08:49:41 link_rate: LR_LAN - 1 ms, 1891 KB/s
22/12/2016 08:49:41 client useCopyRect: 192.168.10.92 -1
22/12/2016 08:49:41 client_set_net: 192.168.10.92  0.0042
22/12/2016 08:49:41 created   xdamage object: 0x3400040
22/12/2016 08:49:42 cursor_noshape_updates_clients: 0
22/12/2016 08:49:44 cursor_noshape_updates_clients: 0
22/12/2016 08:49:49 cursor_noshape_updates_clients: 0
22/12/2016 08:49:50 created selwin: 0x3400041
22/12/2016 08:49:50 called initialize_xfixes()
22/12/2016 08:49:52 cursor_noshape_updates_clients: 0
Problem when trying to run shell script : No such file or directory https://askubuntu.com/questions/611456/problem-when-trying-to-run-shell-script-no-such-file-or-directory

I'm trying to run the following command on bash:

./home/abcdef/Desktop/jikesrvm/dist/prototype_x86_64-linux/rvm

which is giving me a

bash: ./home/abcdef/Desktop/jikesrvm/dist/production_x86_64-linux/rvm: No such file or directory

rvm is a bash file, and it does run ok when I attempt to run it from its own folder (production_x86_64-linux). It works also fine if I attempt to run it when opening the terminal in its parent folder, for instance, or even its parent-parent folder.

I've run it over with dos2unix just in case and I've also checked its executing permissions, which seem to be fine.

What am I missing here?

How to show seconds on the clock in GNOME 3? https://askubuntu.com/questions/39412/how-to-show-seconds-on-the-clock-in-gnome-3

Is it possible to show the seconds on the clock in GNOME 3?

What is the size of Ubuntu repository? https://askubuntu.com/questions/21605/what-is-the-size-of-ubuntu-repository

I would like to know the total size of Ubuntu repository with individual repository-component (Main, Universe, Multiverse, Restricted) sizes for:

  • 32-bit platform.
  • 64-bit platform.