Ubuntu 25.10: Three screens, two views https://askubuntu.com/questions/1563503/ubuntu-25-10-three-screens-two-views

I have a laptop running Ubuntu 25.10. I'd like to make the following setup with three screens: The build-in laptop screen, a projector, connected via HDMI, and a portable USB-C monitor. I want to mirror the view on the laptop screen to the projector, and have an independent view on the USB-C monitor. The system settings as such don't allow me to do this; it's either three entirely separate views or the same view across all three screens. I have looked at this question, which is exactly what I want, but the solution there doesn't work for me.

I have tried the following gdctl command, without success:

$ gdctl set --logical-monitor --primary --monitor DP-3 --logical-monitor --monitor eDP-1 --monitor HDMI-1 --right-of DP-3
Failed to create configuration: Different monitor resolutions within the same logical monitor

Both eDP-1 (build-in laptop screen) and HDMI-1 (projector) are set to 1920x1080 at 60 Hz. So the error message doesn't make sense to me... Here's the output from gdctl show, which hopefully helps to shed some light on this issue:

$ gdctl show
Monitors:
├──Monitor DP-3 (RTK 16")
│  ├──Vendor: RTK
│  ├──Product: SF16
│  ├──Serial: demoset-1
│  ├──Current mode
│  │   └──1920x1200@60.000
│  └──Preferences
│      └──Backlight: None
├──Monitor HDMI-1 (Acer Technologies)
│  ├──Vendor: ACR
│  ├──Product: Acer 4K PJ
│  ├──Serial: JTA110018400
│  ├──Current mode
│  │   └──1920x1080@60.000
│  └──Preferences
│      └──Backlight: None
└──Monitor eDP-1 (Built-in display)
   ├──Vendor: BOE
   ├──Product: 0x09dc
   ├──Serial: 0x00000000
   ├──Current mode
   │   └──1920x1080@60.001
   └──Preferences
       └──Backlight:
           ├──active ⇒  True
           ├──min ⇒  193
           ├──max ⇒  19393
           └──value ⇒  9792

Logical monitors:
├──Logical monitor #1
│  ├──Position: (1920, 0)
│  ├──Scale: 1.0
│  ├──Transform: normal
│  ├──Primary: yes
│  └──Monitors: (1)
│      └──eDP-1 (Built-in display)
├──Logical monitor #2
│  ├──Position: (0, 0)
│  ├──Scale: 1.0
│  ├──Transform: normal
│  ├──Primary: no
│  └──Monitors: (1)
│      └──DP-3 (RTK 16")
└──Logical monitor #3
   ├──Position: (3840, 0)
   ├──Scale: 1.0
   ├──Transform: normal
   ├──Primary: no
   └──Monitors: (1)
       └──HDMI-1 (Acer Technologies)

Can anyone suggest why gdctl set doesn't work? Any help would be appreciated.

Thanks!

Ubuntu VM does not start completely - dracut-initqueue: starting timeout scripts https://askubuntu.com/questions/1563501/ubuntu-vm-does-not-start-completely-dracut-initqueue-starting-timeout-scripts

Hello Ask Ubuntu community!

I recently updated VirtualBox from version 7.2.4 to 7.2.6. I have several VMs, including an Ubuntu VM for which I decided to update the corresponding Virtual Guest Additions (VGA). Once I logged in, I ran the executable to install the VGA, but I noticed something different during the process compared to previous VGA updates: it started downloading dependencies to install some modules (unfortunately, I don't have any further information about this). After restarting the system, it didn't display the login screen; instead, it showed a Bash shell.

If I restart the virtual machine again, the GRUB menu appears. I select the first entry, and to see the system boot process I press the Esc key. I see that the boot process starts to take quite a while, and shortly after, several repetitive messages appear, like this one (finally, the Shell Bash prompt appears again):

[Output journalctl](https://i.sstatic.net/rEpvRSok.jpg)

Given that my VM is in this state, is there any procedure for the system to recover?

Thanks in advance.

Upgrade 22.04 to 24.04 mess - help https://askubuntu.com/questions/1563500/upgrade-22-04-to-24-04-mess-help

Feeling pretty stupid right now.

I went through the upgrade procedure to go from 22.04 to 24.04. I haven't lost any data and my machine is functional (thank goodness, since it's what I use for the day job).

But while enabling and upgrading third-party software I noted that sources.list was still using "jammy" instead of "noble".

Long story short, I got into the situation where I cannot upgrade anything because this happens.

1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-6.8.0-94-generic (6.8.0-94.96) ...
Processing triggers for linux-image-6.8.0-94-generic (6.8.0-94.96) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 6.8.0-94-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 -j8 KERNELRELEASE=6.8.0-94-generic -C /lib/modules/6.8.0-94-generic/build M
=/var/lib/dkms/virtualbox-guest/6.1.50/build.....(bad exit status: 2)
ERROR (dkms apport): binary package for virtualbox-guest: 6.1.50 not found
Error! Bad return status for module build on kernel: 6.8.0-94-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.1.50/build/make.log for more informatio
n.
dkms autoinstall on 6.8.0-94-generic/x86_64 succeeded for clevo-keyboard
dkms autoinstall on 6.8.0-94-generic/x86_64 failed for virtualbox-guest(10)
Error! One or more modules failed to install during autoinstall.Refer to previous errors for more information.
 * dkms: autoinstall for kernel 6.8.0-94-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.0-94-generic (--configure):
 installed linux-image-6.8.0-94-generic package post-installation script subproc
ess returned error exit status 11
Errors were encountered while processing:
 linux-image-6.8.0-94-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

I was trying to follow various "fixes" from various articles but it's just got worse.

Any help in digging myself out of this mess would be appreciated.

Ubuntu 24.04.3 : WiFi : Activation of network connection failed https://askubuntu.com/questions/1563498/ubuntu-24-04-3-wifi-activation-of-network-connection-failed

I have updated my Lenovo Ideapad S340-14IWL laptop from Windows 11 Home to Ubuntu 24.04.3. When I was using Windows I didn't face any WiFi connection issue, but on Ubuntu I can't use WiFi. After restarting the laptop, WiFi connects, but a few moments later WiFi disconnects automatically, and shows a 'Connection failed, Activation of network connection failed' message on the screen.

I can use the internet through USB tethering and Bluetooth tethering. My laptop has a Realtek RTL8822BE wireless network adapter.

I have attached the image of the message with my post.

Image

Ubuntu server SSH not responding to port forwarded SSH connection, though local SSH is working https://askubuntu.com/questions/1563497/ubuntu-server-ssh-not-responding-to-port-forwarded-ssh-connection-though-local

I am trying to get my ssh server reachable from the internet. I can connect to it fine from my laptop in the same network (this is what I am using to configure it)

I have configured port forwarding on my router. This seems to work because I see tcpdump messages coming in:

Philbert@pppserver:~$ sudo tcpdump  -f 'tcp and port 22 and not host [laptop IP]'
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlo1, link-type EN10MB (Ethernet), snapshot length 262144 bytes
14:45:04.345405 IP [public IP address] > pppserver.fritz.box.ssh: Flags [S], seq 3201356021, win 64240, 
options [mss 1460,sackOK,TS val 53085087 ecr 0,nop,wscale 7], length 0

But for some reason, the SSH server is not answering.

On the other side I see:

philbert@Laptop:~$ ssh -vv Philbert@[public IP]
OpenSSH_9.6p1 Ubuntu-3ubuntu13.14, OpenSSL 3.0.13 30 Jan 2024
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname [public IP] is address
debug1: Connecting to 188.212.115.138 [[public IP]] port 22.
debug1: connect to address [public IP] port 22: Connection timed out
ssh: connect to host [public IP] port 22: Connection timed out

ufw status:

Philbert@pppserver:~$ sudo ufw status
[sudo] password for Philbert: 
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere                  
22                         ALLOW       Anywhere                  
22/tcp (v6)                ALLOW       Anywhere (v6)             
22 (v6)                    ALLOW       Anywhere (v6)  

I'm not sure what else to check.

Clone nvme disk https://askubuntu.com/questions/1563496/clone-nvme-disk

I have a 1TB nvme disk inserted into my computer. But now I want to upgrade to a 4TB disk so I put my 4TB disk in an nvme sled(sabrent one) which has USB-cable. I plan to do this:

Create a bootable USB stick with Ubuntu

Power off computer

Put the new disk in the PC and the old one in the sled

Boot computer and choose boot from USB to boot from the stick, and go into root shell

Run fdisk -l to check the path names of the disks, and then probably do something like this:

dd if=/dev/nvme0n1p1 of=/dev/nvme1n0p1 bs=1M status=progress conv=fdatasync
dd if=/dev/nvme0n1p2 of=/dev/nvme1n0p2 bs=1M status=progress conv=fdatasync
dd if=/dev/nvme0n1p3 of=/dev/nvme1n0p3 bs=1M status=progress conv=fdatasync

sudo vgs
sudo cryptsetup resize nvme0n1p3_crypt
sudo pvresize /dev/mapper/nvme0n1p3_crypt
sudo vgs

sudo lvextend -r -l +100%FREE /dev/vgubuntu/root

Verify with:
lsblk

Does this look good or am I missing something in my plan?

Select specific display for Steam games (Proton) https://askubuntu.com/questions/1563495/select-specific-display-for-steam-games-proton

Ubuntu 25.10. Steam installed from Snap Store. Every game starts on my main display (laptop's built-in) but I'd like to force all Steam-run games to run on my second external display without changing the main screen system-wide. How can I achieve it?

Configure all keys of "ThinkPad TrackPoint Keyboard II" on Ubuntu https://askubuntu.com/questions/1563493/configure-all-keys-of-thinkpad-trackpoint-keyboard-ii-on-ubuntu

I am using the great external keyboard "ThinkPad TrackPoint Keyboard II" (AZERTY layout) with Ubuntu. On recent versions the keyboard is quite well recognized. But I would like every key to work. For example the Fn functions work : Fn+F1 mute, Fn+F2 volume down, etc. But some basic keys don't work like for example :

  • next to backspace, on the right, the key with - and _ displays "=" when pressed.

  • the key !8, when pressed displays "_" instead of "!"

  • the key "+=~" on the lower right, displays "!"

  • and several others.

Do you know how to configure the keyboard properly on a recent Ubuntu 24.04?

Do you know how to configure the keyboard properly on an old Ubuntu 16.04?

I can configure every key manually if needed, but I don't know how.

Thank you

Stream music from my iphone to Ubuntu 24.04 via bluetooth https://askubuntu.com/questions/1563491/stream-music-from-my-iphone-to-ubuntu-24-04-via-bluetooth

On Ubuntu 22.04 I followed these steps

https://www.cyberciti.biz/mobile-devices/linux-set-up-bluetooth-speaker-to-stream-audio-from-your-android-ios-mobile-phone

to stream music via bluetooth. That worked well. On Ubuntu 24.04 pulseaudio seemed to be replaced with pipewire-pulse. I'm looking for description how to set it up. My iphone does not seem to be recognized as an input device.

Can Ubuntu 24.04 be installed alongside Bitlocked Windows 11 by just suspending Bitlocker? https://askubuntu.com/questions/1563490/can-ubuntu-24-04-be-installed-alongside-bitlocked-windows-11-by-just-suspending

Although Ubuntu 25.10 has feature to recognise a Bitlocked Windows and install itself alongside it, but this is not the case with 24.04. The LTS version needs unencrypted Windows partition.

Can I just Suspend Bitlocker (not fully decrypt the partition) of my Windows 11 parition and install Ubuntu 24.04 alongside it?

Automatically install security updates only from PPA's https://askubuntu.com/questions/1563488/automatically-install-security-updates-only-from-ppas

The unattended-upgrades package automatically installs security updates on an Ubuntu Server system. By default, it's configured to not install normal feature/bugfix updates automatically. I have noticed that these normal updates can render WordPress websites unusable when installed automatically. They even introduce bugs sometimes. The normal updates should first be tested on a testing server, it's recommended. That is why they are disabled/ignored by default by unattended-upgrades, I suppose.

My question is: will Ubuntu automatically install security updates only from the PPA's I've added and leave the feature/bugfix updates from the PPA's aside for a moment where the system administrator manually runs apt upgrade (after testing)? How can I configure PPA's to behave this way? If the main system behaves this way, I think PPA's should behave the same. They should for sure install security updates automatically, but I think these are not installed automatically by default because the PPA is not added as a source to the 50unattended-upgrades config file. I think they should be added automatically to this file to have automatic security updates from the PPA's.

When adding a PPA to the 50unattended-upgrades sources manually to recieve security updates automatically, I will also recieve the normal feature/bugfix updates automatically I suppose. This means the packages from the PPA are always the bleeding edge, but the system packages are not the bleeding edge and fall behind. This could even introduce new bugs I suppose, because the PPA package would expect the system to be the bleeding edge as well, when it's not...

Booting into Enlightenment results in something like confetti after a while of waiting on frozen boot logo with cursor https://askubuntu.com/questions/1563481/booting-into-enlightenment-results-in-something-like-confetti-after-a-while-of-w

Replaced Gnome with Enlightenment on 24.04, and got past the boot logo, even though it took a while where the throbber stopped spinning but my cursor was on screen, but this doesn't look anything like a desktop at all, so I shut it down.

Took a video and turned it into a gif with ffmpeg:

Video of Screen

journalctl is reporting some red logs, when looking things up, feels like a similar report to this Bug 206225 - nouveau: Screen distortion and lockup on resume, given that I'm seeing well, distortion and the logs are mentioning nouveau, TRAP_MP_EXEC, and INVALID_OPCODE.

Maybe I also deleted the drivers for my NVIDIA GT 220 via apt autoremove?? Because I can't find any nvidia-driver entries in my installed packages. But neither can I install them via apt?

Automate mounting a Truecrypt partition on removable medium with cryptsetup https://askubuntu.com/questions/1563479/automate-mounting-a-truecrypt-partition-on-removable-medium-with-cryptsetup

I have a 3TB Truecrypt partition on a 3,5'' portable USB hard drive. Currently, to mount the partition I have to

  1. plug in the USB drive

  2. run veracrypt

  3. select the right volume

  4. tick "truecrypt mode"

  5. click "mount"

  6. enter the Truecrypt passphrase

  7. enter my user's password

  8. double-click on the mounted volume, which opens a new Nautilus (Files) window showing my files.

I read somewhere that TCRYPT support (for TrueCrypt or VeraCrypt volumes) may be compiled into cryptsetup, the software that also handles LUKS volumes. So I wonder, why doesn't Ubuntu (25.10 in my case) automatically attempt to mount TC volumes? (mine is not hidden, just a regular old TC partition).

And, corollary, how can I setup my system so that it does offer to mount TC volumes? I'd like the workflow to be:

  1. plug in the USB drive

  2. I get prompted to enter the Truecrypt passphrase

  3. Nautilus (Files) window opens with the contents

...i.e. exactly what happens with LUKS volumes.

Do I need to put something in /etc/fstab? Or write a script that does sudo cryptsetup --type tcrypt open /dev/sdX1 myvolume, make it executable and create a shortcut to it?

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

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

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

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

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

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

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

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

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

Edit 3: When

sudo fsck -b 32768 -y /dev/mapper/vgubuntu--budgie-root

(or any other superblock previously identified with mke2fs -n) it gives back

Superblock needs_recovery flag is clear, but journal has data
Recovery flag not set in backup superblock, so running journal anyway
...
fsck.ext4: unable to set superblock flags on /dev/mapper/vgubuntu--budgie-root
/dev/mapper/vgubuntu--budgie-root: **** FILE SYSTEM WAS MODIFIED****
/dev/mapper/vgubuntu--budgie-root: **** WARNING: Filesystem still has errors ****

For clarity: I'm meanwhile using a Live-USB Stick to boot into "try/install Ubuntu Budgie", from there decrypt the main partition (sda3) with cryptsetup, before performing further steps such as fsck. To see if anything "worked", I shut down, remove USB stick and try normal boot up.

Android Debug Bridge installation - error: undefined symbol: libusb_hotplug_register_callback https://askubuntu.com/questions/1563214/android-debug-bridge-installation-error-undefined-symbol-libusb-hotplug-regi

I tried installing the Android Debug Bridge on Ubuntu 24.04 via sudo apt install adb. The install was seemingly successful, but adb --version produced the following error: adb: symbol lookup error: adb: undefined symbol: libusb_hotplug_register_callback.

From what I've seen on the web, I haven't found any cases quite like mine. This question seems possibly related, but not sure.

My libusb packages as shown by dpkg -l | grep libusb are:

ii  libusb-1.0-0:amd64                                 2:1.0.27-1                               amd64        userspace USB programming library
ii  libusb-1.0-doc                                     2:1.0.27-1                               all          documentation for userspace USB programming
ii  libusbmuxd6:amd64                                  2.0.2-4build3                            amd64        USB multiplexor daemon for iPhone and iPod Touch devices - library

I tried combinations of installing libusb-1.0-0-dev and installing android-tools-adb with the same result.

Checking the dependencies with ldd $(which adb) produces:

linux-vdso.so.1 (0x000079d6706df000)
libbase.so.0 => /usr/lib/x86_64-linux-gnu/android/libbase.so.0 (0x000079d6705e7000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x000079d6705c3000)
libbrotlienc.so.1 => /lib/x86_64-linux-gnu/libbrotlienc.so.1 (0x000079d670524000)
libcrypto.so.0 => /usr/lib/x86_64-linux-gnu/android/libcrypto.so.0 (0x000079d67038b000)
libcutils.so.0 => /usr/lib/x86_64-linux-gnu/android/libcutils.so.0 (0x000079d67037a000)
liblog.so.0 => /usr/lib/x86_64-linux-gnu/android/liblog.so.0 (0x000079d670369000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x000079d670347000)
libprotobuf.so.32 => /lib/x86_64-linux-gnu/libprotobuf.so.32 (0x000079d670000000)
libssl.so.0 => /usr/lib/x86_64-linux-gnu/android/libssl.so.0 (0x000079d66ff97000)
libusb-1.0.so.0 => /opt/14.7/ISE_DS/ISE/lib/lin64/libusb-1.0.so.0 (0x000079d66fc00000)
libziparchive.so.0 => /usr/lib/x86_64-linux-gnu/android/libziparchive.so.0 (0x000079d670330000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x000079d66fedd000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x000079d66f800000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000079d66fb17000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000079d670300000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000079d66f400000)
/lib64/ld-linux-x86-64.so.2 (0x000079d6706e1000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x000079d66feba000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000079d66fe9e000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x000079d6702f9000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x000079d6702f4000)

The line libusb-1.0.so.0 => /opt/14.7/ISE_DS/ISE/lib/lin64/libusb-1.0.so.0 (0x000079d66fc00000) makes me think it has to do with an installation of Xilinx ISE where I followed this installation tutorial which manually modifies some symlinks for libstdc++.so. But I see nothing in that tutorial which might have to do with libusb. I'm not sure how to interpret this. Did Xilinx ISE maybe bring its own version of libusb to which adb is being redirected because some symlinks were created during the ISE installation?

How can I proceed on fixing the "undefined symbol" error?

Edits in response to steeldriver's comments:

From what I can see, there's no LD_LIBRARY_PATH variable in my PATH. I'm not quite sure what you meant with "environment", I checked echo $PATH and my .bashrc file. But I found what should be the .xsetup for my platform and that contains LD_LIBRARY_PATH. It looks like this:

XLNX_DIR_NAME=$(cd `dirname $0` && pwd)

XLNX_LIB_PATH=${XLNX_DIR_NAME}
XLNX_LIB_PATH=`dirname ${XLNX_LIB_PATH}`
XLNX_LIB_PATH=`dirname ${XLNX_LIB_PATH}`

XLNX_LIB_PATH=${XLNX_LIB_PATH}/lib/lin64

if [ -n ${LD_LIBRARY_PATH} ]; then
    export LD_LIBRARY_PATH=.:${XLNX_LIB_PATH}:${LD_LIBRARY_PATH}
else
    export LD_LIBRARY_PATH=.:${XLNX_LIB_PATH}
fi

${XLNX_DIR_NAME}/_xsetup "$@"

The output of diff /etc/skel/.bashrc ~/.bashrc is:

source /opt/14.7/ISE_DS/settings64.sh

export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
. "$HOME/.cargo/env"

export PATH=$HOME/.local/bin:$PATH

(And the output of echo $LD_LIBRARY_PATH is /opt/14.7/ISE_DS/ISE/lib/lin64:/opt/14.7/ISE_DS/EDK/lib/lin64:/opt/14.7/ISE_DS/common/lib/lin64.)

Can only boot Ubuntu if gnome-shell doesn't change my boot GPU to the VGA I'm not using https://askubuntu.com/questions/1562613/can-only-boot-ubuntu-if-gnome-shell-doesnt-change-my-boot-gpu-to-the-vga-im-no

I have Ubuntu 24.04.3 running on a HDD with the CPU being an AMD Ryzen 5 7600X.

Going into GRUB and then into Recovery Mode, seems to be the only way to boot all the way to desktop consistently.

A mention of VGA GPU in the boot logs of all "failed" boots seems to indicate that it's because:

gnome-shell: Boot VGA GPU /dev/dri/card1 selected as primary

But my monitor doesn't act like there's "no HDMI video signal", emphasis mine, it just gives a black screen.

Seems to be some sorta race condition, since even hard resetting on a failed boot, and doing nothing differently, works every once in a while.

It might also be something about clocks and how my working boot was done quickly after the failure, since this doesn't appear in the working boot, but does in the failure:

systemd-resolve: Clock change detected. Flushing caches.

Or might it even be that failure has:

systemd: Starting alsa-restore.service - Save/Restore Sound Card State...

My internal microphone stopped working after an update https://askubuntu.com/questions/1562234/my-internal-microphone-stopped-working-after-an-update

I use Ubuntu Jammy Jellyfish 22.04.5 LTS with Gnome 42.9 on an ASUS E510 laptop. My internal microphone worked very well until I did an update several months ago. Now, it is dead even when set to 100%. In this condition, the record level in the settings panel shows a single bar which flashes on and off and appears to be picking up super quiet electronic interference noise but zero sound. At the time, if I rolled back my kernel the mike came to life again, so I know there is nothing physically wrong with the mike. I can now no longer use my mike AT ALL as that kernel is now no longer on my system to roll back to. Please help.

As requested here is the output from sudo lspci -vnn | awk -vRS= '/\[0403\]/':

00:1f.3 Audio device [0403]: Intel Corporation Device [8086:4dc8] (rev 01) (prog-if 80)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1932]
    Flags: bus master, fast devsel, latency 32, IRQ 129, IOMMU group 10
    Memory at 6001120000 (64-bit, non-prefetchable) [size=16K]
    Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: [50] Power Management version 3
    Capabilities: [80] Vendor Specific Information: Len=14 <?>
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_icl
Barrier does not work for Linux to Windows connection https://askubuntu.com/questions/1409533/barrier-does-not-work-for-linux-to-windows-connection

I have been trying for a while to connect my mouse and keyboard using barrier between Ubuntu and Windows.

  1. I tried different way to connect. for example changing port, disable enabling SSL, putting same device name and so on, but nothing is working.
  2. I tried Windows as a server and also tried Ubuntu as a server, but could not connect.

In server's log it shows: "waiting for clients" \n "server status : active" In client's log it shows:

[2022-05-20T00:51:46] WARNING: failed to connect to server: Timed out
[2022-05-20T00:51:47] NOTE: connecting to '192.168.0.37': 192.168.0.37:24801
[2022-05-20T00:51:47] INFO: OpenSSL 1.1.1  11 Sep 2018
[2022-05-20T00:52:02] WARNING: failed to connect to server: Timed out

My question is am I only one who is facing this issue? or It is not possible for Ubuntu and Windows to connect using Barrier. If so, what free software or way (hardware) do you recommend me to solve this issue?

How to turn off or reboot at (initramfs) prompts/BusyBox? https://askubuntu.com/questions/1366197/how-to-turn-off-or-reboot-at-initramfs-prompts-busybox

I get the (initramfs) prompts/busybox occasionally in Ubuntu 20.04.

BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash) 
Enter 'help' for a list of built-in commands.

(initramfs)

A manual fsck solves the problem, but I need to know which partition got corrupted. Sometimes when I get the BusyBox, neither the reboot command nor the exit command works. (I suppose the exit command works, but we are still in the BusyBox because the file system errors persists). I need to turn off or reboot to see which partition has the problem.

How to turn off or reboot when you get stuck in BusyBox (and reboot and exit commands have no effect)?

Failed to open GParted in Ubuntu 20.04 https://askubuntu.com/questions/1321840/failed-to-open-gparted-in-ubuntu-20-04

I tried to install Ubuntu 20.04 using a USB drive, but failed because of partitioning problems, which I described here. To understand what's going on with my drive I tried to use GParted while using a live Ubuntu USB, but that also failed.

I found that GParted is already preinstalled. I didn't find a way to open it by clicking on its icon, so I used a command instead.

sudo gparted

and immediately got this error:

Input/output error during read on /dev/nvme0n1

I couldn't close GParted neither by closing graphical windows nor by using commands:

ubuntu@ubuntu:~$ pkill gparted
pkill: killing pid 16590 failed: Operation not permitted
pkill: killing pid 16651 failed: Operation not permitted
ubuntu@ubuntu:~$ kill 16590
bash: kill: (16590) - Operation not permitted
ubuntu@ubuntu:~$ kill 16651
bash: kill: (16651) - Operation not permitted
ubuntu@ubuntu:~$ █

So, as an error is about a drive I launched a command to see disk space:

df -h

with this result:

some drives

Why I am getting that error? What to do about it?

Installing cuda 8.0 in ubuntu 20.04 https://askubuntu.com/questions/1253929/installing-cuda-8-0-in-ubuntu-20-04

I have been trying to install cuda 8.0 in ubuntu 20.04. I used the documentation provided in: https://developer.nvidia.com/cuda-80-ga2-download-archive I tried with both the deb(local) and deb(network). However, using sudo apt-get cuda, I get the following error:

The following packages have unmet dependencies:
cuda : Depends: cuda-11-0 (>= 11.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

From a few other questions I got to know, I could use sudo apt-get cuda-8-0. However that too shows following error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cuda-8-0 : Depends: cuda-runtime-8-0 (>= 8.0.61) but it is not going to be installed
            Depends: cuda-demo-suite-8-0 (>= 8.0.61) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Can anyone help what I am doing wrong and how I can install Cuda-8-0 in ubuntu 20.04?

Wireless Woes: iwlwifi-8265 - Ubuntu 18.04 (and Mint Tara) https://askubuntu.com/questions/1181178/wireless-woes-iwlwifi-8265-ubuntu-18-04-and-mint-tara

I am trying to set up two machines, both have identical hardware that should be supported by the newer Linux kernels. The wireless card inside is a GIGABYTE "GC-WB867D-I" Wifi+Bluetooth. Out of the box the Bluetooth works, however the Wifi does not.


The kerenel version via: uname -r

5.0.0-31-generic

The firmware version via: modinfo iwlwifi | grep 8265

firmware: iwlwifi-8265-36.ucode

The firmware file code via: lsmod | grep iwlwifi

iwlwifi 315392 1 iwlmvm

The Network controller via: sudo lspci | grep Network

41:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)


The more verbose Network controller via ID: sudo lspci -vnd 8086:24fd

41:00.0 0280: 8086:24fd (rev 78) Subsystem: 8086:1010 Flags: bus master, fast devsel, latency 0, IRQ 139 Memory at fa400000 (64-bit, non-prefetchable) [size=8K] Capabilities: [c8] Power Management version 3 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [40] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 48-89-e7-ff-ff-4b-c6-c0 Capabilities: [14c] Latency Tolerance Reporting Capabilities: [154] L1 PM Substates Kernel driver in use: iwlwifi Kernel modules: iwlwifi, wl

And finally the most verbose via the debug script: wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info

Text file excerpt:

########## wireless info START ##########

Report from: 14 Oct 2019 20:53 PDT -0700

Booted last: 14 Oct 2019 00:00 PDT -0700

Script from: 22 Oct 2018 03:34 UTC +0000

##### release ###########################

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

##### kernel ############################

Linux 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash

##### desktop ###########################

Ubuntu

##### lspci #############################

04:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
    Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection [1458:e000]
    Kernel driver in use: igb

41:00.0 Network controller [0280]: Intel Corporation Wireless 8265 / 8275 [8086:24fd] (rev 78)
    Subsystem: Intel Corporation Dual Band Wireless-AC 8265 [8086:1010]
    Kernel driver in use: iwlwifi

##### lsusb #############################

Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 05b8:3279 Agiler, Inc. 
Bus 005 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 2357:0108  
Bus 001 Device 003: ID 8087:0a2b Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: phy3: Wireless LAN
    Soft blocked: no
    Hard blocked: no

##### secure boot #######################

SecureBoot disabled
Platform is in Setup Mode

##### lsmod #############################

wl                   6447104  0
iwlmvm                389120  0
rtl8xxxu              126976  0
mac80211              819200  2 iwlmvm,rtl8xxxu
iwlwifi               315392  1 iwlmvm
wmi_bmof               16384  0
mxm_wmi                16384  1 nouveau
cfg80211              679936  4 wl,iwlmvm,iwlwifi,mac80211
wmi                    28672  3 wmi_bmof,mxm_wmi,nouveau

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

etc.... etc....

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager config #############

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 3

[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no

[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved

[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan

[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/

[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve

##### NetworkManager profiles ###########


##### Netplan config ####################

[/etc/netplan/01-network-manager-all.yaml]
network:
  version: 2
  renderer: NetworkManager


etc.... etc....


##### module parameters #################

[iwlmvm]
init_dbg: N
power_scheme: 2
tfd_q_hang_detect: Y

grep: /sys/module/rtl8xxxu/parameters/debug: Permission denied
grep: /sys/module/rtl8xxxu/parameters/dma_agg_pages: Permission denied
grep: /sys/module/rtl8xxxu/parameters/dma_aggregation: Permission denied
grep: /sys/module/rtl8xxxu/parameters/dma_agg_timeout: Permission denied
grep: /sys/module/rtl8xxxu/parameters/ht40_2g: Permission denied
[rtl8xxxu]

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[iwlwifi]
11n_disable: 0
amsdu_size: 0
antenna_coupling: 0
bt_coex_active: Y
d0i3_disable: Y
d0i3_timeout: 1000
disable_11ac: N
disable_11ax: N
enable_ini: N
fw_monitor: N
fw_restart: Y
lar_disable: N
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
remove_when_gone: N
swcrypto: 0
uapsd_disable: 3

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

~EDIT~ The loading of the kernel module. sudo modprobe iwlwifi && dmesg | grep iwl

[    5.761509] iwlwifi 0000:41:00.0: enabling device (0000 -> 0002)
[    5.765276] iwlwifi 0000:41:00.0: loaded firmware version 36.9f0a2d68.0 op_mode iwlmvm
[    5.836664] iwlwifi 0000:41:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[    5.843363] iwlwifi 0000:41:00.0: swiotlb buffer is full (sz: 4096 bytes)
[    5.843367] iwlwifi 0000:41:00.0: overflow 0x0000001030d6f000+4096 of DMA mask fffffffff bus mask 0
[    5.843377] Modules linked in: snd_pcm ucsi_ccg(+) wl(POE) aes_x86_64 snd_seq_midi crypto_simd snd_seq_midi_event iwlmvm(+) cryptd rtl8xxxu(+) glue_helper joydev input_leds typec_ucsi fjes(-) snd_rawmidi video typec mac80211 ttm iwlwifi drm_kms_helper snd_seq btusb wmi_bmof btrtl mxm_wmi btbcm snd_seq_device drm btintel snd_timer cfg80211 bluetooth fb_sys_fops snd syscopyarea sysfillrect ecdh_generic sysimgblt k10temp ccp(+) soundcore mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid igb i2c_algo_bit nvme ahci dca i2c_piix4 nvme_core i2c_nvidia_gpu libahci gpio_amdpt wmi gpio_generic
[    5.843419]  iwl_pcie_rxq_alloc_rbs+0x164/0x1d0 [iwlwifi]
[    5.843425]  _iwl_pcie_rx_init+0x2bc/0x310 [iwlwifi]
[    5.843431]  iwl_pcie_rx_init+0x2d/0x400 [iwlwifi]
[    5.843442]  ? iwl_mvm_nic_config+0x118/0x170 [iwlmvm]
[    5.843449]  iwl_trans_pcie_start_fw+0x2a1/0x6d0 [iwlwifi]
[    5.843459]  ? iwl_init_notification_wait+0x6d/0xb0 [iwlwifi]
[    5.843467]  iwl_mvm_load_ucode_wait_alive+0x102/0x310 [iwlmvm]
[    5.843476]  iwl_run_init_mvm_ucode+0x88/0x340 [iwlmvm]
[    5.843483]  ? iwl_run_init_mvm_ucode+0x88/0x340 [iwlmvm]
[    5.843490]  ? iwl_wait_init_complete+0x30/0x30 [iwlmvm]
[    5.843497]  iwl_op_mode_mvm_start+0x72e/0xab0 [iwlmvm]
[    5.843504]  ? iwl_op_mode_mvm_start+0x72e/0xab0 [iwlmvm]
[    5.843510]  _iwl_op_mode_start.isra.10+0x4c/0xa0 [iwlwifi]
[    5.843516]  iwl_opmode_register+0x75/0xe0 [iwlwifi]
[    5.843525]  iwl_mvm_init+0x38/0x1000 [iwlmvm]
[    6.884065] iwlwifi 0000:41:00.0: SecBoot CPU1 Status: 0x3, CPU2 Status: 0x2a58
[    6.884069] iwlwifi 0000:41:00.0: Failed to start INIT ucode: -110
[    6.884071] iwlwifi 0000:41:00.0: Collecting data: trigger 15 fired.
[    7.233236] iwlwifi 0000:41:00.0: Failed to run INIT ucode: -110

What I have tried...


Replace the iwlwifi-8265-22.ucode file in /lib/firmware/ folder with the drivers from Intel. The folder contains, iwlwifi-8265 (-21), (-22), (-27), (-31), (-34), (-36) for newer kerenls I'd assume.


Changed the power settings via gedit, wifi.powersave = 3 (3) -> (2) -> (1) in file/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


Updated, upgraded, updated kernels etc... I am usually okay at troubleshooting linux issues, however this one has me stumped. I noticed the firmware version points to iwlwifi-8265-36.ucode, while the Intel driver points to iwlwifi-8265-22.ucode. Is this the issue?


I have lost a day to this problem, and normally I can solve these issues somewhat quickly. With any luck I can solve the issue within the next day, else I will buy two new PCI cards :<. Any help is greatly appreciated, thanks!

Slow boot and GParted in Ubuntu 18.04 https://askubuntu.com/questions/1079339/slow-boot-and-gparted-in-ubuntu-18-04

I am new to Ubuntu and have dual boot Windows 10 & Ubuntu 18.04 LTS. Firstly, everything was running fine, but after one update, Ubuntu started to boot extremely slow. After a couple of hours searching the internet, I figured out that the delay is caused by: 'a start job started by dev-disk-by...' and found that question: a start job is running..., but I am a bit worried that I would screw somethig and I need a bit of help.

My /etc/fstab looks like:

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=5e550b00-a4ae-4293-a9a0-183c3ca24483 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda6 during installation
#UUID=B288-94AF  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda5 during installation
UUID=6bd932ca-9689-4507-8536-a1e0a7e5028d none            swap    sw              0       0

My GParted looks like this:

GParted

I am not sure where Ubuntu is located to comment out the proper UUID according to the mentioned question. Also is there a way to merge the highlighted unallocated space with /dev/sda6? Can I get rid of /dev/sda5?

SSH: Port 22 Connection refused https://askubuntu.com/questions/1072899/ssh-port-22-connection-refused

From Ubuntu 18 lts I'm trying to establish ssh connection with my Kali Linux VirtualBox on the same computer. I've already installed openssh-client and openssh-server on both systems and I'm connected to Internet via ethernet cable. So, I have 'enp2s0' interface (on both systems) which is found in 'ifconfig' and I changed my network ipv4 addresses to static with the same IP addresses I found in 'ifconfig':

In Ubuntu:

IP: 192.168.1.8

In Kali:

IP: 192.168.1.5

Netmask: 255.255.255.0 and Default Gateway: 192.168.1.255 are same on both systems. In VBox settings for Kali I configured network to Bridge connection. I checked ping between these systems and it is ok (64bytes..blahblah). I turned off firewall on both systems:

sudo ufw disable

so it's inactive. The problem is that, I can connect from Kali shell to Ubuntu, but not vice versa where I'm getting the following message:

ssh: connect to host 192.168.1.5 port 22: Connection refused

I also tried with: sudo ufw allow 22 on both and nothing.

sudo ufw ssh enable didn't help.

Answers on comments:

netstat -an | grep 22 gives me:

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp       69      0 192.168.1.8:53436       13.32.28.22:443         ESTABLISHED
tcp6       0      0 :::22                   :::*                    LISTEN     
unix  2      [ ]         DGRAM                    3766327  /var/lib/samba/private/msg.sock/922
unix  2      [ ]         DGRAM                    3805225  /run/wpa_supplicant/wlp3s0mon
unix  3      [ ]         STREAM     CONNECTED     2717922  /run/user/1000/bus
unix  3      [ ]         STREAM     CONNECTED     2869722  
unix  3      [ ]         STREAM     CONNECTED     3802265  
unix  3      [ ]         STREAM     CONNECTED     3802266  
unix  3      [ ]         STREAM     CONNECTED     2335221  
unix  3      [ ]         STREAM     CONNECTED     2341225  /var/run/dbus/system_bus_socket
unix  3      [ ]         STREAM     CONNECTED     1822     /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     3773622  
unix  3      [ ]         STREAM     CONNECTED     27122    /run/user/121/bus
unix  3      [ ]         STREAM     CONNECTED     3802298  
unix  3      [ ]         STREAM     CONNECTED     3802297  
unix  3      [ ]         STREAM     CONNECTED     2468922  
unix  2      [ ]         DGRAM                    2339422  
unix  3      [ ]         STREAM     CONNECTED     2332622  
unix  3      [ ]         STREAM     CONNECTED     3853822  
unix  3      [ ]         STREAM     CONNECTED     29227    
unix  3      [ ]         STREAM     CONNECTED     29228    
unix  3      [ ]         STREAM     CONNECTED     2329522  
unix  3      [ ]         STREAM     CONNECTED     3766622  
unix  3      [ ]         STREAM     CONNECTED     2329922  
unix  3      [ ]         STREAM     CONNECTED     28122    /run/systemd/journal/stdout
unix  3      [ ]         STREAM     CONNECTED     2888122  
Ubuntu 16.04 Unknown interface https://askubuntu.com/questions/970878/ubuntu-16-04-unknown-interface

I have an issue when configuring a second nic for my ubuntu server. Look at this:

root@ubuntubox01:~# lshw -short | grep network
/0/100/15/0          ens160      network    VMXNET3 Ethernet Controller
/0/100/16/0          ens192      network    VMXNET3 Ethernet Controller

When I look at the IP Addresses:

root@ubuntubox01:~# ip addr sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host 
   valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:b6:52:89 brd ff:ff:ff:ff:ff:ff
inet XXX.XXX.XXX.XXX/24 brd XXX.XXX.XXX.XXX scope global ens160
   valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:feb6:5289/64 scope link 
   valid_lft forever preferred_lft forever
3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:b6:e2:2d brd ff:ff:ff:ff:ff:ff
inet6 fe80::250:56ff:feb6:e22d/64 scope link 
   valid_lft forever preferred_lft forever

But if I do:

root@ubuntubox01:~# ifup ens192
Unknown interface ens192

Same thing happens when I try to use the interfaces file. Any ideas as to why ubuntu sees the physical interface but refuses to bring it up saying the interface is unknown?

I am using ubuntu 16.04 Server 64 bits. It is a virtual environment by the way.

Greetings,

C.

Loading Gparted Live ISO from Grub 2 gives "disk not found" error https://askubuntu.com/questions/857250/loading-gparted-live-iso-from-grub-2-gives-disk-not-found-error

I'm trying to extend my Ubuntu partition by shrinking down my Windows partition. Using Windows Disk Management Tool I've shrinked out 99.67 Gb and now I have it unallocated. I need to add this 99.67 Gb to my Ubuntu root partition.

I'm using GParted and following this tutorial.

Here's what the df command prints out:

➜  ~ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1951080       12   1951068   1% /dev
tmpfs             392684     1040    391644   1% /run
/dev/sda8       50264772 45937836   1750552  97% /
none                   4        0         4   0% /sys/fs/cgroup
none                5120        0      5120   0% /run/lock
none             1963416        0   1963416   0% /run/shm
none              102400       32    102368   1% /run/user
/dev/sda1          98304    29567     68737  31% /boot/efi
shmfs            4194304  1162184   3032120  28% /dev/shm

so it seems that my Ubuntu root partition is sda8.

So, according to the tutorial, in file /etc/grub.d/40_custom I add the new menuentry. Here's how this file looks like:

#!/bin/sh
exec tail -n +3 $0

menuentry "GParted Live ISO" {
    set isofile="/denis/iso/gparted-live-0.27.0-1-i686.iso"
    loopback loop (hd0,8)$isofile
    linux (loop)/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia findiso=$isofile toram=filesystem.squashfs
    initrd (loop)/live/initrd.img
}

...however I get this error when trying to boot "GParted Live ISO" from Grub:

error: file `/vmlinuz' not found.  
error: no server is specified.  
unaligned pointer 0xb665b598  
Aborted. Press any key to exit._  

...and when I press any key to exit, Windows immediately starts to boot.

The iso file gparted-live-0.27.0-1-i686.iso is located at /home/denis/iso/ directory.


Could you please help me to find out what I'm doing wrong here and how to correctly load my GParted Live image from iso?

I've investigated a bit and found the location for my iso file in /boot folder from grub, it's (hd1,gpt8)/. Here's the screenshot from Grub console:

                             GNU GRUB  version 2.02~beta2-9ubuntu1.12

Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file 
 completions. ESC at any time exits.

grub> ls
(hd0) (hd1) (hd1,gpt10) (hd1,gpt9) (hd1,gpt8) (hd1,gpt7) (hd1,gpt6) (hd1,gpt5) (hd1,gpt4) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1) error: failure reading sector 0xfc from 'hd0'
error: failure reading sector 0xe0 from 'hd0'.
error: failure reading sector 0x0 from 'hd0'.

grub> ls (hd1,gpt8)/
lost+found/ boot/ etc/ media/ bin/ dev/ home/ lib/ lib64/ mnt/ opt/ proc/ root/ run/ sbin/ srv/ sys/ tmp/ usr/ var/ vmlinuz initrd.img cdrom/ initrd.img.old 
vmlinuz.old WebClient/ lib32/ kinfs_er/ u01/ kinfs_er.dmd
grub> ls (hd1,gpt8)/boot/iso
gparted-live-0.27.0-1-amd64.iso
grub> _

Here's how my new 40_custom menuentry looks like:

menuentry "GParted Live ISO" {
    set isofile="/boot/iso/gparted-live-0.27.0-1-amd64.iso"
    loopback loop (hd1,gpt8)$isofile
    linux (loop)/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia findiso=$isofile toram=filesystem.squashfs
    initrd (loop)/live/initrd.img
}

When I boot "GParted Live ISO" menuentry, I receive the following output:

error: file `/vmlinuz' not found.  
error: no server is specified.  
unaligned pointer 0xb665b598  
Aborted. Press any key to exit._  
Install Droidcam pc client for ubuntu 16.04 https://askubuntu.com/questions/845600/install-droidcam-pc-client-for-ubuntu-16-04
sudo apt-get install droidcam
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package droidcam

How to install Droidcam client for Ubuntu 16.04 LTS?

Connecting PS3 dualshock on Ubuntu 14.04 with 3.13.0-34-generic? https://askubuntu.com/questions/512177/connecting-ps3-dualshock-on-ubuntu-14-04-with-3-13-0-34-generic

The last entries/queries I can find about PS3 dual shock controller are dealing with older kernel versions. It looks like there may still be a problem with using the PS3 dual shock via USB(or bluetooth) with 14.04? I'm only guessing because I get no sign of detection or input when I plug in the USB. When I run

dmesg | grep sony

[ 4687.762302] sony 0003:054C:0268.0003: can't set operational mode
[ 4687.770639] sony: probe of 0003:054C:0268.0003 failed with error -38

So at this point, I don't know if it's worth running : sudo apt-get install xboxdrv

I also found this article LINK but it's dated 01/2013.

I was considering installing steam, and checking out some of the games. There are a few in particular I want to check out, but I'm afraid of purchasing them and then my controller does not work. I don't have a ps3, I just have the controller for Sixaxis/emulator/Android set up...

I see mentions for QTsixa and xboxdrv and known bugs, but the posts are at least a year old(older distibution/kernels) So I'm wondering if the current Kernel has fixed the bug. Ideally, I'd like to just plug in USB, and play. No Bluetooth available right now..

How to change bluetooth device class https://askubuntu.com/questions/439088/how-to-change-bluetooth-device-class

I am trying to change my advertised bluetooth device class from computer to phone, running ubuntu 12.04. I downloaded the bluez sources and edited the main.conf file to change the line

Class = 0x000100 

to something else. I used

Class = 0x0c025a 

Then I ran make && make install. I think that works ok because the /etc/bluetooth/main.conf file has been updated with my changes.

Now, the problem is that when I actually try to connect to a device

hcitool cc <bdaddr>

I see that I am still advertising myself using the Class 0x000100 and not 0x0c025a.

What am I missing here to get this changes to take effect?

BusyBox error on boot [closed] https://askubuntu.com/questions/44286/busybox-error-on-boot

I have a Windows XP and Ubuntu 10.10 dual boot. It was working fine, then suddenly while booting in GRUB if I select Ubuntu it shows me a stupid BusyBox error the same as this, and Windows XP is still working fine.

This is the error I'm getting:

[ 100.202397] Using IPI No-Shortcut mode
[ 100.202492] registered taskstats version 1
[ 100.202657] Magic number: 8:735:845
[ 100.202830] hash matches device ptyre
[ 100.202939] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 100.203007] EDD information not available.
[ 100.203329] Freeing unused kernel memory: 364k freed
Loading, please wait...
WARNING: Couldn't open directory /lib/modules/2.6.24-16-generic: No such file or
 directory
FATAL: Could not open /lib/modules/2.6.24-16-generic/modules.dep.temp for writing:
 No such file or directory
[ 100.230044] input: AT Translated Set 2 keyboard as /devices/platform/i8042/se
rio0/input/input1
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...

BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) _