NVIDIA HDMI Not Recognized on low-latency Kernel https://askubuntu.com/questions/1563302/nvidia-hdmi-not-recognized-on-low-latency-kernel

I recently installed a fresh copy Ubuntu Ubuntu 24.04.3 LTS and I was able to have 2 monitors through my Nvidia RTX980 with HDMI without issue. I downloaded the low-latency kernel from Ubuntu Studio because I want to do audio production on my desktop. However, ever since installing the low-latency kernel I am only able to use one monitor with a DVI cable.

I found some information on Google about editing

/etc/modules

with the following:

nvidia 
nvidia-drm
nvidia-modeset

According to the article I found, this solved the issue for a fair few people by forcing the Nvidia drivers to load earlier in the process. However, that article is rather old and does not account for the switch to modules-load.d and modprobe.d.

Hoping someone can assist in pointing me to the right file to edit to load the Nvidia drivers earlier in the low-latency kernel to address this issue. Thank you in advance.

Thunderbolt port doesn't work in MacBook 2011 with Ubuntu 24.04 https://askubuntu.com/questions/1563301/thunderbolt-port-doesnt-work-in-macbook-2011-with-ubuntu-24-04

I have a MacBook 2011 with Ubuntu 24.04. I can't use my Thunderbolt port to connect an external monitor. After plugging in the cable, the MacBook recognizes the connection, but nothing appears on the external monitor. How can I proceed?

I tried an Mini DisplayPort to HDMI cable. The monitor detects the cable and says "no signal from computer".

Is it possible to trick the Ubuntu to run my laptop on battery mode even it is plugged in? https://askubuntu.com/questions/1563298/is-it-possible-to-trick-the-ubuntu-to-run-my-laptop-on-battery-mode-even-it-is-p

I have a Thinkpad T495 laptop and its CPU (AMD Ryzen 5 Pro 3500U) is hitting 85+ C temperatures easily when it is plugged in (doesn't matter if it is in balanced or power saver mode). However, it doesn't exceed 65 C doing the similar tasks when it is running on battery. Is it possible to trick Ubuntu into using battery mode even when it is plugged in?

Bash or shell script when running in the terminal [duplicate] https://askubuntu.com/questions/1563297/bash-or-shell-script-when-running-in-the-terminal

I am wondering what are these bash and shell when we run for example python scripts in the console. I guess we can also convert into each other. I am looking for simple explanation.

Help, I broke my internet! https://askubuntu.com/questions/1563296/help-i-broke-my-internet

At first I found out that my Docker can’t connect to the internet. ping is OK, but curl fails; locally (e.g. 192.168.1.2 is also OK, it’s just the internet that failed). After some tweaking with ufw settings, I gave up and disabled ufw. The problem is solved, however to be safe I used iptables to set up a firewall just like I used in ufw. Now my machine can’t connect to the internet. It’s just like the Docker issue. ping and dns work fine, as well as local connections, even the service ports I left open are still functional, but curl still fails.

I’m completely incapable of understanding how and why such issue is even possible.

Bluetooth toggle instantly turns off https://askubuntu.com/questions/1563295/bluetooth-toggle-instantly-turns-off

The Bluetooth toggle keeps switching off after I press it in the settings menu. When I try to turn it on via the top right menu it just stays forever trying to turn on but never manages to. The only solution I have found that works is running the following commands:

~ $ sudo rmmod btusb 2>/dev/null
~ $ sudo rmmod btintel 2>/dev/null
~ $ sleep 1
~ $ sudo modprobe btusb

The only issue is that I have to run this every single time I log in to the computer (locking and unlocking screen will again disable the ability to turn on BT) and this is very annoying. I have added to ~/.bashrc but I have to always insert my password again and open the terminal, etc.

My questions is, is there known way to solve this once and for all (my search yield no results, I have tried everything), in negative case, how can I run the commands every time I unlock the screen?

Specs: Ubuntu 25.10 (but also tested on 24); Legion Pro 5i Gen 10 (16" Intel) with RTX 5070 Ti;

Where does Firefox on Ubuntu store a list of open tabs in 2026? https://askubuntu.com/questions/1563293/where-does-firefox-on-ubuntu-store-a-list-of-open-tabs-in-2026

I'm running Firefox on Ubuntu 24.04. It's currently a Snap, and I want to save its profile data, including a list of currently open tabs, to move to the APT version once I install it.

I have closed the Snap version, so any session storage mechanism should have been written to disk. My Snap profile data is stored in ~/snap/firefox/common/.mozilla/firefox/string.default-release. I'm certain that this is the correct folder, as it was the most recently updated, and it's the one identified by the Snap Firefox's "More Troubleshooting Information" page.

This Mozilla Support Article from 2016 is the first result of a web search for "firefox list of open tabs". It claims that after shutdown the list of tabs is stored in a file called sessionstore.js. This does not exist on my system, with the following search giving zero results.

~/snap/firefox/common/.mozilla/firefox$ find . -name "sessionstore.js"

There are only two files within the Snap Firefox profile folder that contain the string "session", and neither of them have a list of tabs or any other substantial backup data.

~/snap/firefox/common/.mozilla/firefox$ find string.default-release/ -name "*session*"
string.default-release/sessionCheckpoints.json
string.default-release/datareporting/session-state.json

The article also mentions a folder sessionstore-backups/ and files recovery.js, recovery.bak, previous.js, and upgrade.js-<build_id>. None of these exist on my system, as the following searches give zero results.

~/snap/firefox/common/.mozilla/firefox$ find . -type d -name "*sessionstore*"

~/snap/firefox/common/.mozilla/firefox$ find . -name "*recovery*"

~/snap/firefox/common/.mozilla/firefox$ find . -name "*previous*"

~/snap/firefox/common/.mozilla/firefox$ find . -name "*upgrade*"

This article must be an out-of-date dead end.

Further web searching gives a Stack Overflow question from 2015 that also cites sessionstore-backups/ but with an updated answer from 2023 stating that the sessionstore-backups/ folder and recovery.* files still exist as of then, though with different extensions on the files. As demonstrated above, these do not exist on my system in 2026.

I also tried finding the backup by grepping for a website that I'm certain was open in a tab when I closed the Snap version. This matches only two binaries related to browser extensions I have installed. There is no backup data or list of open tabs.

~/snap/firefox/common/.mozilla/firefox$ grep -r "fark.com" ./*
grep: ./string.default-release/storage/default/moz-extension+++1df11ddd-e68f-4bfb-8b99-ede3cf3257da/idb/{STRING}.files/1877: binary file matches
grep: ./string.default-release/storage/default/moz-extension+++40301ef3-aa3e-40cc-82e1-f95678c5f71b^userContextId={ID}/idb/{STRING}.sqlite: binary file matches

Where does Firefox store backup session data like the list of open tabs in 2026?

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

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

enter image description here

New install Ubuntu 24.04 on a Mac laptop but no internet connection [duplicate] https://askubuntu.com/questions/1563282/new-install-ubuntu-24-04-on-a-mac-laptop-but-no-internet-connection

I am new to Linux/Ubuntu. I have installed Ubuntu 24.04 on my Mac laptop which never had a problem connecting with WiFi. After the install there is no wireless internet connection. If I open the system menu in the topbar (panel) it does not show an icon for WiFi. Somehow have I made an Ubuntu installation without internet? How can I turn it on?

Terminal nmcli device shows:

DEVICE  TYPE      STATE                   CONNECTION 
lo      loopback  connected (externally)  lo

Laptop: Macbook Pro, which has no ethernet port to make a wired connection.

Update: looking in Software & Updates, Additional Drivers, I found that my wireless network adapter is not working. (Network adapter is: Broadcom.Inc BCM4360 802.11ac Dual Band Wireless Network Adapter) Sadly, because I can't connect to the internet I can't download the proprietary driver. I guess I have to buy a USB to Ethernet adapter.

Update 2: Thanks for the tips. I also found that my problem is a common one with Broadcom Network adapters. See this question: Installing Broadcom Wireless Drivers

File Based Backup Verification - Confused About Two Uses Of Diff https://askubuntu.com/questions/1563277/file-based-backup-verification-confused-about-two-uses-of-diff

I run a file-based backup of my machine as follows:

  1. Boot into a Live Ubuntu USB
  2. Mount my system partition (a Logical Volume under LVM) - Call this 'Original'
  3. Create a fresh 'Backup' LVM and mount that too - Call this 'Backup01'
  4. RSync from Original to Backup01

That works fine, and I can later boot from my internal drive and send the backup to external storage at my leisure.

To verify the backup, I usually do the following (while booted from the Live USB):

  1. SHA512Sum the entire 'Original' and 'Backup01' LVs. This produces two files (Original.SHA512Sum and Backup01.SHA512Sum)

  2. I then sort both files by path and filename, and then 'Diff' the two sorted files. This produces no output, and thus I (think) I know I have a faithful copy of Original stored in Backup01.

For the avoidance of doubt, both of these commands show the same output:

ls -la /PathTo/Original/
ls -la /PathTo/Backup01/

However, for no obvious reason, today I ran this alternative diff:

diff -rq /PathTo/Original/ /PathTo/Backup01/

However, that command output a load of differences, which is both confusing and concerning.

Questions:

  1. Is my backup method / process robust at all?

  2. Should I expect that the diff on the two directory trees would output no differences, or am I misunderstanding what diff does when you pass it two directories?

Thanks,

Alan.

Edit1: In response to Andrei Borzenkov's request, I checked a specific difference that was identified by 'diff -rq' and am posting here:

lrwxrwxrwx 1 root root    14 Jun  4  2025 /PathToOriginal/bin/iscsiadm -> /sbin/iscsiadm

lrwxrwxrwx 1 root root    14 Jun  4  2025 /PathToBackup01/bin/iscsiadm -> /sbin/iscsiadm

Both of those show as red (coloured) in the terminal, which indicates a broken link. If I try to find the targets of the links, in both cases (Original and Backup01) the target is missing.

I therefore suspected that many of the differences will be broken links, and so I ran:

find /PathToOriginal/ -xtype l -ls

which does in deed show a load of broken links!

I also ran:

diff -rq --no-dereference /PathTo/Original/ /PathTo/Backup01/

This reduces the differences list to almost none, all of the remaining errors being symmetrical (the same difference reported both in Original and Backup01) and having the following error reported:

'is a character special file'

which is not something I have come across before, but indicates that the items are device files, rather than 'regular' files.

Therefore, I think that the issue is resolved, and that trying to use 'diff' in the way I was won't work.

New install Ubuntu is connected to WiFi, but no internet https://askubuntu.com/questions/1563270/new-install-ubuntu-is-connected-to-wifi-but-no-internet

I recently installed Ubuntu on my old Samsung laptop. The laptop is connected to the internet OK via WiFi, and the laptop was perfectly fine with browsing the web before I installed Ubuntu. After installing Ubuntu I cannot access the internet at all using the laptop with no connection either through Firefox or through the built-in App Center.

Results of nslookup google.com and dig google.com:

raymondwen@raymondwen:~$ nslookup google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached

raymondwen@raymondwen:~$ dig google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused

; <<>> DIG 9.18.30-0ubuntu0.24.04.2-Ubuntu <<>> google.com
;; global options: +cmd
;; no servers could be reached
raymondwen@raymondwen:~$ ^C
raymondwen@raymondwen:~$ ^C
raymondwen@raymondwen:~$

Results of sudo traceroute -I 8.8.8.8:

raymondwen@raymondwen:~$ sudo traceroute -I 8.8.8.8
sudo: unable to resolve host raymondwen: Temporary failure in name resolution
[sudo] password for raymondwen:
sudo: traceroute: command not found
raymondwen@raymondwen:~$ resolvectl status
Global 
       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign

Link 2 (wlp1s0)
    Current Scopes: DNS
         Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 2001:568:ff09:10c::68
       DNS Servers: 192.168.1.254 2001:568:ff09:10c::68 2001:568:ff09:10b::124
raymondwen@raymondwen:~$

Results of ping 8.8.8.8:

64 bytes from 8.8.8.8: icmp_seq=478 ttl=119 time=8.38 ms
64 bytes from 8.8.8.8: icmp_seq=479 ttl=119 time=7.59 ms
64 bytes from 8.8.8.8: icmp_seq=480 ttl=119 time=7.48 ms
64 bytes from 8.8.8.8: icmp_seq=481 ttl=119 time=8.51 ms
64 bytes from 8.8.8.8: icmp_seq=482 ttl=119 time=8.06 ms
64 bytes from 8.8.8.8: icmp_seq=483 ttl=119 time=8.18 ms
64 bytes from 8.8.8.8: icmp_seq=484 ttl=119 time=9.30 ms
64 bytes from 8.8.8.8: icmp_seq=485 ttl=119 time=8.64 ms
64 bytes from 8.8.8.8: icmp_seq=486 ttl=119 time=8.66 ms
64 bytes from 8.8.8.8: icmp_seq=487 ttl=119 time=8.85 ms
64 bytes from 8.8.8.8: icmp_seq=488 ttl=119 time=7.11 ms
64 bytes from 8.8.8.8: icmp_seq=489 ttl=119 time=7.52 ms
64 bytes from 8.8.8.8: icmp_seq=490 ttl=119 time=8.70 ms
64 bytes from 8.8.8.8: icmp_seq=491 ttl=119 time=9.88 ms
64 bytes from 8.8.8.8: icmp_seq=492 ttl=119 time=8.09 ms
64 bytes from 8.8.8.8: icmp_seq=493 ttl=119 time=8.05 ms
64 bytes from 8.8.8.8: icmp_seq=494 ttl=119 time=8.54 ms
64 bytes from 8.8.8.8: icmp_seq=495 ttl=119 time=8.39 ms
64 bytes from 8.8.8.8: icmp_seq=496 ttl=119 time=8.60 ms
64 bytes from 8.8.8.8: icmp_seq=497 ttl=119 time=9.51 ms
64 bytes from 8.8.8.8: icmp_seq=498 ttl=119 time=8.54 ms
64 bytes from 8.8.8.8: icmp_seq=499 ttl=119 time=8.53 ms
64 bytes from 8.8.8.8: icmp_seq=500 ttl=119 time=9.49 ms
Selecting text with shift + click does not work https://askubuntu.com/questions/1563241/selecting-text-with-shift-click-does-not-work

In any operating system I know, I can select text in the following way:

  1. set the cursor at the beginning of that text by a left-click
  2. set the cursor at the end of that text by a left-click while pressing the shift key

This does not work on my Ubuntu 25.10 machine (the cursor is repositioned, but the text is not selected). And as far as I'm aware of I have not set any special configuration for my keyboard or my mouse.

Is this the standard behaviour of Ubuntu? What can I do to change it?

Edit: This behaviour is not application specific – it is the same with Firefox, LibreOffice, VSCode, the default Ubuntu text editor and other applications.

MySQL perpetually in startup https://askubuntu.com/questions/1563221/mysql-perpetually-in-startup

I had an issue creating users and my research uncovered this as a solution:

mysqld --initialize

The command returned instantly, but I don't know how long it should take. In any case, I tried to start MySQL after that, but it would not start.

Here is the journal output:

Subject: Unit failed
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
The unit mysql.service has entered the 'failed' state with result 'exit-code'.
Jan 24 11:23:55 dap002 systemd\[1\]: Failed to start mysql.service - MySQL Community Server.
Subject: A start job for unit mysql.service has failed
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
A start job for unit mysql.service has finished with a failure.
The job identifier is 3317688 and the job result is failed.
Jan 24 11:23:55 dap002 systemd\[1\]: mysql.service: Consumed 2.236s CPU time.
Subject: Resources consumed by unit runtime
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
The unit mysql.service completed and consumed the indicated resources.
Jan 24 11:23:56 dap002 systemd\[1\]: mysql.service: Scheduled restart job, restart counter is at 3.
Subject: Automatic restarting of a unit has been scheduled
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
Automatic restarting of the unit mysql.service has been scheduled, as the result for the configured Restart= setting for the unit.
Jan 24 11:23:56 dap002 systemd\[1\]: Starting mysql.service - MySQL Community Server...
Subject: A start job for unit mysql.service has begun execution
 Defined-By: systemd
 Support: http://www.ubuntu.com/support
A start job for unit mysql.service has begun execution.
The job identifier is 3317885.

Short of reinstalling mysql, how can I fix it? As far as I can tell there is nothing that tells me what is wrong.

Updated 1/25/25:

I am seeing this in the error log.

Cannot load from mysql.tables_priv. The table is probably corrupted!

That does not surprise me since I thought that was what --initialize was supposed to fix. I guess I need to restore the entire database from my backup, right?

Updated 01/26/2025:

I decided to bite the bullet and restore from backup. Unfortunately I seem to have a owner/permissions problem. Everything is chowned to mysql:mysql. However, I get this error when trying to start mysqld:

2026-01-26T16:35:02.991757Z 0 [Warning] [MY-010091] [Server] Can't create test file /var/lib/mysql/mysqld_tmp_file_case_ insensitive_test.lower-test 2026-01-26T16:35:02.991891Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.44-0ubuntu0.24.04.2) starting a s process 31072 2026-01-26T16:35:02.997662Z 0 [Warning] [MY-010091] [Server] Can't create test file /var/lib/mysql/mysqld_tmp_file_case_ insensitive_test.lower-test 2026-01-26T16:35:02.997681Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /v ar/lib/mysql/ is case insensitive mysqld: File './binlog.~rec~' not found (OS errno 13 - Permission denied) 2026-01-26T16:35:03.167613Z 0 [ERROR] [MY-010846] [Server] MYSQL_BIN_LOG::open_purge_index_file failed to open register file. 2026-01-26T16:35:03.167681Z 0 [ERROR] [MY-010817] [Server] MYSQL_BIN_LOG::open_index_file failed to sync the index file. 2026-01-26T16:35:03.167775Z 0 [ERROR] [MY-010119] [Server] Aborting 2026-01-26T16:35:03.168202Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.44-0ubuntu0. 24.04.2) (Ubuntu).

Files > Open With > How to add an app to the list of recommended apps? https://askubuntu.com/questions/1556256/files-open-with-how-to-add-an-app-to-the-list-of-recommended-apps

How can I add an app like VSCode to the list of recommended apps? Having to scroll down the list is annoying.

Open with dialog

How to install tor on Ubuntu 24.04 https://askubuntu.com/questions/1518184/how-to-install-tor-on-ubuntu-24-04

I tried to install tor on my fresh installed ubuntu 24.04.

But I run into serveral problems.

Can not add tor to sources.list. Does anyone know the exact entry for /etc/apt/sources.list

Secondly there is a problem with libssl. Tor wants libssl1.1 but 24.04 has only libssl3.

How to overcome these issues?

Ubuntu DHCP client uses IDs instead of MAC addresses. Can't change this behavior https://askubuntu.com/questions/1498611/ubuntu-dhcp-client-uses-ids-instead-of-mac-addresses-cant-change-this-behavior

I'm trying to use DHCP static lease assignment instead of manually managing static IPs for some of our servers. However Ubuntu switched from MAC addresses to some DHCP IDs becoming useless after major changes within the OS leading to getting fresh DHCP leases. Can see this at least on 18.04-23.04.

Googling around revealed adding 'send dhcp-client-identifier = hardware;' in the /etc/dhcp/dhclient.conf But that didn't work.

Windows and Mac boxes still use MAC addresses. Have no idea why did Ubuntu change this mechanism especially for the server distro.

MTP file transfer not working with Ubuntu/Kubuntu 20.04 https://askubuntu.com/questions/1362326/mtp-file-transfer-not-working-with-ubuntu-kubuntu-20-04

I just have a fresh install of Kubuntu 20.04 on an Acer Swift 3 laptop. I ran into problem with transferring files from my Android phone. Here was the steps I went through:

  1. Plug the phone into USB port. The device shows up on Kubuntu (Dolphin and popup notification)
  2. Unlock the phone and accept permission.
  3. Click on the device and got the following error:

No storage media found. Make sure your device is unlocked and has MTP enabled in its USB connection settings.

When I run mtp-detect, I got the following error:

$ mtp-detect
libmtp version: 1.1.17

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 3, dev 11
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.

dmesg:

[ 1799.438225] usb 3-1: new high-speed USB device number 16 using xhci_hcd
[ 1799.593572] usb 3-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= c.00
[ 1799.593575] usb 3-1: New USB device strings: Mfr=7, Product=8, SerialNumber=9
[ 1799.593576] usb 3-1: Product: SAMSUNG_Android
[ 1799.593577] usb 3-1: Manufacturer: SAMSUNG
[ 1799.593578] usb 3-1: SerialNumber: 27a0c9216c1c7ece
[ 1799.603905] cdc_acm 3-1:1.1: ttyACM0: USB ACM device

lsusb:

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 1c7a:0575 LighTuning Technology Inc. EgisTec EH575
Bus 003 Device 002: ID 0408:a094 Quanta Computer, Inc. HD User Facing
Bus 003 Device 004: ID 8087:0026 Intel Corp. 
Bus 003 Device 016: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

But something is really strange. It works if I do the following:

  1. Plug the phone into laptop.
  2. Boot the laptop.
  3. Once Kubuntu loaded, run $ mtp-detect. This time mtp-detect no longer reports any error.
  4. Access the phone device via Dolphin works now.

Then MTP file transfer will work, until the phone is unplugged. Replugging the phone in will not work anymore.

I really have no idea what is going on. Any help is much appreciated.

Samsung NP940X5N doesn't boot https://askubuntu.com/questions/1240569/samsung-np940x5n-doesnt-boot

I have installed Ubuntu 20.04 at another partition than where a previous Ubuntu 18.04 has installed, but it failed to boot, and systemd seems are waiting for the swap partition to be mount. So I just commented out the swap line from thefstab file, but it still hangs, so I chrooted into it and ran systemctl mask dev-nvme0n1p8.device

And rebooted.(nvme0n1p8 is the swap) It still hangs on systemd-rfkill.sevice and journal shows it always times out, but after I deleted the swap partition, it can boot now without any problem.

18.04 is always usable.

        Starting Network Time Synchronization...
        Starting Update UTMP about System Boot/Shutdown...
[  OK ] Finished Update UTMP about System Boot/Shutdown.
[  OK ] Created slice system-systemd\x2dbacklight.slice.
        Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
[  OK ] I'll take you for a long maybe take a long timeListening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
        Starting Load/Save RF Kill Switch Status...
        Starting Tell Plymouth To Write Out Runtime Data...
[  OK ] Finished Tell Plymouth To Write Out Runtime Data.
        Starting Tell Plymouth To Write Out Runtime Data...
[  OK ] Finished Tell Plymouth To Write Out Runtime Data.
[  *  ] (2 of 4) A start job is running for Network Name Resolution (6s / 1min 30s)
[  ** ] (3 of 4) A start job is running for Load/Save Screen Backlight Brightness of backlight:intel_backlight (10s / 1min 30s)
[ *** ] (1 of 4) A start job is running for Load/Save Screen Backlight Brightness of backlight:intel_backlight (17s / 1min 30s)
[  ** ] (4 of 4) A start job is running for Network Time Synchronization (22s / 1min 29s)
[ 28.174946] watchdog: BUG: soft lockup - CPU#5 stuck for 23s! [kworker/u16:2:186]
[  *  ] (1 of 4) A start job is running for Load/Save Screen Backlight Brightness of backlight:intel_backlight (24s / 1min 30s)
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[  ** ] (1 of 4) A start job is running for Load/Save Screen Backlight Brightness of backlight:intel_backlight (51s / 1min 30s)
[ *** ] (3 of 4) A start job is running for Network Time Synchronization (59s / 1min 29s)
[  64.942947] rcu: INFO: rcu_sched self-detected stall on CPU
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[  66.659001] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 5-... } 15430 jiffies s: 753 root: 0x20/.
[  66.659995] rcu: blocking rcu_node structures:
[ *** ] (4 of 4) A start job is running for Network Time Synchronization (1min 26s / 1min 29s)
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[  ** ] (1 of 4) A start job is running for Load/Save Screen Backlight Brightness of backlight:intel_backlight (1min 55s / 3min)
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[  *  ] (3 of 4) A start job is running for Network Name Resolution (2min 24s / 3min)
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[  ** ] (4 of 4) A start job is running for Network Time Synchronization (2min 50s / 2min 59s)
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[ *** ] (2 of 4) A start job is running for Load/Save Screen Backlight Brightness of backlight:intel_backlight (3min 19s / 4min 30s)
[FAILED] Failed to start Load/Save RF Kill Switch Status.
See 'systemctl status systemd-rfkill.service' for details.
        Starting Load/Save RF Kill Switch Status...
[  * ] (3 of 4) A start job is running for Load/Save RF Kill Switch Status (14s / 30s)
_

My laptop is Samsung Notebook 9 pro NP940X5N with i5-8250U. After I deleted the swap partition, this bug still exists. I found another post about it: Mostly unable to boot when [ ***] A start job is running for... FOREVER! It seems that there is still a rare probability to boot normally, and it exactly happened after I deleted the swap partition. I tried more time later. If I turned off my laptop for a long time, on the next boot, it may more possibly boot, but it mostly just doesn't work.

Ubuntu Server 18.04 — Use nmcli to (only) discover wifi networks but don’t interfere with netplan and networkd https://askubuntu.com/questions/1182605/ubuntu-server-18-04-use-nmcli-to-only-discover-wifi-networks-but-don-t-inter

Ubuntu Server 18.04 now uses netplan to manage ethernet and wifi devices.

I’d like to be able to discover wifi networks via nmcli, as I’d like to use php-wifi in one projects.

Is it somehow possible to set up nmcli to only discover wifi networks but not the somehow interfere with netplan and networkd?

$ nmcli radio wifi
enabled
$ nmcli dev status
DEVICE  TYPE      STATE        CONNECTION
wlp2s0  wifi      unavailable  --
eno1    ethernet  unmanaged    --
lo      loopback  unmanaged    --
Ubuntu Software Center unable to install updates to installed software https://askubuntu.com/questions/1117665/ubuntu-software-center-unable-to-install-updates-to-installed-software

I am using Ubuntu 18.04.1, Gnome Shell 3.28.1, and Ubuntu Software 3.28.1, on an x86_64 architecture computer. Recently I began having this problem. Ubuntu Software presents desktop notifications saying that various software packages have updates available. I start Ubuntu Software, go to the "Updates" tab, and see all the packages to update with "Update" buttons next to them. For every single one, when I click on the "Update" button, I get an error message of this format:

Unable to update xxxxx:
Could not find update for 'xxx/xxx.xxx.xxx.xxx/x86_64/stable'

where "xxx" represents some text.

(I attached a screenshot of a typical message to this posting for a software package called "Cozy".)

After I dismiss this message, the application disappears from the list of packages to update. Eventually, I go through them all, and then Ubuntu Software says "Software is up to date".

I have no idea whether or not the packages actually updated correctly.

What does this message mean, and what should I be doing to fix whatever is wrong?

enter image description here

How to fix OpenVPN error when using network-manager-openvpn-gnome? https://askubuntu.com/questions/1045403/how-to-fix-openvpn-error-when-using-network-manager-openvpn-gnome

I need to connect to some VPN via OpenVPN.

I am using Bionic.

It works when I run the command as sudo from terminal

~$ sudo openvpn --config somevpn.ovpn
...
Sun Jun 10 22:35:31 2018 TUN/TAP device tap0 opened
Sun Jun 10 22:35:31 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Jun 10 22:35:31 2018 /sbin/ip link set dev tap0 up mtu 1500
Sun Jun 10 22:35:31 2018 Initialization Sequence Completed

without sudo it fails

~$ openvpn --config somevpn.ovpn
...
Sun Jun 10 22:34:55 2018 ERROR: Cannot ioctl TUNSETIFF tap: Operation not permitted (errno=1)
Sun Jun 10 22:34:55 2018 Exiting due to fatal error

Ok, only sudo can create a TUN/TAP device. I added the user to a vpn group and added that group to sudoer

%nm-openvpn ALL=NOPASSWD: /usr/sbin/openvpn

But this only helps on the terminal, that is the user does not need to enter the password when running the command. It does not help when trying to start the VPN connection via network-manager-openvpn-gnome.

network-manager-openvpn-gnome reports a timeout after a few seconds when that vpn connection is activated.

How can I start that vpn connection successfully through the GUI?

Ubuntu is unusable after trying to upgrade to 16.04 [duplicate] https://askubuntu.com/questions/978551/ubuntu-is-unusable-after-trying-to-upgrade-to-16-04

I attempted to upgrade my system from Ubuntu 14.04 to 16.04, but the computer suffered a power failure in the middle of the upgrade process. Upon restarting, the system was highly unstable, the screen resolution was incorrect, and the top menu bar had disappeared.

In an attempt to fix the display, I ran sudo apt-get update, but the issues persisted. I then tried to change the Nvidia drivers — switching from the default X.Org drivers to a proprietary version — but I didn't record which specific option I selected.

Following that change, I can no longer access Ubuntu at all. Attempting to boot into Recovery mode results in a frozen, dead " screen. I have already tried using Rescatux to repair GRUB, but it did not resolve the issue.

Currently I am running the computer from a 14.04 Ubuntu live CD and have successfully mounted the internal hard drive. Since I cannot boot into the main OS to use the terminal, is there a specific file I can modify on the mounted drive to undo the Nvidia driver selection? Are there any other recovery steps I should try from this live CD environment?

unable to locate the packages slapd and slapd-utils https://askubuntu.com/questions/689336/unable-to-locate-the-packages-slapd-and-slapd-utils

when trying to install slapd and slapd-utils, I receive an error message:

unable to locate the packages .

I'm using Ubuntu 12.04 and I ran the update and upgrade but no luck.

How I can installs those packages?

Steam needs to install these additional packages https://askubuntu.com/questions/665831/steam-needs-to-install-these-additional-packages

Hi i have annoying problem with steam in ubuntu. After running steam it showed me that error:

    Steam needs to install these additional packages: 
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386
..........................................................W: Failed to fetch cdrom://Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)/dists/trusty/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)/dists/trusty/restricted/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.

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:
 libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
N: Ignoring file 'steam.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Press return to continue: 

And I want to add that i am new to linux(i spend like 14 years with Windows and few days ago i changed it to Ubuntu) so i dont know everything perfectly.

Want to connect Sony Z2 (Android phone) to Ubuntu 12.04 https://askubuntu.com/questions/481287/want-to-connect-sony-z2-android-phone-to-ubuntu-12-04

I have Ubuntu 12.04 and I try to connect it with Sony Xperia Z2 (which has Android 4.4) via USB.

I have set Mass Storage Mode(MSC) setting but nothing happens when I connect cell phone to the laptop.

nofile ulimit -n on Ubuntu 14.04 LTS https://askubuntu.com/questions/462112/nofile-ulimit-n-on-ubuntu-14-04-lts
➜ sudo sysctl -a|grep file

fs.file-max = 2037581
fs.file-nr = 2784   0   2037581

➜ ~ cat /proc/sys/fs/file-max
2037581

➜ ~ cat /proc/sys/fs/file-nr
2720    0   2037581

/etc/security/limits.conf

* hard nofile 2037581
* soft nofile 2037581
root hard nofile 2037581
root soft nofile 2037581

/etc/pam.d/su

session required pam_limits.so

/etc/pam.d/common-session

session required pam_limits.so

then reboot.

but ulimit -n got 1024 again.

only can ulimit -n 4096 as max value

or got error

 ulimit: value exceeds hard limit
software center got stuck/not responding https://askubuntu.com/questions/332152/software-center-got-stuck-not-responding

A few days ago I installed Ubuntu 13.04. After installation I ran few programs one by one to see that if everything worked fine.

At that time the Software Center ran and it listed some software in the window. But now two days after installation, when I open the Software Center it does not list any software at all. I closed it and ran it from terminal by typing sudo software-center as suggested in some forums, the terminal shows the following error:

root@engrali-OptiPlex-760:~# sudo software-center
2013-08-13 21:23:50,366 - softwarecenter.ui.gtk3.app - INFO - setting up proxy   'None'
Traceback (most recent call last):
  File "/usr/bin/software-center", line 130, in <module>
    app = SoftwareCenterAppGtk3(options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 338, in __init__
self.icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/appmanager.py", line 66, in __init__
self.oauth_token = helper.find_oauth_token_sync()
  File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 141, in find_oauth_token_sync
 sso.find_credentials()
  File "/usr/share/software-center/softwarecenter/backend/login_impl/login_sso.py", line 75, in find_credentials
    self.proxy.find_credentials(self.appname, self._get_params())
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
 File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

please, can someone help me to solve this problem?

Why does Ubuntu gets stuck on the loading screen? https://askubuntu.com/questions/187648/why-does-ubuntu-gets-stuck-on-the-loading-screen

I've been experiencing many problem lately since I fresh installed Ubuntu 12.04 LTS
on my SONY VAIO VPCEH with Windows 7 previously installed.

Sometimes when I try to boot Ubuntu, it gets stuck at loading screen.
There seems to be some problem with driver (as far I can judge).

Following is the log generated, when I press Esc during the boot (before the
problem occurs):

...
* Stopping System V initialization compatibility        [ok]
* Starting System V runlevel compatibility              [ok]
* Starting crash report submission daemon               [ok]
* Starting automatic crash report generation            [ok]
...
...
* Starting LightDM Display Manager                      [ok]

Nothing works after that, no Esc, etc, except restart.

Also I've observed the following:

  • Inactivity of Hard-drive (Led doesn't glows).
  • Flashing, or blinking, of Caps-lock and Scroll-lock

On restart, Ubuntu seem to load successfully. However, the loading
screen has somewhat basic graphics.

This problem started after I installed Additional drivers:

NVIDIA accelerated graphics driver  

Also, most of the times Ubuntu loads without any problem. However, it
is annoying to restart everytime it fails.

So my question is:

Why this happens and what is the solution?

Poor sound quality from laptop's built-in speakers only on Ubuntu https://askubuntu.com/questions/75395/poor-sound-quality-from-laptops-built-in-speakers-only-on-ubuntu

On Ubuntu (every version I tried since about ~2009 or 2008), the sound quality is noticeably different than on Windows XP, regardless of what program I use for playback (YouTube, listening to MP3s, Spotify, etc.)

The sound is clearly worse and less natural on Ubuntu: my laptop sounds somewhat like a tin can (for lack of a better way to describe it), and when the volume gets even moderately high, the laptop case starts to resonate (which is just awful, and never happens on Windows XP, not even at the highest volume).

Please note---this is not a subjective quality difference: the laptop case will resonate on Ubuntu as soon as the volume gets turned up to mid-level. It does not on Windows even at maximum volume.

Some extra info about my setup

The computer is a Dell Inspiron 6000, with "SigmaTel C Major Audio" sound. On Windows I'm using the default drivers from Dell, I didn't modify any settings, and I checked that no extra sound processing is enabled (e.g. 3D or bass boost or whatever that's available on some computers). On Ubuntu 11.10 I'm also using the defaults. There's no noticeable difference in the sound volume of Ubuntu and WinXP.

Questions

  1. Why is there a difference in sound quality?

    Doesn't the audio data that is sent by programs get "rendered" to speakers as-is? Is there some extra processing, perhaps to compensate for the characteristics of the speakers or laptop case, akin to colour-management?

  2. What can I do to fix this, and make Ubuntu sound as natural as Windows XP on my laptop?

How to install Tor? https://askubuntu.com/questions/6522/how-to-install-tor

I tried to install Tor on my new version of Ubuntu, but it seems that Tor is not available in the repositories.

How else can I install and use Tor?