integrate gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 https://askubuntu.com/questions/1564446/integrate-gcc-13-ubuntu-13-3-0-6ubuntu224-04-13-3-0

Ubuntu 24.04.4

installing VMwareWorkstation 17.6.4 - dialog appears:

... several modules must be compiled and loaded into the running kernel

But this stops, because ...

The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0

How do I insert

x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

into my 24.04.4,

in order to compile the 2 modules vmmon and vmnet and load them into the running kernel?

9070xt driver issue https://askubuntu.com/questions/1564445/9070xt-driver-issue

I have a newly built computer, the gpu is a radeon 9070xt and the motherboard is an msi x870e-p wifi (bios is up to date). I am getting display from the gpu (hdmi is plugged into gpu) and the gpu's fans turn on when the computer is started but turn off as soon as the ubuntu log in screen appears. I dont really know what I am doing as far as terminal commands go, and for the most part I dont know what the any of the output information means, but the commands that Ive found from websearching all seem to show that the 9070xt is being recognized by the os. Further, I tried a couple diagnostic programs like the linux hardware probe and they all show that "its working". however the gpu is not visible to programs like Blender.

Ive been trying to figure this out for weeks but everything that I am finding says that ubuntu already has the drivers I need so I have no idea what Im supposed to do, Im hoping that there's someone out there with the patience to walk me through this.

Is LUKS really worth it? [closed] https://askubuntu.com/questions/1564444/is-luks-really-worth-it

I am typing this because i do not want to make a mistake during install, is the LUKS encryption worth it? I found a question where somebody wanted to enable LUKS post-install and turned out to need to reinstall ubuntu. What are pros and cons of LUKS? And can you disable it post-install? (The version i want to install is 24.04 LTS)

Edit: Editing this so it gets re-opened. I am going to be mostly using my laptop in house, but im very worried about malware, even if linux barely gets any. (windows habit)

ubuntu 24.04, possible to setup console via hdmi or usb port to another system? https://askubuntu.com/questions/1564442/ubuntu-24-04-possible-to-setup-console-via-hdmi-or-usb-port-to-another-system

I'm going to have a headless ubuntu 24.04 system which I need to set up a console on. Is it possible to somehow use a different laptop system (probably MS win 11) as a console by connecting their hdmi (or usb) ports? Its network address will probably be obtained via an isp's dhcp, so probably not fixed. The user will need high-res graphics.

Ubuntu 26 unable to install from Live ISO [closed] https://askubuntu.com/questions/1564439/ubuntu-26-unable-to-install-from-live-iso

I have created a bootable pendrive with Ubuntu 26.04 Daily build ISO.
Downloaded from here: https://cdimage.ubuntu.com/daily-live/current/
I have successfully booted Ubuntu system. I am even writing this post form my booted live pendrive.
Now I want to install the system.
I have desktop icon "Install Ubuntu 26.04 LTS" which when double clicked does not work. Nothing shows up.
I have also on the left side panel icon "Install RELEASE" which also doesn't work when clicked.

I have launched terminal and wanted to manually start installation process.

sudo snap run ubuntu-desktop-bootstrap

bin/bash: /snap/ubuntu-desktop-bootstrap/515/usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.42' not found (required by /usr/lib/x86_64-linux-gnu/libtinfo.so.6)

When i check the glibc version, I seem to have correct one.

ldd --version

ldd (Ubuntu GLIBC 2.42-2ubuntu5) 2.42
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Has anyone tried to install the newest preliminary release?

Out of memory chrome - kiiling all processes and log out from my linux https://askubuntu.com/questions/1564438/out-of-memory-chrome-kiiling-all-processes-and-log-out-from-my-linux

I have an issue I am working with R, and using chrome, but only like 7 tabs, not more and got every couple of minute this error - Out of memory chrome - kiiling all processes number of processes in black screen..

And then it just logged out from my ubuntu..

I am not programmist, just tring to analyse some data not sure what this is and how to fix it.

I have found a lot of the same issues but not sure where to start and it's a scary thing to install or update something because I have a bad experience when this lead me to lose ubuntu and data on my laptop.

My ubuntu is pretty old - ubuntu 20.04

Google Chrome 130.0.6723.91

$ free -m
         total   used   free   shared    buff/cache    available
Mem:      7665   3858   2346      281    1459          3132 
Swap:     2047   1113   934
Canon imageRUNNER 2425 installation https://askubuntu.com/questions/1564437/canon-imagerunner-2425-installation

I want to install the Canon imageRUNNER 2425 driver in my system. I tried other options from YouTube and Ubuntu, but I could not get the printer driver installed successfully.

No access on cifs shares from printers https://askubuntu.com/questions/1564435/no-access-on-cifs-shares-from-printers

Many consumer network printers offer the possibility to share the inserted SD Card in a network. While the more advanced (business) printers allow to configure a remote directory where scans are written to, these consumer (or older?) devices often only allow sharing "their" SD card. I tried this on for different printers. For example a HP CM1312nfi and a Epson BX635FWD. Both devices offer sharing their SD card. For both Devices, a Windows client can directly access the share, here for example for the HP device: The windows client automatically detects a network share and I can read/write it:

HP network share on Windows

However, if I try to access these shares from Ubuntu (Kubuntu 25.10 to be precise) the System alsways asks for credentials where there are none. If I use the samba integration into KDE/Dolphin, I can see the share, but it asks for username/password if I open it. If I use fstab to mount this with the following configuration:

//192.168.178.31/memory_card /media/lghp cifs user,noauto,vers=1.0,rw 2

It asks me for the password of my ubuntu user

If I try something like:

//192.168.178.31/memory_card /media/lghp cifs user,username="Guest",password="",sec=ntlmv2,nounix,vers=1.0,rw 2

It responds "Permission denied". When omitting the password option, it again asks for one. Are there any universal default credentials which are used by the windows machine? The HP device even states that it uses CIFS for sharing.

recovering data from old RAID disk https://askubuntu.com/questions/1564434/recovering-data-from-old-raid-disk

I am trying to access data ont old RAID drive (1 of 2 mirrored). Recognized by Ubuntu as /dev/sda with 4 partitions.

I am using mdadm package. What I did:

sudo mdadm --assemble --run /dev/md127 /dev/sda4
mdadm: /dev/md127 has been started with 1 drive (out of 2).

then

sudo mdadm -D /dev/md127
/dev/md127:
           Version : 0.90
     Creation Time : Thu Feb  2 12:15:30 2017
        Raid Level : raid1
        Array Size : 973525376 (928.43 GiB 996.89 GB)
     Used Dev Size : 973525376 (928.43 GiB 996.89 GB)
      Raid Devices : 2
     Total Devices : 1
   Preferred Minor : 127
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Fri Jul  7 23:19:03 2017
             State : clean, degraded 
    Active Devices : 1
   Working Devices : 1
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : bitmap

              UUID : 84f20cfc:0d2045e1:e368bf24:bd0fce41
            Events : 0.7

    Number   Major   Minor   RaidDevice State
       0       8        4        0      active sync   /dev/sda4
       -       0        0        1      removed

and

sudo mdadm -E /dev/md127
mdadm: No md superblock detected on /dev/md127.

next was

sudo mount -o ro /dev/md127 /mnt/disk2
mount: /mnt/disk2: wrong fs type, bad option, bad superblock on /dev/md127, missing codepage or helper program, or other error.

and there I am stuck. Tried to specify FS as ext2, ext3, ext4 - didn't work. Checked

sudo mdadm --examine --scan
ARRAY /dev/md127 UUID=84f20cfc:0d2045e1:e368bf24:bd0fce41

and nothing changes. What am I doing wrong????

P.S. RAID was built automaticaly in WD NAS without manual settings. It was 1 drive NAS so I don't get why it shows as RAID.

"kvm_amd CPU x isn't AMD or Hygon" at boot https://askubuntu.com/questions/1564432/kvm-amd-cpu-x-isnt-amd-or-hygon-at-boot

kvm_amd CPU x isn't AMD or Hygon?

This text appear early in the boot sequence.

Now this is not really causing any trouble, RIGHT NOW.
But I consider all similar messages to be a potential hazard to the stability of my machine.
Therefore I quite fiercely hunt them down, and "swat them out".
The more of these unwanted messages you have the greater potential for strange interference and malfunction.

These are apparently about virtualbox:
https://unix.stackexchange.com/questions/798132/why-and-how-were-kvm-modules-unexpectedly-enabled-in-ubuntu-24-04
KVM not supported shown in terminal while it is enabled

... but I have this on intel-based hardware,
an oldish i7-9750H-based Asus G731 laptop, with embedded GTX 1660 Ti.

I have:
GRUB_CMDLINE_LINUX_DEFAULT= ... kvm.enable_virt_at_load=0
in /etc/default/grub

No go.


Another attempt to fix it:
$ sudo -i
# cat >/etc/modprobe.d/kvm.conf
blacklist kvm
blacklist kvm-amd
blacklist kvm-intel

CTRl+D

# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.17.0-14-generic
...
# 

CTRl+D again

Reboot... I still get a black screen with these boot messages:

[    6.359851]
[   10.531179] kvm_amd: CPU 4 isn't AMD or Hygon
[   11.104935] kvm_amd: CPU 6 isn't AMD or Hygon
[   11.193682] kvm_amd: CPU 9 isn't AMD or Hygon
_

Does anyone have any more ideas on how to actually get rid of this?

Offline Configuration of Wi‑Fi on Ubuntu Server for Raspberry Pi https://askubuntu.com/questions/1564431/offline-configuration-of-wi-fi-on-ubuntu-server-for-raspberry-pi

I’m preparing several Raspberry Pis that will all run Ubuntu Server. Since each device needs the same applications and initial configuration, I want to create a preconfigured image that I can flash onto any SD card. The only thing that should differ between devices is the Wi‑Fi configuration.

I need to be able to change the Wi‑Fi settings offline, while the SD card is mounted on another Linux system, before booting the Raspberry Pi. However, I can’t find any documentation on how to modify the Wi‑Fi configuration via Netplan without knowing the exact WLAN interface name or being able to run commands on the Pi itself.

It must be possible, though — for example, the Raspberry Pi Imager allows you to set Wi‑Fi credentials through its UI, and the system connects successfully on first boot.

Delete “Bin” in file system [closed] https://askubuntu.com/questions/1564430/delete-bin-in-file-system

Delete / empty trash “Bin” in file system, can you do it safely ? Bin 2690 items / X11 has black arrow ? I have never seen it till updating to 20.04 ? Help very much appreciated. Les

Recent upgrade to 6.17.0-14 yields kernel panic. How do I remove that kernel from GRUB? https://askubuntu.com/questions/1564321/recent-upgrade-to-6-17-0-14-yields-kernel-panic-how-do-i-remove-that-kernel-fro

A recent auto-upgrade from 6.14.0-37 to 6.17.0-14 yields a kernel panic at boot: Unable to mount root fs Unknown Block (0,0)

To get the machine up I have to select 6.14.0-37 from the GRUB boot menu. I can no longer do a normal boot/reboot because GRUB auto boots the newest (bad) kernel. I want to remove 6.17.0-14 from the GRUB menu.

All the help articles I've found instruct how to remove old kernel versions. How do I remove the NEWEST kernel version and retain the oldest in GRUB?

In reply to @heynnema:

ls -al /boot | grep init
lrwxrwxrwx  1 root root       28 Feb 22 08:04 initrd.img -> initrd.img-6.17.0-14-generic
-rw-r--r--  1 root root 75369010 Feb 22 08:00 initrd.img-6.14.0-37-generic
lrwxrwxrwx  1 root root       28 Feb 22 06:24 initrd.img.old -> initrd.img-6.14.0-37-generic

In reply to guiverc:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:    24.04
Codename:   noble

In reply to david, looks like a DKMS build issue: etting up linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ... Setting up linux-headers-6.17.0-14-generic (6.17.0-14.14~24.04.1) ... /etc/kernel/header_postinst.d/dkms:

  • dkms: running auto installation service for kernel 6.17.0-14-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module: Cleaning build area... make -j24 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64) Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information. dkms autoinstall on 6.17.0-14-generic/x86_64 failed for virtualbox(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information.

  • dkms: autoinstall for kernel 6.17.0-14-generic ...fail! run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11 dpkg: error processing package linux-headers-6.17.0-14-generic (--configure): installed linux-headers-6.17.0-14-generic package post-installation script subprocess returned error exit status 11 dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04: linux-headers-generic-hwe-24.04 depends on linux-headers-6.17.0-14-generic; however: Package linux-headers-6.17.0-14-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04: linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 6.17.0-14.14~24.04.1); however: Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure): dependency problems - leaving unconfigured Processing triggers for linux-image-6.17.0-14-generic (6.17.0-14.14~24.04.1) ... /etc/kernel/postinst.d/dkms:

  • dkms: running auto installation service for kernel 6.17.0-14-generic Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Building module: Cleaning build area... make -j24 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64) Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information. dkms autoinstall on 6.17.0-14-generic/x86_64 failed for virtualbox(10) Error! One or more modules failed to install during autoinstall. Refer to previous errors for more information.
  • dkms: autoinstall for kernel 6.17.0-14-generic ...fail! run-parts: /etc/kernel/postinst.d/dkms exited with return code 11 dpkg: error processing package linux-image-6.17.0-14-generic (--configure): installed linux-image-6.17.0-14-generic package post-installation script subprocess returned error exit status 11 Errors were encountered while processing: linux-headers-6.17.0-14-generic linux-headers-generic-hwe-24.04 linux-generic-hwe-24.04 linux-image-6.17.0-14-generic

DKMS issue relates to building the VirtulBox 7.0.16 kernel module

Headphones audio is not working - 24.04.04 - Lenovo Slim 7 14ILL10 https://askubuntu.com/questions/1564315/headphones-audio-is-not-working-24-04-04-lenovo-slim-7-14ill10

I recently installed 24.04.04 on my Lenovo Slim 7 14ILL10 (dual booting with Windows). Audio from my speakers and headphone jack did not work at all. I followed the below guide and installed Cirrus drivers. https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/2137115. My speakers now work.

Unfortunately my headphone jack still does not work. Interestingly, testing the headphone output through the Settings app shows sound packets "playing" through my headphones, but no noise at all.

Below is some information that may be helpful.

Edit - I included arecord -L. Hopefully this helps.

Edit 2 - I booted into Fedora. Both the speakers and headphone jack work without issue. Makes me think this is a Ubuntu or Debian specific issue.

Subsystem: Lenovo Device [17aa:3838].

$ lspci | grep -i audio
00:1f.3 Multimedia audio controller: Intel Corporation Lunar Lake-M HD Audio Controller (rev 10)

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 0: Jack Out (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 31: Deepbuffer Jack Out (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
hw:CARD=sofsoundwire,DEV=1
    sof-soundwire, 
    Direct hardware device without any conversions
hw:CARD=sofsoundwire,DEV=10
    sof-soundwire, 
    Direct hardware device without any conversions
plughw:CARD=sofsoundwire,DEV=1
    sof-soundwire, 
    Hardware device with all software conversions
plughw:CARD=sofsoundwire,DEV=10
    sof-soundwire, 
    Hardware device with all software conversions
dsnoop:CARD=sofsoundwire,DEV=1
    sof-soundwire, 
    Direct sample snooping device
dsnoop:CARD=sofsoundwire,DEV=10
    sof-soundwire, 
    Direct sample snooping device
usbstream:CARD=sofsoundwire
    sof-soundwire
    USB Stream Output
Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver is either not loaded or not set up correctly https://askubuntu.com/questions/1564103/kernel-driver-not-installed-rc-1908-the-virtualbox-linux-kernel-driver-is-eit

"Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver is either not loaded or not set up correctly"

"…Please reinstall virtualbox-dkms package and load the kernel module by executing 'modprobe vboxdrv' as root."

$ uname -a
Linux AM5 6.17.0-14-generic #14~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 15 15:52:10 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

This appears to be a recurring problem with no definitive answer: each time it comes up, a previous solution fails to work and a new answer is needed. I've lost track of how many questions and 'answers' I've read on this.

There must be many thousands of people who rely upon Virtualbox to run other Linux, and especially Windows, on Linux. And many will be on Ubuntu. So I don't understand why there isn't already a fix. I don't even know which update caused it. All of a sudden, VB can't start a virtual machine.

Would subscribing to Ubuntu Pro help?

Perhaps I got a 'phased' update, so most of the rest of you are oblivious of the problem?

NB, I've checked the BIOS: secure boot is DISABLED.


Below is some of what I've tried.

Edit 1, Edit 2, etc, are my responses to @heynnema's heroic efforts to find the solution for me. Our exchange (including help from @nobody) was moved by a moderator from Comments to Chat.

So, first try what it says in the error message:

$ sudo apt reinstall virtualbox-dkms
[sudo] password for alan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 38 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for virtualbox-dkms:amd64

Keep going — maybe the modprobe will work:

$ sudo modprobe vboxdrv
[sudo] password for alan: 
alan@AM5:~$ 

Restart Virtualbox. Try to start virtual machine. Virtual machine immediately goes from 'Saved' to 'Aborted Saved'.

Powering VM up...
VM Name: ...
The VM session was aborted.
Result code: NS_ERROR_FAILURE (0X80004005)
Component: SessionMachine
Interface: ISession {c044...}

Thank goodness I have a backup.

Edit grub and roll back to old kernel: nothing changes.

Let's try update/upgrade:

sudo apt upgrade  

[...]  

Setting up virtualbox-dkms (7.0.16-dfsg-2ubuntu1.1) ...
Removing old virtualbox-7.0.16 DKMS files...
Module virtualbox-7.0.16 for kernel 6.14.0-37-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetadp.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetflt.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.14.0-37-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module virtualbox-7.0.16 completely from the DKMS tree.
Loading new virtualbox-7.0.16 DKMS files...
Building for 6.14.0-37-generic 6.17.0-14-generic
Building initial module for 6.14.0-37-generic
Done.

vboxdrv.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.0-37-generic/updates/dkms/

vboxnetadp.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.0-37-generic/updates/dkms/

vboxnetflt.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.0-37-generic/updates/dkms/
depmod...
Building initial module for 6.17.0-14-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
dpkg: error processing package virtualbox-dkms (--configure):
 installed virtualbox-dkms package post-installation script subprocess returned error exit status 10  

[...]  

errors were encountered while processing:
 virtualbox-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.

I forgot to capture this before attempting to reinstall VB --- it's gone.

Tried to install a later version of VB direct from Oracle: failed.
Now I get: "Failed to acquire the VirtualBox COM object. The application will now terminate."

Yes, I know, I should have taken a more systematic approach. But it's difficult to write this on the machine you're trying to fix. Especially as some 'answers' have such enticing 'solutions'...


To understand the Edits, please see the Chat

Edit 1

Managed to install VB 7.1
Same original problem, but now it says to run /sbin/vboxconfig

$ sudo /sbin/vboxconfig
[sudo] password for alan: 
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
alan@AM5:~$ 

Look at /var/log/vbox-setup.log to find out what went wrong.

Building the main VirtualBox module.
Error building the module:
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/6.17.0-14-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j32
 modules
make[1]: warning: -j32 forced in submake: resetting jobserver mode.
make  -C /tmp/vbox.0 \
-f /usr/src/linux-headers-6.17.0-14-generic/Makefile modules
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

[...]  
[several "fatal error" messages:]

VBox/cdefs.h: No such file or directory  
VBox/sup.h: No such file or directory  
iprt/string.h: No such file or directory  
internal/iprt.h: No such file or directory  
the-linux-kernel.h: No such file or directory  
$ ll /usr/bin | grep gcc
lrwxrwxrwx  1 root root   23 Sep  4  2024 gcc-13 -> x86_64-linux-gnu-gcc-13*

So it would appear the warning about the compiler is a red herring.

Edit 2

$ dpkg -l *virtualbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version                    Architecture Description
+++-==============================-==========================-============-==============================================
ic  virtualbox                     7.0.16-dfsg-2ubuntu1.1     amd64        x86 virtualization solution - base binaries
un  virtualbox-2.0                 <none>                     <none>       (no description available)
un  virtualbox-2.1                 <none>                     <none>       (no description available)
un  virtualbox-2.2                 <none>                     <none>       (no description available)
un  virtualbox-3.0                 <none>                     <none>       (no description available)
un  virtualbox-3.1                 <none>                     <none>       (no description available)
un  virtualbox-3.2                 <none>                     <none>       (no description available)
un  virtualbox-4.0                 <none>                     <none>       (no description available)
un  virtualbox-4.1                 <none>                     <none>       (no description available)
un  virtualbox-4.2                 <none>                     <none>       (no description available)
un  virtualbox-4.3                 <none>                     <none>       (no description available)
un  virtualbox-5.0                 <none>                     <none>       (no description available)
un  virtualbox-5.1                 <none>                     <none>       (no description available)
un  virtualbox-5.2                 <none>                     <none>       (no description available)
un  virtualbox-6.0                 <none>                     <none>       (no description available)
un  virtualbox-6.1                 <none>                     <none>       (no description available)
un  virtualbox-7.0                 <none>                     <none>       (no description available)
ii  virtualbox-7.1                 7.1.8-168469~Ubuntu~noble  amd64        Oracle VirtualBox
rc  virtualbox-7.2                 7.2.6-172322~Ubuntu~plucky amd64        Oracle VirtualBox
un  virtualbox-dkms                <none>                     <none>       (no description available)
rc  virtualbox-ext-pack            7.0.16-1                   all          extra capabilities for VirtualBox, downloader.
un  virtualbox-guest-additions-iso <none>                     <none>       (no description available)
un  virtualbox-guest-modules       <none>                     <none>       (no description available)
un  virtualbox-modules             <none>                     <none>       (no description available)
un  virtualbox-ose                 <none>                     <none>       (no description available)
un  virtualbox-qt                  <none>                     <none>       (no description available)
un  virtualbox-source              <none>                     <none>       (no description available)
alan@AM5:~$ 
$ sudo dkms status
[sudo] password for alan: 
alan@AM5:~$ 

(no output from dkms status)

Yes, linux-headers-6.17.0-14-generic installed:

$ sudo apt show linux-headers-6.17.0-14-generic
Package: linux-headers-6.17.0-14-generic
Version: 6.17.0-14.14~24.04.1
Priority: optional
Section: devel
Source: linux-hwe-6.17
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30.6 MB
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-6.17-headers-6.17.0-14, libc6 (>= 2.38), libdw1t64 (>= 0.171), libelf1t64 (>= 0.144), libgcc-s1 (>= 4.2), libssl3t64 (>= 3.0.0), zlib1g (>= 1:1.2.3.3)
Download-Size: 3,979 kB
APT-Manual-Installed: yes
APT-Sources: http://gb.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
Description: Linux kernel headers for version 6.17.0
 This package provides kernel header files for version 6.17.0.
 .
 This is for sites that want the latest kernel headers.  Please read
 /usr/share/doc/linux-headers-6.17.0-14/debian.README.gz for details.

alan@AM5:~$ 

Edit 3

$ sudo apt purge virtualbox=7.0.16-dfsg-2ubuntu1.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
  virtualbox*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 479790 files and directories currently installed.)
Purging configuration files for virtualbox (7.0.16-dfsg-2ubuntu1.1) ...

$ sudo apt purge virtualbox-ext-pack=7.0.16-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED
  virtualbox-ext-pack*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 479788 files and directories currently installed.)
Purging configuration files for virtualbox-ext-pack (7.0.16-1) ...
$ sudo apt reinstall ./virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'virtualbox-7.1' instead of './virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb'
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 12 not to upgrade.
Need to get 0 B/108 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb virtualbox-7.1 amd64 7.1.8-168469~Ubuntu~noble [108 MB]
Preconfiguring packages ...        
(Reading database ... 479788 files and directories currently installed.)
Preparing to unpack .../virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb ...
Unpacking virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) over (7.1.8-168469~Ubuntu~noble) ...
Setting up virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
info: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1-1build3) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
alan@AM5:/tmp$ 

Same fatal errors: "no such file or directory"

NB 7.1 not in repository, only have .deb from Oracle (sorry, didn't make that clear).

Edit 4

Reinstall of VB 7.1 from within ~/Downloads/Virtualbox/

alan@AM5:~/Downloads/Virtualbox$ sudo apt reinstall ./virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb 
[sudo] password for alan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'virtualbox-7.1' instead of './virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb'
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 12 not to upgrade.
Need to get 0 B/108 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/alan/Downloads/Virtualbox/virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb virtualbox-7.1 amd64 7.1.8-168469~Ubuntu~noble [108 MB]
Preconfiguring packages ...        
(Reading database ... 479788 files and directories currently installed.)
Preparing to unpack .../virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb ...
Unpacking virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) over (7.1.8-168469~Ubuntu~noble) ...
Setting up virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
info: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1-1build3) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
N: Download is performed unsandboxed as root, as file '/home/alan/Downloads/Virtualbox/virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
alan@AM5:~/Downloads/Virtualbox$ 

Re-run of /sbin/vboxconfig

alan@AM5:~/Downloads/Virtualbox$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
alan@AM5:~/Downloads/Virtualbox$ 
$ grep -i "no such" /var/log/vbox-setup.log
linux/../SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPDrvInternal.h:47:10: fatal error: VBox/cdefs.h: No such file or directory
SUPLibAll.c:41:10: fatal error: VBox/sup.h: No such file or directory
common/string/strformatrt.c:42:10: fatal error: iprt/string.h: No such file or directory
combined-agnostic1.c:38:10: fatal error: internal/iprt.h: No such file or directory
combined-agnostic2.c:38:10: fatal error: internal/iprt.h: No such file or directory
combined-os-specific.c:38:10: fatal error: the-linux-kernel.h: No such file or directory

Edit 5

alan@AM5:~/Downloads/Virtualbox$ ls -al virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb 
-rw-rw-r-- 1 alan alan 108093464 May  3  2025 virtualbox-7.1_7.1.8-168469~Ubuntu~noble_amd64.deb
$ dpkg -l *headers* | grep ii
ii  linux-headers-6.11.0-21-generic  6.11.0-21.21~24.04.1 amd64        Linux kernel headers for version 6.11.0 on 64 bit x86 SMP
ii  linux-headers-6.11.0-29-generic  6.11.0-29.29~24.04.1 amd64        Linux kernel headers for version 6.11.0 on 64 bit x86 SMP
ii  linux-headers-6.14.0-37-generic  6.14.0-37.37~24.04.1 amd64        Linux kernel headers for version 6.14.0
ii  linux-headers-6.17.0-14-generic  6.17.0-14.14~24.04.1 amd64        Linux kernel headers for version 6.17.0
ii  linux-headers-6.8.0-100          6.8.0-100.100        all          Header files related to Linux kernel version 6.8.0
ii  linux-headers-6.8.0-100-generic  6.8.0-100.100        amd64        Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
ii  linux-headers-generic            6.8.0-100.100        amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-24.04  6.17.0-14.14~24.04.1 amd64        Generic Linux kernel headers
ii  linux-hwe-6.11-headers-6.11.0-21 6.11.0-21.21~24.04.1 all          Header files related to Linux kernel version 6.11.0
ii  linux-hwe-6.11-headers-6.11.0-29 6.11.0-29.29~24.04.1 all          Header files related to Linux kernel version 6.11.0
ii  linux-hwe-6.14-headers-6.14.0-37 6.14.0-37.37~24.04.1 all          Header files related to Linux kernel version 6.14.0
ii  linux-hwe-6.17-headers-6.17.0-14 6.17.0-14.14~24.04.1 all          Header files related to Linux kernel version 6.17.0
alan@AM5:~/Downloads/Virtualbox$ 
$ sudo apt purge virtualbox-7.1
[sudo] password for alan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liblzf1 libqt6core6t64 libqt6dbus6t64 libqt6gui6t64 libqt6help6 libqt6network6t64 libqt6opengl6t64 libqt6printsupport6t64
  libqt6qml6 libqt6qmlmodels6 libqt6quick6 libqt6sql6-sqlite libqt6sql6t64 libqt6statemachine6 libqt6waylandclient6
  libqt6waylandcompositor6 libqt6waylandeglclienthwintegration6 libqt6waylandeglcompositorhwintegration6 libqt6widgets6t64
  libqt6wlshellintegration6 libqt6xml6t64 libsdl-ttf2.0-0 libsdl1.2debian libtpms0 libts0t64 qt6-gtk-platformtheme
  qt6-qpa-plugins qt6-translations-l10n qt6-wayland
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
  virtualbox-7.1*
0 to upgrade, 0 to newly install, 1 to remove and 12 not to upgrade.
After this operation, 242 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 479788 files and directories currently installed.)
Removing virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for mate-menus (1.26.1-1build3) ...
Processing triggers for shared-mime-info (2.4-4) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
(Reading database ... 479039 files and directories currently installed.)
Purging configuration files for virtualbox-7.1 (7.1.8-168469~Ubuntu~noble) ...
dpkg: warning: while removing virtualbox-7.1, directory '/usr/local' not empty so not removed
alan@AM5:~/Downloads/Virtualbox$ 

Synaptic used to install virtualbox 7.0.16-dfsg-2ubuntu1.1
Synaptic also chose and installed virtualbox-dkms and virtualbox-qt

synaptic installing VB 7.0

synaptic error message while trying to install VB 7.0

Virtualbox will run, but I'm back to the original problem.

Edit 6

Synaptic search for "linux-headers-generic":
synaptic: "linux-headers-generic" Looks like the 6.8 headers are still installed.

Uninstall?

From HWE kernels in Ubuntu docs: "HWE (Hardware Enablement) kernels are only enabled on Ubuntu long-term support (LTS) releases...By default, Ubuntu Desktop installations of 24.04 default to tracking the HWE stack.".

alan@AM5:~$ uname -r
6.17.0-14-generic
alan@AM5:~$ 
alan@AM5:~$ dkms status
virtualbox/7.0.16: added
alan@AM5:~$ 

Edit 7

alan@AM5:~$ sudo dkms build virtualbox/7.0.16
[sudo] password for alan: 
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
alan@AM5:~$ 

The resulting make.log:
/var/lib/dkms/virtualbox/7.0.16/build/make.log [pastebin]

Output from:
sudo apt install build-essential dkms linux-headers-$(uname -r) [pastebin]

alan@AM5:~$ sudo /sbin/vboxconfig
[sudo] password for alan: 
sudo: /sbin/vboxconfig: command not found
alan@AM5:~$ 
alan@AM5:~$ sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/6.17.0-14-generic
alan@AM5:~$ 

Edit 8

sudo apt purge virtualbox-7.2 Appears to remove 7.0, then says, "Package virtualbox-7.2 which provides virtualbox is not installed" ! Did I use the wrong command?

@heynnema: "Install virtualbox-source and virtualbox-modules using Synaptic"

Synaptic shows virtualbox-source but no virtualbox-modules.

Install via Synaptic of virtualbox-source:

E: virtualbox-dkms: installed virtualbox-dkms package post-installation script subprocess returned error exit status 10

But Synaptic does show virtualbox-source as installed.

In the description of virtualbox-source: "The source is placed under /usr/src, and after decompression it can be built to produce a virtualbox-modules-KVERS providing "virtualbox-modules" package." So I shall proceed with the source install...

After install, there is /usr/src/virtualbox.tar.bz2.

Extracting that creates /usr/src/modules/virtualbox/, which contains:

alan@AM5:/usr/src$ ll modules/virtualbox/
total 52
drwxr-xr-x 12 root root 4096 Sep  2  2024 ./
drwxr-xr-x  3 root root 4096 Sep  2  2024 ../
drwxr-xr-x 10 root root 4096 Sep  2  2024 common/
drwxr-xr-x  2 root root 4096 Sep  2  2024 debian/
drwxr-xr-x  2 root root 4096 Sep  2  2024 generic/
drwxr-xr-x  5 root root 4096 Sep  2  2024 include/
-rw-r--r--  1 root root   56 Aug 25  2023 Makefile
drwxr-xr-x  3 root root 4096 Sep  2  2024 math/
drwxr-xr-x  4 root root 4096 Sep  2  2024 r0drv/
drwxr-xr-x  2 root root 4096 Sep  2  2024 VBox/
drwxr-xr-x  3 root root 4096 Sep  2  2024 vboxdrv/
drwxr-xr-x  3 root root 4096 Sep  2  2024 vboxnetadp/
drwxr-xr-x  3 root root 4096 Sep  2  2024 vboxnetflt/
alan@AM5:/usr/src$ 

Edit 9

alan@AM5:/usr/src$ dkms status
virtualbox/7.0.16: added
alan@AM5:/usr/src$
alan@AM5:/usr/src$ sudo dkms build virtualbox/7.0.16
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j32 KERNELRELEASE=6.17.0-14-generic -C /lib/modules/6.17.0-14-generic/build M=/var/lib/dkms/virtualbox/7.0.16/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.17.0-14-generic (x86_64)
Consult /var/lib/dkms/virtualbox/7.0.16/build/make.log for more information.
alan@AM5:/usr/src$ 
uninstall nautilus, and reinstall [duplicate] https://askubuntu.com/questions/1563705/uninstall-nautilus-and-reinstall

Using TERMINAL in Ubuntu 24.04.3lts Wayland - Linux 6.8.0-85-generic, how do I SUCCESSFULLY uninstall nautilus completely, and aferwhich, how do I reinstall it SUCCESSFULLY - dependencies and all...?

Currently, I can copy, edit, move, etc. files using terminal so drive itself and permissions seem no problem, edit using nano, etc., but nautilus seems to just want to crash (like it's corrupt) so want to reinstall, not repair, it.

from terminal:

Desktop$ nautilus
** Message: 19:33:27.602: Connecting to org.freedesktop.Tracker3.Miner.Files
Gsk-Message: 19:33:30.917: Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': OpenGL ES 3.0 is not supported by this renderer.

Gsk-Message: 19:34:24.833: Failed to realize renderer of type 'GskNglRenderer' for surface    'GdkWaylandPopup': OpenGL ES 3.0 is not supported by this renderer.

Gsk-Message: 19:34:46.395: Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandPopup': OpenGL ES 3.0 is not supported by this renderer.

Shouldn't that be Gsk.NglRenderer, not GskNglRenderer?

OK, Daniel T, I ran dpkg -V, but no /bin lines at all:

/Desktop$ dpkg -V
?????????   /boot/vmlinuz-6.8.0-94-generic
missing     /etc/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /etc/polkit-1/localauthority/20-org.d (Permission denied)
missing     /etc/polkit-1/localauthority/30-site.d (Permission denied)
missing     /etc/polkit-1/localauthority/50-local.d (Permission denied)
missing     /etc/polkit-1/localauthority/90-mandatory.d (Permission denied)
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/20-org.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/30-site.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/50-local.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/90-mandatory.d (Permission denied)
?????????   /boot/vmlinuz-6.8.0-85-generic
missing     /lib/modules/6.8.0-35-generic
?????????   /boot/kernel.efi-6.8.0-79-generic
??5?????? c /etc/apt/apt.conf.d/10periodic
??5?????? c /etc/UPower/UPower.conf
??5?????? c /etc/conky/conky.conf
??5?????? c /etc/mono/config
??5?????? c /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
?????????   /usr/libexec/sssd/proxy_child
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d/org.blueman.pkla (Permission denied)
?????????   /boot/vmlinuz-6.8.0-53-generic
?????????   /lib/netplan/00-network-manager-all.yaml
?????????   /boot/System.map-6.8.0-53-generic
??5?????? c /etc/fuse.conf
?????????   /boot/System.map-6.8.0-84-generic
missing   c /etc/grub.d/10_linux
?????????   /usr/libexec/sssd/selinux_child
??5?????? c /etc/tlp.conf
?????????   /usr/libexec/sssd/krb5_child
?????????   /usr/libexec/sssd/ldap_child
missing     /var/cache/cups/rss (Permission denied)
missing     /var/spool/cups/tmp (Permission denied)
??5?????? c /etc/update-manager/release-upgrades
?????????   /boot/System.map-6.8.0-85-generic
????????? c /etc/sudoers
????????? c /etc/sudoers.d/README
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.Flatpak.pkla (Permission denied)
?????????   /boot/vmlinuz-6.8.0-84-generic
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d/gnome-initial-setup.pkla (Permission denied)
??5?????? c /etc/gdm3/custom.conf
??5?????? c /etc/sysctl.conf
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.packagekit.pkla (Permission denied)
?????????   /boot/vmlinuz-6.8.0-79-generic
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla (Permission denied)
????????? c /etc/default/cacerts
?????????   /boot/System.map-6.8.0-79-generic
????????? c /etc/fwupd/fwupd.conf
missing     /var/lib/polkit-1/localauthority (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d (Permission denied)
missing     /var/lib/polkit-1/localauthority/10-vendor.d/fwupd.pkla (Permission denied)
?????????   /boot/System.map-6.8.0-50-generic
?????????   /boot/System.map-6.8.0-94-generic

In lieu of using termnal on the desktop, would using the RECOVERY tool from grub and dropping into root be better way to uninstall, then reboot and again to the tool to root, to reinstall nautilus?

I can run Firefox, browse away, play things, etc., and all is fine until I try to attach a file to an email which tries to bring up a nautilus type window, or try to download/save a file which also tries to bring up a nautilus type window, then it'll try but ends up crashing Firefox during the attempt. I assume a piece of nautilus is what the browser uses - same with using something like LibreOffice - try to open a file which tries to bring up the window and that does similarly...

using "LIBGL_ALWAYS_SOFTWARE=1 nautilus", I noticed I can rename a file, but try to copy it, and the freeze/blink off-on/crash happen as the window pops up (with read only message at its bottom) for where to copy it to...

@steeldriver:

Desktop$ ldd "$(command -v firefox)"
linux-vdso.so.1 (0x00007ffdff992000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007d6836703000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007d68366fe000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007d6836400000)
/lib64/ld-linux-x86-64.so.2 (0x00007d683672d000)

"Try sudo apt install --reinstall ubuntu-desktop^ to fix default packages, including nautilus. – Archisman Panigrahi" - are you sure that's right 'cause I just get:

Desktop$ sudo apt install --reinstall ubuntu-desktop^
[sudo] password for batgirl: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ubuntu-desktop^
E: Couldn't find task 'ubuntu-desktop'

but w/o the '^' on the end I still get:

Desktop$ sudo apt install --reinstall ubuntu-desktop
[sudo] password for batgirl: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ubuntu-desktop        

NOTE: Posted new inquiry cleaned-up w/o all the rabbit holes at: Need help with terrible file manager type ‘glitch’?

OK, let's just try:

Desktop$ sudo apt install --reinstall nautilus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 40 not upgraded.
Need to get 510 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 nautilus amd64 1:46.4-0ubuntu0.2 [510 kB]
Fetched 510 kB in 1s (402 kB/s)   
(Reading database ... 444973 files and directories currently installed.)
Preparing to unpack .../nautilus_1%3a46.4-0ubuntu0.2_amd64.deb ...
Unpacking nautilus (1:46.4-0ubuntu0.2) over (1:46.4-0ubuntu0.2) ...
Setting up nautilus (1:46.4-0ubuntu0.2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Is a Windows 7 scan better than an Ubuntu scan? https://askubuntu.com/questions/1563700/is-a-windows-7-scan-better-than-an-ubuntu-scan

Maybe I have not found a way to get a good scan in Ubuntu. IMHO, a good scan file is high resolution and small. For the same resolution, smaller is better.

I scan documents almost exclusively. For example, nowadays I am scanning hard copy tax documents that arrive in the mail, as my accountant expects everything to be uploaded.

I have tried xsane, scanlite and scanpage, but the files are typically ginormous (bigger than a MB). Using Windows Fax and Scan in Windows 7, I set the resolution to 300 dpi and scanned an Ubuntu printer test printout. I get a nice looking image tiff that weighs in at 66 Kb.

You can see for yourself, download what I got here, filename:

Windows_Fax_n_Scan_ubuntu_print_test_2026-02-07.tiff

You can try it! Print a test page in your system settings, printers. Then scan it and compare what you got with what I got from Windows 7.

(I have not tried later Windows versions. I need Windows 7 for one application. I do not use Windows 7 for email or surfing.)

As suggested by Daniel T, in Ubuntu, I tried simple-scan on the same printer test printout. I set the resolution to 300 dpi and compression at max. I got a 143 Kb pdf (more than double the size of the Windows 7 scan). To my eye, the print is dark gray, not as black as in the tiff. You can download what I got here, filename:

simple-scan_text_300dpi_max_compress_2026-02-07.pdf

Again, if you like, you can try it and see for yourself.

Until I find a good way to scan in Ubuntu, I will be dual booting into Windows 7 when I need to scan. Is there a way to scan in Ubuntu that I have not discovered? If there is no way to get an equally small and crisp document scan in Ubuntu, I am hoping to get the attention of the developers of an Ubuntu scan app, hence challenging them to scan as good as Windows 7.

Ubuntu 24.04 crackling sound, then nothing, dummy output https://askubuntu.com/questions/1554143/ubuntu-24-04-crackling-sound-then-nothing-dummy-output

I am having a recurring problem (it sometimes fixes itself after a few days) that is quite annoying: my sound starts crackling (it seems the crackling comes from the jack area somehow), then some time later stops. When checking the settings, I can see the dreaded "dummy output". I tried quite a few things I saw online (and perhaps misconfigured some things in the way as I do not understand everything) to no avail.


Here is a bunch of information that I saw were shared in several threads. I have a dual boot Ubuntu - Windows.

$ inxi -SMA
System:
  Host: Popoi Kernel: 6.8.0-65-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04.2 LTS (Noble Numbat)
Machine:
  Type: Laptop System: TUXEDO product: TUXEDO Stellaris Slim 15 Intel Gen6
    v: Standard serial: <superuser required>
  Mobo: NB02 model: GM5IXxA v: Standard serial: <superuser required>
    UEFI: American Megatrends LLC. v: N.1.07A04 date: 04/16/2024
Audio:
  Device-1: Intel Raptor Lake High Definition Audio driver: snd_hda_intel
  Device-2: NVIDIA driver: snd_hda_intel
  API: ALSA v: k6.8.0-65-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active

> pactl info | grep '^Server Name'                
Server Name: PulseAudio (on PipeWire 1.0.5)

> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

> sudo dmesg | grep -iE 'snd|hda|codec'
[    5.853655] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    5.861000] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.861310] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    5.917584] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.297645] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.642128] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.839950] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    6.840121] snd_hda_intel 0000:01:00.1: Disabling MSI
[    6.840128] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    6.840298] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.867044] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.867452] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input14
[    6.867495] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input15
[    6.867529] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input16
[    6.867563] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input17
[    6.876359] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.420052] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.420985] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.423213] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    8.441529] hdaudio hdaudioC1D0: no AFG or MFG node found
[    8.463498] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input20
[    8.463549] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input21
[    8.463571] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input22
[    8.463606] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input23

> lsmod | grep snd_sof_pci_intel_tgl
snd_sof_pci_intel_tgl    12288  0
snd_sof_intel_hda_common   217088  1 snd_sof_pci_intel_tgl
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi_intel_match    98304  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl

Here are some screenshots:

  • Pavucontrol shows dummy output.

    Pavucontrol shows dummy output.

  • Alsamixer shows 2 graphic cards, I think.

    Alsamixer shows 2 graphic cards I think

  • The Nvidia doesn't show much (four S/PDIF with no vertical bars).

    Nvidia

  • The Intel shows a vertical bar for PCM (and four S/PDIF with no vertical bars).

    Intel

Modify Ubuntu Text Editor Setting to close the file when exit https://askubuntu.com/questions/1528003/modify-ubuntu-text-editor-setting-to-close-the-file-when-exit

When I open Text Editor, it will open the last file. I wonder if I can modify the setting to disable it. If so, how can I do.

My System is Ubuntu 24.04.1 LTS Desktop. I don't know which version the text-editor is. But I just update it yesterday.

GPU system load monitor for xfce panel https://askubuntu.com/questions/1469922/gpu-system-load-monitor-for-xfce-panel

I am trying to get a GPU system load monitor to work in xfce4 panel. Is there any way to configure the current CPU system load monitor to reflect GPU usage? I know we can run a script in genmon generic monitor but I don't have the skills necessary to create the script.

I have an AMD GPU and currently use gpu-mon --gui for monitoring but would like to have something similar to the CPU monitor in the panel, preferably for GPU load and vram mem load.

Thanks

How can I make a custom desktop file for VS Code for my dock, under Ubuntu 20.04? https://askubuntu.com/questions/1291146/how-can-i-make-a-custom-desktop-file-for-vs-code-for-my-dock-under-ubuntu-20-04

I want to make a launcher icon on the dock for VSCode under Ubuntu 20.04. I called it code.desktop and put it in .local/share/applications, then pinned it to the dock. However, when I click on it, I get two icons:

enter image description here

The desktop file looks like this:

[Desktop Entry]
X-SnapInstanceName=code
Name=Visual Studio Code
Comment=Code Editing. Redefined.
NoDisplay=false
GenericName=Text Editor
Exec=/snap/bin/code
Icon=/snap/code/49/meta/gui/com.visualstudio.code.png
Type=Application
StartupNotify=false
StartupWMClass=code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Keywords=vscode;

What gives? I tried the instructions here but they seem to be either obsolete or not applicable to VS Code somehow. wmprop gives me "code", "Code" for the WMClass, and as you can see I've already set that as the StartupWMClass (and the filename of the desktop file, as someone else recommended at that link).

Why does host and bridge get an IP but not the virtual machine? https://askubuntu.com/questions/1214882/why-does-host-and-bridge-get-an-ip-but-not-the-virtual-machine

I'm struggling to connect my KVM virtual machine to the local network.

$ brctl show br0
bridge name    bridge id            STP enabled    interfaces
br0            8000.4c5262097e59    yes            enp0s31f6
                                                   vnet0

enp0s31f6 is the hosts' ethenet card and vnet0 that of the KVM guest.

On the host, I have full network connectivity. No problems.

On the vm, I have no network connectivity at all:

$ping 8.8.8.8
connect: Network is unreachable

So I'm trying to figure out what is worng. Already here, I'm puzzled because I thought that a bridge is the equivalent of a hardware switch and if this is so, how can one device plugged into the switch reach the network but not the other?

Let's look at their IP addresses:

$ ip a show enp0s31f6
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000
    link/ether 4c:52:62:09:7e:59 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.4/24 brd 192.168.1.255 scope global enp0s31f6
       valid_lft forever preferred_lft forever
$ ip a show vnet0
26: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:f0:0e:f8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fef0:ef8/64 scope link 
       valid_lft forever preferred_lft forever

So, the host has an IP 192.168.1.4 but the vm doesn't (except for an IPv6, no idea why).

The host received it's IP from the DHCP server on the LAN:

sudo dhclient -v enp0s31f6
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp0s31f6/4c:52:62:09:7e:59
Sending on   LPF/enp0s31f6/4c:52:62:09:7e:59
Sending on   Socket/fallback
DHCPREQUEST of 192.168.1.4 on enp0s31f6 to 255.255.255.255 port 67 (xid=0x64e68ab1)
DHCPACK of 192.168.1.4 from 192.168.1.1
RTNETLINK answers: File exists
bound to 192.168.1.4 -- renewal in 40526 seconds.

So let's try to get one for the vm too:

$ sudo dhclient -v vnet0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/vnet0/fe:54:00:f0:0e:f8
Sending on   LPF/vnet0/fe:54:00:f0:0e:f8
Sending on   Socket/fallback
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 3 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 3 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 7 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 13 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 14 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 18 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 10 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 15 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 18 (xid=0xf64429)
^C

It doesn't get one. :-(

So maybe the bridge is broken and the host still gets an IP because it is physically connected to the LAN? No, because the bridge itself does seem to talk the DHCP server too:

$ sudo dhclient -v br0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/br0/4c:52:62:09:7e:59
Sending on   LPF/br0/4c:52:62:09:7e:59
Sending on   Socket/fallback
DHCPREQUEST of 192.168.1.4 on br0 to 255.255.255.255 port 67 (xid=0x58c2333c)
DHCPACK of 192.168.1.4 from 192.168.1.1
RTNETLINK answers: File exists
bound to 192.168.1.4 -- renewal in 42819 seconds.

How do I continue from here?

(Feels like I have tried an checked just about everything, but I'm sparing you the information about that here as I'm now trying to systematically identify where I'm going wrong in the above steps.)

Can libpng15 be installed alongside libpng16 without any issues? https://askubuntu.com/questions/1158218/can-libpng15-be-installed-alongside-libpng16-without-any-issues

I am quite new to linux and have recently installed Ubunutu 18.04 LTS.

I am trying to install NASA GMAT (available at https://sourceforge.net/projects/gmat/). After downloading .tar.gz I extracted the archive and found a README file. The command line version of GMAT found in /bin of the file works perfectly fine.

However, when I try to run "./GMAT_Beta" I get the following error:

./GMAT_Beta./GMAT_Beta: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

Now I have checked via Synaptics Package Manger and using apt command that I have libpng16-16 - installed version "1.6.34-1ubuntu.18.04.2".

I want to install libpng15 for GMAT to function. Can someone please guide me: 1. Where and how to install libpng15 from? 2. Will I have to remove the already installed version or can they co-exist together?

Can't update NetworkManager to latest stable version https://askubuntu.com/questions/1122583/cant-update-networkmanager-to-latest-stable-version

I am running Ubuntu 16.04

NetworkManager --version

returns 1.2.6

I am wanting to update to the lastest stable version (1.14.4) from here.

The install documentation says "the shell command './configure && make && make install' should configure, build, and install this package."

After much trial and error I managed to get ./configure to complete with out reporting any errors by installing the following packages:

apt-get install gtk-doc-tools libglib2.0-dev libudev-dev uuid-dev libnss3-dev ppp-dev libjansson-dev libcurl4-nss-dev libndp-dev libreadline-dev intltool

However when I run make I get:

mike@Ubuntu16:~/Downloads/NetworkManager-1.14.4$ make
make  all-recursive
make[1]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
Making all in .
make[2]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
  GEN      config-extra.h
  GEN      libnm-core/nm-core-enum-types.h
  CC       clients/nm_online-nm-online.o
In file included from ./shared/nm-default.h:311:0,
                 from clients/nm-online.c:34:
./libnm/NetworkManager.h:60:27: fatal error: nm-enum-types.h: No such file or directory
compilation terminated.
Makefile:15265: recipe for target 'clients/nm_online-nm-online.o' failed
make[2]: *** [clients/nm_online-nm-online.o] Error 1
make[2]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:17770: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:7864: recipe for target 'all' failed
make: *** [all] Error 2

Any help with this would be greatly appreciated.

How do I repair Ubuntu 18.04 after a login loop issue? https://askubuntu.com/questions/1100394/how-do-i-repair-ubuntu-18-04-after-a-login-loop-issue

I started my laptop Toshiba Satellite L755 as usual this morning for work, but suddenly I got into a login loop. After reading some tips here, I tried the shell login mode. After logging in using shell mode successfully, I restarted my laptop using power button forcefully. Because after logging in I couldn't do anything due to my screen keep flipping and change back to boot screen. I noticed there is a Nvidia driver loading line at the bottom. While the boot load screen like 3 seconds, it keeps logging in and same screen for infinite amount of time. After the forceful power button push, I started the laptop again. Now it logs in normally, but I think Ubuntu 18.04 is broken. I have attached a screenshot.

enter image description here

As you can see that, all the icons are big and there is no sidebar. Also, there is no application menu button anywhere on the screen. The theme changed to white color but it was total dark theme before. My system menu also changed. There were so many options available there.

I want to revert back to my old Ubuntu system. This would be a great loss if any files goes missing from my system folders like document or download. As, I cannot see some of my folders created inside the downloads folder.

I tried the Resetter also. I included one screenshot of my terminal with error messages. I need a solid repair solution.

Where is my PDF printer printing my documents? https://askubuntu.com/questions/979148/where-is-my-pdf-printer-printing-my-documents

Running Kubuntu 17.10.

I installed printer-driver-cups-pdf.

When I print from any application (native ones like Kate or others like Firefox), there is a default 'Print to file' printer and a 'PDF' printer like this:

enter image description here

I can select 'Print to file' printer and choose the filename and folder where to save the file.

But when I choose 'PDF' printer, it asks for nothing. It just shows a window as if it is sending pages to a printer. Then the window disappears. I am not able to get a screenshot of this window as it disappears pretty fast.

But where are the files? They are not in ~, ~/Downloads, /tmp or ~/Documents

Error ,,Bad return status for module build on kernel: 4.4.0-87-generic (x86_64)” when installing Synaptic on Ubuntu 16.04.3. Or it is a normal error? https://askubuntu.com/questions/944647/error-bad-return-status-for-module-build-on-kernel-4-4-0-87-generic-x86-64

1.Do you recomend using sudo apt-get upgrade command before installing Synaptic through terminal?

2.(in the future): Before uninstalling an old module version which was ACTIVE on this kernel, should i manually set it to inactive ? Or ubuntu does this by default with an OK exit in all cases?

3.please observe the 2 errors:

a. Error! Bad return status for module build on kernel
b. error processing package oem

4.whats worse: being a 3rd party, could not report the ,,serious problem”

below, I will post the output of my terminal. Is this normal ?

Setting up   oem-audio-hda-daily-dkms (0.201612080732~ubuntu16.04.1) ...
Removing old oem-audio-hda-daily-0.201612080732~ubuntu16.04.1 DKMS files...

-------- Uninstall Beginning --------
Module:  oem-audio-hda-daily
Version: 0.201612080732~ubuntu16.04.1
Kernel:  4.4.0-23-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
DKMS: uninstall completed.
------------------------------
Deleting module version: 0.201612080732~ubuntu16.04.1
completely from the DKMS tree.
------------------------------
Done.
Loading new oem-audio-hda-daily-0.201612080732~ubuntu16.04.1 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-87-generic
Building for architecture x86_64
Building initial module for 4.4.0-87-generic

ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/oem-audio-hda-daily-dkms.0.crash'

Error! Bad return status for module build on kernel: 4.4.0-87-generic (x86_64)

Consult /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/make.log for more information.

dpkg: error processing package oem-audio-hda-daily-dkms (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up sgml-data (2.0.10) ...
Setting up libept1.5.0:amd64 (1.1+nmu3) ...
Setting up librarian0 (0.8.1-6) ...
Setting up synaptic (0.83) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Setting up docbook-xml (4.5-7.3) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Setting up rarian-compat (0.8.1-6) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Errors were encountered while processing:
 oem-audio-hda-daily-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks in advance.


@heynnema ..........

DKMS make.log for oem-audio-hda-daily-0.201612080732~ubuntu16.04.1 for kernel 4.4.0-87-generic (x86_64)
Wednesday 9 August 2017, 16:30:04 +0100
make -C /lib/modules/4.4.0-87-generic/build M=/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-87-generic'
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_bind.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_codec.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_jack.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_auto_parser.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_sysfs.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_controller.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_proc.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_hwdep.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_beep.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_generic.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-generic.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_realtek.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-realtek.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_cmedia.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-cmedia.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_analog.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-analog.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_sigmatel.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-idt.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_si3054.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-si3054.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_cirrus.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-cirrus.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_ca0110.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-ca0110.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_ca0132.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-ca0132.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_conexant.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-conexant.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_via.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-via.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_hdmi.o
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_hdmi.c: In function ‘register_i915_notifier’:
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/patch_hdmi.c:2338:38: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  spec->i915_audio_ops.pin_eld_notify = intel_pin_eld_notify;
                                      ^
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_eld.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-codec-hdmi.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hda_intel.o
  LD [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/snd-hda-intel.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hda_bus_type.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_bus.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_device.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_sysfs.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_regmap.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_controller.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_stream.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/array.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdmi_chmap.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/trace.o
  CC [M]  /var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.o
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c: In function ‘snd_hdac_sync_audio_rate’:
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:215:9: error: too few arguments to function ‘acomp->ops->sync_audio_rate’
  return acomp->ops->sync_audio_rate(acomp->dev, port, rate);
         ^
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c: In function ‘snd_hdac_acomp_get_eld’:
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:252:47: warning: passing argument 3 of ‘acomp->ops->get_eld’ makes integer from pointer without a cast [-Wint-conversion]
  return acomp->ops->get_eld(acomp->dev, port, audio_enabled,
                                               ^
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:252:47: note: expected ‘int’ but argument is of type ‘bool * {aka _Bool *}’
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:253:8: warning: passing argument 4 of ‘acomp->ops->get_eld’ from incompatible pointer type [-Wincompatible-pointer-types]
        buffer, max_bytes);
        ^
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:253:8: note: expected ‘bool * {aka _Bool *}’ but argument is of type ‘char *’
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:253:16: warning: passing argument 5 of ‘acomp->ops->get_eld’ makes pointer from integer without a cast [-Wint-conversion]
        buffer, max_bytes);
                ^
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:253:16: note: expected ‘unsigned char *’ but argument is of type ‘int’
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:252:9: error: too few arguments to function ‘acomp->ops->get_eld’
  return acomp->ops->get_eld(acomp->dev, port, audio_enabled,
         ^
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c: In function ‘snd_hdac_sync_audio_rate’:
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:216:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c: In function ‘snd_hdac_acomp_get_eld’:
/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.c:254:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.o' failed
make[3]: *** [/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore/hdac_i915.o] Error 1
scripts/Makefile.build:403: recipe for target '/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore' failed
make[2]: *** [/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build/hdacore] Error 2
Makefile:1420: recipe for target '_module_/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build' failed
make[1]: *** [_module_/var/lib/dkms/oem-audio-hda-daily/0.201612080732~ubuntu16.04.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-87-generic'
Makefile:53: recipe for target 'all' failed
make: *** [all] Error 2
Graphical problem with desktop cube, Ubuntu 14.04.4 https://askubuntu.com/questions/742571/graphical-problem-with-desktop-cube-ubuntu-14-04-4

I'm new to Linux and I need some help. I have problem with desktop cube, Ubuntu 14.04.4. I can't describe it, so here are the screenshots:

enter image description here

enter image description here

I enabled all this,
Composite, OpenGL, Desktop Cube, Rotate Cube, Animations, Enhanced Zoom Desktop, Expo, Fading Windows, Ubuntu Unity Plugin,

general options->desktop size->horizontal virtual size 4 & vertical virtual size 1.

desktop cube->transparent cude->opacity during rotating 50,000

rotate cude->general->zoom 1,000.

desktop cube->appearance-/skydome change the 3 first settings

(I do not have gpu driver installed because I had some issues, all texts was cloudy, couldn't read anything,but same issue happened with driver too.)

*driver installed, had to uncheck fxaa to fix the issue.problem still exist

I ran this test

/usr/lib/nux/unity_support_test -p

and all was "yes".

my systeam : ubuntu 14.04.4 LTS 64-bit, AMD FX(tm)-6100 Six-Core Processor × 6,
gpu nvidia gtx 560, 16giga ram

Mount qcow2 image using qemu-nbd within a container https://askubuntu.com/questions/566558/mount-qcow2-image-using-qemu-nbd-within-a-container

I'm trying to get an OpenStack Nova compute node running within a container to boot a server in a nested container.

Everything works fine until I ask Nova in the controller to boot the server. During the server boot process in the compute container, libvirt uses qemu-nbd to export the qcow2 disk image downloaded from OpenStack Glance as a previous step to launching the nested container. With the default lxc configuration qemu-nbd fails.

I've worked out the lxc.conf file to allow using qemu-nbd from within the container, but I must be missing something because even if the container activates the node /dev/nbd0 I can't see the /dev/nbd0p1 entry corresponding to the partition in the qcow2 disk image.

Here's the lxc.conf file for my Nova container:

# Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template: -d ubuntu -r trusty -a i386
# For additional config options, please look at lxc.container.conf(5)

# Distribution configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
lxc.arch = x86

# Container specific configuration
lxc.rootfs = /var/lib/lxc/compute/rootfs
lxc.utsname = compute

# Network configuration
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxcbr0
lxc.network.hwaddr = 00:16:3e:90:16:e0

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0.1000
lxc.network.hwaddr = 00:16:3e:90:16:e1

# This is the public interface
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0.2000
lxc.network.hwaddr = 00:16:3e:90:16:e2

# Added so certain functions (iptables, nova-compute, ...) work
lxc.mount.entry = /lib/modules/3.13.0-43-generic     /var/lib/lxc/compute/rootfs/lib/modules/3.13.0-43-generic none ro,bind 0 0

# Added so the compute node can run LXC VMs
lxc.mount.auto = cgroup
lxc.aa_profile = lxc-container-default-with-nesting

# Allow the container to mknod (needed by qemu-nbd...)
lxc.cgroup.devices.allow = c *:* m
lxc.cgroup.devices.allow = b *:* m

# Allow the container to use the host's nbd devices
lxc.cgroup.devices.allow = b 43:* rwm # Every nbd device in the host

It can be verified easily on the command line. Assuming we have the qcow disk image in /root/cirros-0.3.3-i386-disk.img:

root@compute:~# qemu-nbd -c /dev/nbd0 cirros-0.3.3-i386-disk.img -f qcow2
root@compute:~# ls -d /sys/class/block/nbd0p1
/sys/class/block/nbd0  /sys/class/block/ndb0p1
root@compute:~# ls /dev/nbd0*
/dev/nbd0

It seems the block device exists in the kernel, but the /dev/nbd0p1 device node has not been created. Anyone knows what am I missing in my container configuration?

P.S. I know OpenStack Nova by default doesn't work with container VMs, there are some changes I need to do in Nova code; but I need to overcome this hurdle first

apache2 on ubuntu 14 - localhost works but ip doesn't https://askubuntu.com/questions/554050/apache2-on-ubuntu-14-localhost-works-but-ip-doesnt

I've just installed apache2 on my box, along with php5.

I can navigate to "localhost" and it works. But I can't access this webserver from another machine... or even locally using the IP address. Other posts such as Apache (and other services) work on localhost, but not IP address suggest firewall settings and also checking to make sure I'm listening not just on localhost but *80.

This is what I have in ports.conf:

me@mydev:/etc/apache2$ cat ports.conf 
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>   Listen 443 </IfModule>

<IfModule mod_gnutls.c>     Listen 443 </IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet 

The default firewall doesn't seem to be enabled:

me@mydev:/etc/apache2$ sudo ufw status
[sudo] password for me: 
Status: inactive
me@mydev:/etc/apache2$ 

Just not sure what else I should check. Thanks.

EDIT 1

Results from IP tables query:

me@mydev:/etc/apache2$ sudo iptables -L
[sudo] password for me: 
Chain INPUT (policy ACCEPT) target     prot opt source              
destination         

Chain FORWARD (policy ACCEPT) target     prot opt source              
destination         

Chain OUTPUT (policy ACCEPT) target     prot opt source              
destination
me@mydev:/etc/apache2$

And I am able to successfully ping the box from different machines.

EDIT 2

Here are the results from the nmap command:

me@mydev:/var/www/html/test$ nmap localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2014-12-01 04:04 EST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00020s latency).
Not shown: 997 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
80/tcp  open  http
631/tcp open  ipp

Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
me@mydev:/var/www/html/test$ 

And for the IP:

me@mydev:/var/www/html/test$ nmap 10.238.59.63

Starting Nmap 6.40 ( http://nmap.org ) at 2014-12-01 04:08 EST
Nmap scan report for mydev.testdomain.bg.org (10.238.59.63)
Host is up (0.00024s latency).
Not shown: 998 closed ports
PORT   STATE SERVICE
22/tcp open  ssh
80/tcp open  http

Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
me@mydev:/var/www/html/test$