Qsettings not having effect on file roller in Ubuntu 24.04 https://askubuntu.com/questions/1562713/qsettings-not-having-effect-on-file-roller-in-ubuntu-24-04

I want to expand the file names tab a little bit in file roller.

Here is the code :

gsettings set org.gnome.FileRoller.Listing name-column-width 250

I also tried :

dconf write /org/gnome/FileRoller/Listing/name-column-width 250

And tried with dconf-editor too

Although i get no errors nothing happens and file roller folder name is shrinked like default.

It also after some time returns to default value of 65 despite setting it to 250

Thank you for your time and patience. Best regards!

Strange behavior of apt remove with deborphan https://askubuntu.com/questions/1562712/strange-behavior-of-apt-remove-with-deborphan

after remove package pointed by deborphan libieee1284-3t64 package gnome-control-center disappeared.

Command:

deborphan

Listed package: libieee1284-3t64:amd64

After command

sudo apt remove --purge $(deborphan)

was executed

Package gnome-control-center just disappeared

OS info:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_MENU_PREFIX=gnome-
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_SESSION_CLASS=user
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop

Kernel:
6.8.0-90-generic

Any suggestions what's going on? Or what am I doing wrong?

Configured static IP address unable to reach gateway. reads device as down https://askubuntu.com/questions/1562707/configured-static-ip-address-unable-to-reach-gateway-reads-device-as-down

I am currently trying to configure a static IP address for my personal Minecraft server, running Ubuntu Server 24.04.2

I have the device plugged (via Ethernet) into a Gigabit switch connected directly to my modem (I know, not best practice. At the moment I just want the server working).

I attempted to use netplan to setup a static IP address for my server. These are the contents of my 50-cloud-init.yaml file:

network:
    version: 2
    renderer: networkd
    ethernets:
        eno1:
            dhcp4: no
            addresses:
                - 136.25.215.254/25
            routes:
                - to: default
                  via: 136.25.215.129
            nameservers:
                addresses:
                    - 8.8.8.8
                    - 8.8.8.4
            

netplan try yields no errors, same with netplan apply with debug. The IP address successfully assigns to my device, but the device is unable to connect to the internet.

upon using nmap to test the connection, I receive: "1 IP address (0 hosts up) scanned in 1.49 seconds)"

It appears that the device is unable to reach the gateway, but other devices on my network using Ethernet are successfully able to reach it.

Any possible insight onto what might be causing this issue, or any other troubleshooting steps I may be able to attempt?

My Lapttop memtest shows memory fault and memory is hard soldered. How do I disable faulty soldered RAM on a Dell laptop using memmap? [closed] https://askubuntu.com/questions/1562706/my-lapttop-memtest-shows-memory-fault-and-memory-is-hard-soldered-how-do-i-disa

Reviving a Dell Inspiron with Faulty Soldered RAM: How Linux Kernel Parameters & AI Saved My Motherboard

The Problem It started with small annoyances: Chrome tabs crashing randomly with "Aw, Snap!" errors. Then it got worse. My Dell Inspiron 5490 started failing to boot, getting stuck in loops, or dropping into the initramfs shell.

The Diagnosis I ran the built-in Dell diagnostics and Memtest86. The verdict was bad: Memory Errors. The problem was that this laptop has 4GB of soldered RAM (which cannot be removed) and one empty slot. The errors were all in the soldered portion.

  • The Manufacturer Solution: "Replace the motherboard." (Very expensive).

  • The BIOS Limitation: There is no option in the BIOS to disable the soldered RAM.

The Solution Journey I bought a new 8GB stick, but the system kept trying to use the bad 4GB soldered chip, leading to crashes. I learned that Linux has a kernel parameter called memmap that can mark specific memory regions as "fake" faulty, forcing the OS to ignore them.

I teamed up with Gemini to troubleshoot this. It wasn't easy:

  1. Syntax Nightmares: We struggled with GRUB syntax. The specific character $ (used in the command memmap=nn$ss) was being interpreted as a variable by GRUB and deleted. We had to figure out the exact escape sequence (\\\$) to make it stick.

  2. Secure Boot: We realized that even with the correct command, the kernel ignored it because Secure Boot was enabled. Disabling it was mandatory.

  3. The "Swiss Cheese" Memory: My memmap command initially failed because my motherboard had "reserved hardware holes" (for ACPI/Video) right in the middle of the bad RAM block. The kernel refused to block a region if it overlapped with a hardware hole.

The Fix We ran sudo dmesg | grep BIOS-e820 to get the exact physical address map. We then crafted a "stitched" command that blocked the bad RAM in 4 safe chunks, hopping over the hardware holes.

The Final GRUB Line: (Note: This logic is specific to my map, see the warning below)

Bash

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash memmap=600M\\\$2M memmap=300M\\\$700M memmap=600M\\\$1040M memmap=400M\\\$1700M memmap=8G@4G"

⚠️ CRITICAL WARNING: Do Not Copy-Paste My Numbers! Every motherboard has a unique memory layout. If you copy my numbers exactly, it might not work for you because your "hardware holes" (Video RAM, ACPI) are in different places.

  1. Run sudo dmesg | grep BIOS-e820 in your terminal.

  2. Look for the "usable" ranges and the "reserved" ranges.

  3. Calculate your own blocks to cover the bad RAM while skipping the "reserved" lines.

The Result

  • Total RAM: 12GB Physical -> ~9.7GB Usable (Stable).

  • Stability: Rock solid. I installed Google Chrome via terminal and stress-tested with multiple 1080p YouTube tabs. No crashes.

  • Cost: Price of one 8GB stick vs. price of a new laptop.

If you have a laptop with soldered RAM that is "dead," don't throw it away. Linux gives you the control to surgically remove the bad parts and keep the machine alive.

Camera Video Capture Glitches with Logitech C920 HD Pro webcam https://askubuntu.com/questions/1562705/camera-video-capture-glitches-with-logitech-c920-hd-pro-webcam

How do I get Camera and Cheese to work without glitching?

Using Ubuntu 24.04 LTS from a 128Gb USB stick.

HP EliteDesk 800 G1 SFF with Intel® Core™ i7-4770 × 8 and 32 G RAM

Windows SSD is disconnected so I don't accidentally mess it up.

Webcam is Logitech C920 HD Pro connected with USB.

Start Camera or Cheese. Both display video but it glitches.

I installed Kamoso and it just works. No glitches.

If I start Kamoso first, then run Camera or Cheese they no longer glitch. Without Kamoso running they glitch.

I also tried guvcview. It didn't glitch but it had way more capability than I needed.

I've tried the following but I'm just following hints from google search.

v4l2-ctl --list-devices
sudo apt update && sudo apt full-upgrade
video group: sudo usermod -aG video $USER
Launching Ledger Wallet freezes Ubuntu 24.04.03 LTS https://askubuntu.com/questions/1562698/launching-ledger-wallet-freezes-ubuntu-24-04-03-lts

Launching Ledger Wallet (which was previously called Ledger Live) causes my desktop computer to freeze, but not my laptop. The desktop is running 6.14.0-37-generic, while the laptop is running 6.11.0-29-generic kernel version.

Could the different kernel versions be the reason why one machine freezes while the other doesn't?

I reached out to the Ledger support team - here is their reply:

Our team is aware of this situation. The recent AppArmor policy changes in this Ubuntu version are currently impacting Electron-based applications, including Ledger Wallet.

It will work correctly once Ubuntu and Electron make Electron apps compatible with LTS. In the meantime, you can explore potential workarounds documented in the Ubuntu release notes: Ubuntu 24.04 LTS Release Notes

So can anyone shed light on what is happening here and if possible give an idea of how soon I should expect the issue to be resolved?

Thanks in advance for your input!

Ubuntu 24.04.3 on Thinkpad P16s gen 4 with mediatek 7925 wifi does not get ARP replies https://askubuntu.com/questions/1562697/ubuntu-24-04-3-on-thinkpad-p16s-gen-4-with-mediatek-7925-wifi-does-not-get-arp-r

I recently bought a Lenovo Thinkpad P16s gen 4 with an AMD Ryzen AI7 350 (I thought this certified one: https://ubuntu.com/certified/202504-36705) with a Mediatek 7925 WiFi controller_. The machine gets an ip-address and default route via dhcp from my wifi router, but when pinging the default router, I don't get an arp reply (I see the requests from another machine).

I have been playing with wifi.powersave in /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf (using value 2 or 3). When restarting networkmanager, ping returns 2 to 4 replies and then stops with destination "host unreachable". Rebooting does not help either after fiddling with the values.

lshw -C network shows:

description: Wireless interface  
product: MEDIATEK Corp.  
vendor: MEDIATEK Corp.  
physical id: 0  
bus info: pci@0000:c2:00.0  
logical name: wlp194s0  
version: 00  
serial: f4:4e:b4:99:55:61  
width: 64 bits  
clock: 33Mhz  
capabilities: pciexpres msi pm bus_master cap_list ethernet physical wireless  
configuration: broadcast=yes driver=mt7925e driverversion=6.14.0-37-generic firmware=\____000000-20251015213023 ip=192.168.1.136 latency=0 link=yes multicast=yes wireless=IEEE 802.11  
resources: irq:141 memory:c4000000-c41fffff memory:c4200000-c4207fff  
  
lspci shows:  
c2:00.0 Network controller: MEDIATEK Corp. Device 7925  
  
lsusb shows:  
Bus 003 Device 004: ID 0e8d:e025 MediaTek Inc. wireless-Device  
  
A dmesg | grep -i frimware:|  
\[    2.269002\] mt7925e 0000;c2:00.0: WM Firmware Version: \____000000, Build Time: 20251015213023  
  

I am a bit clueless on how to proceed in this matter. Any help is welcome.

Very slow download speeds on Firefox on Ubuntu 24.04.3 LTS after apt upgrade? https://askubuntu.com/questions/1562690/very-slow-download-speeds-on-firefox-on-ubuntu-24-04-3-lts-after-apt-upgrade

I use my phone for internet through USB tethering which itself is connected to the WiFi(I disable its mobile data).

Recently I ran sudo apt upgrade from the terminal on Ubuntu 24.04.3 LTS and restarted my system. And now, Firefox gets only 21kbps download speeds when I tried downloading free download manager. However, on steam I get 3-4 MB/s.

Please help me. I'll be very grateful. This is the log:

Upgrade: libsnmp-base:amd64 (5.9.4+dfsg-1.1ubuntu3.1, 5.9.4+dfsg-1.1ubuntu3.2)

gpg:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

libglib2.0-bin:amd64 (2.80.0-6ubuntu3.5, 2.80.0-6ubuntu3.6)

gir1.2-glib-2.0:amd64 (2.80.0-6ubuntu3.5, 2.80.0-6ubuntu3.6)

libsnmp40t64:amd64 (5.9.4+dfsg-1.1ubuntu3.1, 5.9.4+dfsg-1.1ubuntu3.2)

libsnmp40t64:i386 (5.9.4+dfsg-1.1ubuntu3.1, 5.9.4+dfsg-1.1ubuntu3.2)

libcaca0:amd64 (0.99.beta20-4build2, 0.99.beta20-4ubuntu0.1)

libjavascriptcoregtk-4.1-0:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

gir1.2-javascriptcoregtk-4.1:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

gir1.2-javascriptcoregtk-6.0:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

gir1.2-webkit2-4.1:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

keyboxd:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

libjavascriptcoregtk-6.0-1:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

gnupg:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

libglib2.0-data:amd64 (2.80.0-6ubuntu3.5, 2.80.0-6ubuntu3.6)

gpg-agent:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

gpgv:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

snapd:amd64 (2.72+ubuntu24.04, 2.73+ubuntu24.04)

gpgsm:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

libxslt1.1:amd64 (1.1.39-0exp1ubuntu0.24.04.2, 1.1.39-0exp1ubuntu0.24.04.3)

libxslt1.1:i386 (1.1.39-0exp1ubuntu0.24.04.2, 1.1.39-0exp1ubuntu0.24.04.3)

libwebkit2gtk-4.1-0:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

linux-firmware:amd64 (20240318.git3b128b60-0ubuntu2.21, 20240318.git3b128b60-0ubuntu2.22)

gir1.2-webkit-6.0:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

dirmngr:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

gnupg-utils:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

gnupg-l10n:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

gpg-wks-client:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

libwebkitgtk-6.0-4:amd64 (2.50.2-0ubuntu0.24.04.2, 2.50.3-0ubuntu0.24.04.1)

gpgconf:amd64 (2.4.4-2ubuntu17.3, 2.4.4-2ubuntu17.4)

libglib2.0-0t64:amd64 (2.80.0-6ubuntu3.5, 2.80.0-6ubuntu3.6)

libglib2.0-0t64:i386 (2.80.0-6ubuntu3.5, 2.80.0-6ubuntu3.6)

End-Date: 2026-01-08  19:34:11

Sorry if my formatting was not very polished I'm new here.

Ubuntu 22.04 - Audio output device shows "(null)" and 3.5mm headphones not detected on Realtek ALC1220 https://askubuntu.com/questions/1562601/ubuntu-22-04-audio-output-device-shows-null-and-3-5mm-headphones-not-detec

I am unable to get sound from my wired Schneider earphones on Ubuntu 22.04. The system does not seem to recognize the physical connection of the 3.5mm jack.

The Issue:

In Gnome Sound Settings, the "Output Device" list is empty and the speaker test shows "Testing (null)".

AlsaMixer recognizes the card as HDA Intel PCH with a Realtek ALC1220 chip.

All channels (Master, PCM, Front, etc.) are unmuted and show "OO", but there is no dedicated "Headphone" slider appearing in the list.

What I have tried:

  • I have checked alsamixer and ensured everything is unmuted.

  • I attempted to edit /etc/modprobe.d/alsa-base.conf by adding options snd-hda-intel dmic_detect=0, but this did not resolve the issue.

  • I have explored the system information files in /proc/asound/, and the card is correctly listed by the kernel.

System Details:

  • OS: Ubuntu 22.04 LTS

  • Audio Chip: Realtek ALC1220

  • Device: Wired 3.5mm earphones

enter image description here

How can I force the system to detect the headphone jack or manually map the output to the 3.5mm port?

Failed to attach machine. see https://ubuntu.com/pro/dashboard https://askubuntu.com/questions/1508864/failed-to-attach-machine-see-https-ubuntu-com-pro-dashboard

Our managed service provider built a new ubuntu server with 20.04 LTS. I have been asked to apply the CIS benchmark profile for Level 1 Server to the server. I have an Ubuntu Pro account and I'm trying to attach my machine and getting the following error after running sud pro attach Token :

I've replaced the word Token with my actual token from the website. Error is below:

Failed to attach machine. see https://ubuntu.com/pro/dashboard

Any ideas ? I tried the following suggestions:

Getting Errors trying to attach ua token

sudo curl -vs https://contracts.canonical.com

  • Trying 185.125.190.31:443...
  • TCP_NODELAY set
  • Connected to contracts.canonical.com (185.125.190.31) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
  • TLSv1.3 (IN), TLS handshake, Certificate (11):
  • TLSv1.3 (OUT), TLS alert, unknown CA (560):
  • SSL certificate problem: unable to get local issuer certificate
  • Closing connection 0

sudo pro status Failed to access URL: https://contracts.canonical.com/v1/resources?architecture=amd64&kernel=5.4.0-174-generic&series=focal&virt=vmware Cannot verify certificate of server Please check your openssl configuration.

Thanks, Jimmy

Unable to locate package libssl1.1 https://askubuntu.com/questions/1408000/unable-to-locate-package-libssl1-1

I am trying to install this dependency but keep getting this error message:

This is what I put in the terminal:

sudo apt install libssl1.1

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libssl1.1
E: Couldn't find any package by glob 'libssl1.1'

How to get libssl1.1

I am very new to Linux so I have no idea if this is an obvious question.

I am using Ubuntu 22.04 LTS

Enable bluetooth headset microphone support in Ubuntu 20.04 https://askubuntu.com/questions/1367727/enable-bluetooth-headset-microphone-support-in-ubuntu-20-04

There is no microphone selection option in the general audio settings interface. Only the notebook's built-in microphone is displayed. There is a selection for headphones, i.e. headphones with a microphone are connected to the system. I can hear the sound.

Outputting device information

2 card(s) available.
    index: 0
    name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
    driver: <module-alsa-card.c>
    owner module: 23
    properties:
        alsa.card = "0"
        alsa.card_name = "sof-hda-dsp"
        alsa.long_card_name = "sof-hda-dsp"
        alsa.driver_name = "snd_soc_skl_hda_dsp"
        device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "a0c8"
        device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
        device.string = "0"
        device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        HiFi: Play HiFi quality Music (priority 40768, available: unknown)
        off: Off (priority 0, available: unknown)
    active profile: <HiFi>
    sinks:
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#1: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI3 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#2: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI2 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#3: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI1 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#4: Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
    sources:
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#1: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI3 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#2: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI2 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#3: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI1 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#4: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
        alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#5: Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone
        alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#6: Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone
    ports:
        [Out] HDMI3: HDMI3 Output (priority 700, latency offset 0 usec, available: no)
            properties:
                
        [Out] HDMI2: HDMI2 Output (priority 600, latency offset 0 usec, available: no)
            properties:
                
        [Out] HDMI1: HDMI1 Output (priority 500, latency offset 0 usec, available: no)
            properties:
                
        [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
            properties:
                
        [Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
            properties:
                
        [In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
            properties:
                
        [In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
            properties:
                
    index: 2
    name: <bluez_card.18_95_52_44_01_F8>
    driver: <module-bluez5-device.c>
    owner module: 26
    properties:
        device.description = "1MORE ComfoBuds Pro"
        device.string = "18:95:52:44:01:F8"
        device.api = "bluez"
        device.class = "sound"
        device.bus = "bluetooth"
        device.form_factor = "headset"
        bluez.path = "/org/bluez/hci0/dev_18_95_52_44_01_F8"
        bluez.class = "0x240404"
        bluez.alias = "1MORE ComfoBuds Pro"
        device.icon_name = "audio-headset-bluetooth"
        device.intended_roles = "phone"
    profiles:
        a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
        headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no)
        off: Off (priority 0, available: yes)
    active profile: <a2dp_sink>
    sinks:
        bluez_sink.18_95_52_44_01_F8.a2dp_sink/#6: 1MORE ComfoBuds Pro
    sources:
        bluez_sink.18_95_52_44_01_F8.a2dp_sink.monitor/#8: Monitor of 1MORE ComfoBuds Pro
    ports:
        headset-output: Headset (priority 0, latency offset 0 usec, available: yes)
            properties:
                
        headset-input: Headset (priority 0, latency offset 0 usec, available: no)
            properties:

Here in the penultimate line I see that headset-input not available

    headset-input: Headset (priority 0, latency offset 0 usec, available: no)

how to make the headphone microphone available for selection?

jekson@machine-head:~$ hciconfig -a
hci0:   Type: Primary  Bus: USB
    BD Address: 40:1C:83:8D:D6:04  ACL MTU: 1021:4  SCO MTU: 96:6
    UP RUNNING PSCAN 
    RX bytes:1058550 acl:187 sco:0 events:110817 errors:0
    TX bytes:63926682 acl:95904 sco:0 commands:9535 errors:0
    Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: RSWITCH SNIFF 
    Link mode: SLAVE ACCEPT 
    Name: 'machine-head'
    Class: 0x3c010c
    Service Classes: Rendering, Capturing, Object Transfer, Audio
    Device Class: Computer, Laptop
    HCI Version: 5.2 (0xb)  Revision: 0x3236
    LMP Version: 5.2 (0xb)  Subversion: 0x3236
    Manufacturer: Intel Corp. (2)

bluetooth info

jekson@machine-head:~$ sudo service bluetooth status
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2021-10-06 12:02:26 WEST; 3h 2min ago
       Docs: man:bluetoothd(8)
   Main PID: 1209 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18795)
     Memory: 2.9M
     CGroup: /system.slice/bluetooth.service
             └─1209 /usr/lib/bluetooth/bluetoothd

окт 06 12:02:26 machine-head systemd[1]: Started Bluetooth service.
окт 06 12:02:26 machine-head bluetoothd[1209]: Starting SDP server
окт 06 12:02:26 machine-head bluetoothd[1209]: Bluetooth management interface 1.19 initialized
окт 06 12:02:35 machine-head bluetoothd[1209]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSink/sbc
окт 06 12:02:35 machine-head bluetoothd[1209]: Endpoint registered: sender=:1.115 path=/MediaEndpoint/A2DPSource/sbc
окт 06 12:02:55 machine-head bluetoothd[1209]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 18:95:52:44:01:F8: Device or resource busy (16)
окт 06 12:02:57 machine-head bluetoothd[1209]: profiles/audio/avctp.c:avctp_control_confirm() Control: Refusing unexpected connect
окт 06 12:03:00 machine-head bluetoothd[1209]: /org/bluez/hci0/dev_18_95_52_44_01_F8/sep1/fd0: fd(40) ready
окт 06 13:06:21 machine-head bluetoothd[1209]: /org/bluez/hci0/dev_18_95_52_44_01_F8/fd1: fd(39) ready
окт 06 13:39:59 machine-head bluetoothd[1209]: /org/bluez/hci0/dev_18_95_52_44_01_F8/fd2: fd(39) ready

enter image description here

enter image description here

Bluetooth is not working in my HP laptop with Ubuntu 20.04 https://askubuntu.com/questions/1268233/bluetooth-is-not-working-in-my-hp-laptop-with-ubuntu-20-04

Bluetooth is not working in my HP laptop with Ubuntu 20.04.

Results of lspci -nnk | grep -iA3 net; lsusb; dmesg | egrep -i 'blue|firm' :

01:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
    DeviceName: Ralink RT3290LE  802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Ad
    Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]
    Kernel driver in use: rt2800pci
--
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
    DeviceName: Realtek PCIe FE Family Controller
    Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller [103c:183f]
    Kernel driver in use: r8169
    Kernel modules: r8169
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader [10ec:5229] (rev 01)
Bus 002 Device 003: ID 04f2:b34f Chicony Electronics Co., Ltd 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 050: ID 03f0:0941 HP, Inc X500 Optical Mouse
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 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
[    0.117085] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.150990] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.552112] [Firmware Bug]: Invalid critical threshold (0)
[    6.127240] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
[    6.129380] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37

Results of systemctl | grep -i blue :

  sys-devices-pci0000:00-0000:00:1c.0-0000:01:00.0-net-wlo1.device                         loaded active     plugged   RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter)
  sys-subsystem-net-devices-wlo1.device                                                    loaded active     plugged   RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter)
Black screen on boot, but boot works [duplicate] https://askubuntu.com/questions/1198061/black-screen-on-boot-but-boot-works

Sometimes, when booting, I get:

  1. grub
  2. ubuntu purple background
  3. Gray backlit screen
  4. Black screen

And nothing else. It does seem that Ubuntu is correctly booted. To fix the issue, I can put the computer to sleep and back again, and then the screen will be OK. I am certain that ubuntu is booted because, during the black screen, I typed enter, then my password, then I popped a terminal. After that, I did the "fix" routine and confirmed that I had an open terminal in my session.

I am unsure where to look at as most questions related to this cannot boot at all. I did a video recording of the failed boot, I suspect this is clearer than my explanation.

Here are the 5 lines that flash, from dmesg:

[   20.065643] ACPI Error: Needed type [Reference], found [Integer] 00000000214ff4c5 (20181213/exresop-69)   
[   20.065656] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Store] (20181213/dswexec-427)    
[   20.065700] No Arguments are initialized for method [RPPC]    
[   20.065704] ACPI Error: Method parse/execution failed  \_SB.PCI0.LPCB.EC0.RPPC, AE_AML_OPERAND_TYPE (20181213/psparse-531)    
[   20.065716] ACPI Error: Method parse/execution failed  \_SB.PCI0.LPCB.EC0._Q04, AE_AML_OPERAND_TYPE (20181213/psparse-531)

Looking these up didn't yield anything helpful for me, but I might have missed crucial information as I've got no idea what's happening. I've seen driver related answers, telling to install them from Ubuntu's Additional drivers tool if they appear; there's nothing here for me.

Questions are therefore:

  • What other information can I provide to diagnostic what happens?
  • How to fix this?

Edit: I tried both kernel options at boot: 5.0 and 4.18, but they didn't help.

ui cant install forticlient on ubuntu 18.04 https://askubuntu.com/questions/1178604/ui-cant-install-forticlient-on-ubuntu-18-04

Unable to install Forticlient on Ubuntu 18.04. Can anybody please help me with this?

Following are the errors which shows on my terminal:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package forticlient
Lubuntu 18.10 install troubleshooting https://askubuntu.com/questions/1101080/lubuntu-18-10-install-troubleshooting

I am currently trying to install the latest distribution of Lubuntu on my XPS 15 9560 Dell laptop to replace Windows 10 as my one and only OS. I followed the instructions to create a bootable USB with an ISO of Lubuntu 18.10. Then I disabled Secure Boot in the BIOS. I didn't see an option to disable fast boot, so I left that alone. Then I changed the boot order to boot from the USB drive first. This didn't do anything when I exited out of the BIOS, so I powered on my laptop while pressing f12, which then brought me to a menu to choose to boot from legacy or UEFI. I chose the UEFI option with USB drive. This loaded the following menu:

enter image description here

The first option says "Start Lubuntu". Anyway I've tried both the first and second option, but that just brought up this splash screen which froze after a minute or so.

enter image description here

So I booted a third time and clicked the "Check disc for defects" option, but no defects were found, however when I returned to the boot loader, this strange message popped up on the screen:

usbhid 1-2:1.2: couldn't find an input interrupt endpoint
psmouse serio1: synaptics: Unable to query device: -5

Does this mean anything?

Ubuntu 18.04.1 LTS only one resolution available https://askubuntu.com/questions/1099262/ubuntu-18-04-1-lts-only-one-resolution-available

I have an XPS13 with an Ubuntu 18.04.1 LTS running on it. It has a Intel Corporation HD Graphics 5500 integrated graphical card. Everything was fine till the last reboot (before the reboot I have installed some Latex related packages). My display manager now shows only one resolution available: enter image description here

Additionally, when I plug-in the external display nothing happens. Just before the reboot everything was working perfectly.

The output from xrandr looks as follows:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 3200 x 1800, current 3200 x 1800, maximum 3200 x 1800
default connected primary 3200x1800+0+0 0mm x 0mm
   3200x1800     90.00* 

and from sudo lspci | grep -i vga

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)

Does anyone knows any way to fix that issue?

Ubuntu 18.04 USB mouse does not work after boot from a powered off state: can't read configurations, error -71 https://askubuntu.com/questions/1064006/ubuntu-18-04-usb-mouse-does-not-work-after-boot-from-a-powered-off-state-cant

I have a newly installed version of Ubuntu 18.04 dual booted with Windows 10. Setup went great and I've had no issues using Ubuntu. However, when I turn on my computer and boot into Linux, my mouse pointer will not move. I have a mouse that lights up when it is powered on and when it is not working I noticed the lights are off. It seems that it isn't even getting power when this happens. To fix this, I just turn the computer off and back on again then the mouse has power and everything is fine. When I boot into Windows 10, the mouse always works. It has become a common enough occurrence that I have power cycle again, after turning it on initially, on a daily basis just to get the mouse working.

I have a Razor Naga USB mouse. The keyboard (also USB) doesn't seem to be effected. The mouse is using the USB in the back of the computer (as opposed to a USB hub or additional port on the keyboard).

Has anyone had this issue? How would I even go about troubleshooting this? I'm not familiar with investigating system level failures (like USB drivers for example) in Linux.

Update: dmesg output:

[    1.792881] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_26.bin (v1.26)
[    1.797053] usb 1-8: New USB device found, idVendor=0d8c, idProduct=0012
[    1.797054] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.797055] usb 1-8: Product: USB Audio Device
[    1.797056] usb 1-8: Manufacturer: C-Media Electronics Inc.
[    1.928008] usb 1-9: new full-speed USB device number 5 using xhci_hcd
[    2.061261] [drm] failed to retrieve link info, disabling eDP
[    2.064752] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on minor 1
[    2.077201] usb 1-9: unable to read config index 0 descriptor/all
[    2.077203] usb 1-9: can't read configurations, error -71
[    2.204069] usb 1-9: new full-speed USB device number 6 using xhci_hcd
[    2.256394] checking generic (d1000000 300000) vs hw (b0000000 10000000)
[    2.256447] i915 0000:00:02.0: fb1: inteldrmfb frame buffer device
[    2.354338] usb 1-9: string descriptor 0 read error: -71
[    2.354342] usb 1-9: New USB device found, idVendor=1532, idProduct=001f
[    2.354343] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.355456] usb 1-9: can't set config #1, error -71
[    2.480295] usb 1-14: new full-speed USB device number 7 using xhci_hcd
[    2.629969] usb 1-14: New USB device found, idVendor=1532, idProduct=021e
[    2.629984] usb 1-14: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.629985] usb 1-14: Product: Razer Ornata Chroma
[    2.629986] usb 1-14: Manufacturer: Razer

After I disconnect and reconnect the mouse:

[ 1436.941950] usb 1-9: USB disconnect, device number 6
[ 1446.504530] usb 1-9: new full-speed USB device number 8 using xhci_hcd
[ 1446.654938] usb 1-9: New USB device found, idVendor=1532, idProduct=001f
[ 1446.654941] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1446.654944] usb 1-9: Product: Razer Naga Epic
[ 1446.654946] usb 1-9: Manufacturer: Razer
[ 1446.656777] input: Razer Razer Naga Epic as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:1532:001F.0006/input/input28
[ 1446.657065] hid-generic 0003:1532:001F.0006: input,hidraw5: USB HID v1.11 Mouse [Razer Razer Naga Epic] on usb-0000:00:14.0-9/input0
[ 1446.657984] input: Razer Razer Naga Epic as /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:1532:001F.0007/input/input29
[ 1446.716997] hid-generic 0003:1532:001F.0007: input,hidraw6: USB HID v1.11 Keyboard [Razer Razer Naga Epic] on usb-0000:00:14.0-9/input1

Using this command:

strings /usr/src/linux-headers-4.15.0-38-generic/include/uapi/asm-generic/errno.h

I found what error code -71 is: EPROTO 71 /* Protocol error */

But I still don't know what this really means... and how to fix it.

How to setup a static IP on Ubuntu Server 18.04 https://askubuntu.com/questions/1029531/how-to-setup-a-static-ip-on-ubuntu-server-18-04

I've seen some people saying the file to set static ip is still /etc/network/interfaces

And I've seen other people saying that in 18.04 it's now on /etc/netplan (which people seem unhappy about)

I've tried putting this:

version: 2
  renderer: networkd
  ethernets:
    eth0:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.1.9/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses: [192.168.1.1, 8.8.8.8, 8.8.4.4]

In my /etc/netplan/50-cloud-init.yaml and doing sudo netplan apply but that just kills the servers connection to the internet.

Booting problem black screen [duplicate] https://askubuntu.com/questions/994140/booting-problem-black-screen

When I boot Ubuntu 16.04 it is booting to a black screen that contains the following error message.

<190000>
[    0.119210] 00000000 f2151eec c100509d f2151efc c11667fa f219f0
2151f18
[    0.119367] Call Trace:
[    0.119394]  [<c108df18>] ? release_bts_buffer+0x30/0x40
[    0.119425]  [<c108dd99>] ? release_ds_buffers+0xb9/0xd0
[    0.119474]  [<c108dd99>] release_ds_buffers+0xb9/0xd0
[    0.119524]  [<c1085075>] x86_release_hardware+0x85/0xa0
[    0.119573]  [<c108509d>] hw_perf_event_destroy+0xd/0x20
[    0.119622]  [<c11667fa>] __free_event+0x9a/0x230
[    0.119669]  [<c1166a38>] put_event+0xa8/0xf0
[    0.119715]  [<c1166a88>] perf_event_release_kernel+0x8/0x10
[    0.119766]  [<c11224bc>] watchdog_nmi_disable+0x3c/0x50
[    0.119814]  [<c112251b>] watchdog_disable+0x4b/0x70
[    0.119863]  [<c109099f>] smpboot_thread_fn+0xd1/0x160
[    0.119912]  [<c108d663>] kthread+0xb3/0xd0
[    0.119957]  [<c10908c0>] ? sort_range+0x30/0x30
[    0.120006]  [<c17c6889>] ret_from_kernel_thread+0x21/0x30
[    0.120056]  [<c108d5b0>] ? kthread_create_on_node+0x170/0x170
[    0.120105] Code: 45 ec 8b 75 f8 89 d9 c7 44 24 04 01 00 00 00 89 1c 24 89 44
24 08 89 f2 89 f8 e8 90 fb ff ff e9 72 ff ff ff 8b 41 14 a8 01 75 bb <0f> 0b 66
90 55 89 e5 57 56 53 83 ec 18 3e 8d 74 26 00 89 c7 89
[    0.121215] EIP: [<c11c41bc>] kfree+0x12c/0x130 SS:ESP 0068:f2151ea0
[    0.121301] ---[ end trace 451bbb7a6fcd1b03 ]---
How to add users to OpenVPN on Ubuntu Server 16.04? https://askubuntu.com/questions/872137/how-to-add-users-to-openvpn-on-ubuntu-server-16-04

I have installed Open VPN using the below command:

sudo wget git.io/vpn --no-check-certificate -O openvpn-install.sh && bash openvpn-install.sh

I have only one user.

How do I manage (add, remove) OpenVPN users?

xrdp+xfce to install virtual machines in KVM - keyboard does not work https://askubuntu.com/questions/769108/xrdpxfce-to-install-virtual-machines-in-kvm-keyboard-does-not-work

I recently installed Ubuntu 16.04 on my HP DL360. This is my test server for my virtulisation platform for testing. Thus I configured xrdp+xfce for remote access from my windows laptop. So far so good. I am able to remote access my server from my Windows 10 laptop.

Next I started setting up my first ubuntu desktop virtual machine as a test using virt-manager and I use the console from the xrdp+xfce session. I am using KVM+QEMU as my hpyervisor. The installation comes to a point where i click next keeping all default options, but now I have to type the username before installation can start and thats where my keyboard does not work. It just basically does not type anything. In face I did select my keyboard correctly and it just did not work. So I used the virtual keyboard to continue the installation and it worked out ok and I had a workaround to complete the installation. Now even to restart I had to manually reset since it does not accept the 'enter' required after removing the cdrom. However, now the OS is up in the guest but I cannot log in since I cannot type anything using my windows keyboard when connected from the xrdp session. This means that for each virtual machine I install, I have to go to the server, connect the keyboard, mouse and monitor and do it there to setup the ssh connection and then I can use the virtual machine.

Anyone has any ideas as why is this happening and if there is a way I can connect via xrdp or VNC and not face this issue while installing the Virtual Machines?

Software updater gets stuck https://askubuntu.com/questions/722433/software-updater-gets-stuck

As of late Software Updater gets frozen (won't close after checking), while

sudo apt-get update && apt-get upgrade

work fine. Any ideas or anybody else with the same problem?

I have Xubuntu 14.04 x64.

Update: The final answer to my question is that I have a broken system, which most probably happened when I completely removed Steam and its repository. It so happens that I've lost AbiWord, Bomi and some other apps from different PPAs and cannot reinstall them until I fix broken packages which include gcc-4.9 and four other files.

I'll wait till April for a clean install of the next stable release.

Black screen, OS is not booting https://askubuntu.com/questions/505489/black-screen-os-is-not-booting

I have dual boot of Windows 8.1 and Ubuntu 14.04. I tried to recover my write protected pendrive with diskmgr on Windows cmd. I failed and now I can't start my PC on Windows or on Ubuntu. A black screen coming before boot or grub menu appears. The black screen contains nothing but a _ (blinking underscore character).

Here is the current status.

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ---------- ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     H                DVD-ROM     0 B     No Media
* Volume 1     C   Windows      NTFS   Partition     93 GB   Healthy
  Volume 2     E   Recent       NTFS   Partition     60 GB   Healthy
  Volume 3     F   Others       NTFS   Partition    121 GB   Healthy
  Volume 4     G   Soft+Games   NTFS   Partition    121 GB   Healthy
  Volume 5     D   UUI          FAT32  Removable   7639 MB   Healthy

DISKPART> LIST PARTITION

  Partition ###  Type               Size     Offset
  -------------  ----------------   -------  -------
* Partition 1    Primary             93 GB    31 KB
  Partition 0    Extended           372 GB    93 GB
  Partition 2    Logical             13 GB    93 GB
  Partition 3    Logical           1907 MB   107 GB
  Partition 4    Logical             52 GB   109 GB
  Partition 5    Logical             60 GB   161 GB
  Partition 6    Logical            121 GB   222 GB
  Partition 7    Logical            121 GB   344 GB

DISKPART> LIST DISK

  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
* Disk 0    Online      465 GB    0 B
  Disk 1    Online     7640 MB    0 B

DISKPART> DETAIL PARTITION

Partition 1
Type  : 07
Hidden: No
Active: Yes
Offset in Bytes: 32256

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ---------- ---  -----------  -----  ----------  -------  ---------  --------
* Volume 1     C   Windows      NTFS   Partition     93 GB   Healthy

DISKPART> DETAIL VOLUME

  Disk ###  Status      Size     Free     Dyn  Gpt
  --------  ----------  -------  -------  ---  ---
* Disk 0    Online      465 GB    0 B

Read-only              : No
Hidden                 : No
No Default Drive Letter: No
Shadow Copy            : No
Offline                : No
BitLocker Encrypted    : No
Installable            : Yes
Volume Capacity        : 93 GB
Volume Free Space      : 5180 MB
Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate network https://askubuntu.com/questions/496013/having-some-trouble-authenticating-via-proxy-in-order-to-use-apt-get-successfull

Apologies if this is a basic question, I've recently taken ownership of our department's internal server so I'm having to deal with issues beyond my (very basic) knowledge.


Context

Our server is on a corporate network which requires corporate proxy authentication (e.g. enter corporate username and password). This is not an issue on the Windows machines on that network - when a web browser is opened the user is prompted to authenticate. However, when using a browser on Linux the user is not prompted to authenticate, the browser simply shows a message saying authentication is required.


Problem 1 - Internet Access would be useful

At the moment I have to walk to my desk on another floor if I need to look something up, because I cannot get Internet access from this machine since I cannot* (*do not know how to) authenticate. It would be useful to have the ability to authenticate so I can use a web browser.


Problem 2 - Packages cannot be updated

When I attempt to perform updates using sudo apt-get update or sudo apt-get install [package], there are errors which I believe are caused due to lack of authentication.

After performing sudo apt-get update, I get errors like W: Failed to fetch [link] 401 Authorization Required. (For some reason some http://us.archive.ubuntu.com trusty/ sources work correctly, and some throw the same error).

This is a major problem, as I need to be able to update packages on the server.


Steps Taken

  • I have installed cntlm via sudo apt-get install cntlm (it works from one of the few ubuntu repositories that randomly work).
  • I edited the configuration at /etc/cntlm.conf and added my username, the domain, and the proxy.
  • I started the service (sudo /etc/init.d/cntlm start)
  • I tested the service (sudo cntlm -I -M http://www.google.com/) and the response was Config Profile 1/4... Auth not required (HTTP code: 307) Your proxy is open, you don't need another proxy.

  • I tried performing sudo apt-get update again and still receive the same error message. (401 Authorization Required)
  • (Whoops! My mistake! I see I need to configure apt proxy settings manually...)
  • I added the line Acquire::http::Proxy "http://localhost:3128"; to /etc/apt/apt.conf.
  • I restarted cntlm. (sudo /etc/init.d/cntlm stop, sudo /etc/init.d/cntlm start)

  • I performed sudo apt-get update ... and it hit 0% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting f - and just stopped there.
  • I performed sudo apt-get clean before performing sudo apt-get update - this started working and then stopped at 19% [Waiting for headers]
  • I performed sudo apt-get clean again before performing sudo apt-get update - this started working and then stopped at 0% [Waiting for headers]
  • I tried this a third time (sudo apt-get clean, sudo apt-get update) and it stopped at 20% [Waiting for headers]

  • I researched this subsequent problem and found an answer on AskUbuntu suggesting this may be an issue with IPv6 causing ICS to halt for a while when it receives concurrent connections.
  • I checked the /etc/sysctl.conf file and discovered the IPv6 already appears to be disabled... (The lines net.ipv6.conf.all.disable_ipv6 = 1, net.ipv6.conf.default.disable_ipv6 = 1, and net.ipv6.conf.lo.disable_ipv6 = 1 are already in the config file.)
  • (I'm now drawing a bit of a blank! The symptoms match the hypothesized IPv6 issue however if it is already disabled that doesn't seem to be able to be the cause)
  • I performed sudo apt-get clean and sudo apt-get update a fourth time (What the hell - why not?) and it hung on 24% [Waiting for Headers] this time, but first it hit a bunch of repositories. A repository which used to trigger errors did not do so now (http://cran.rstudio.com trusty /) but one which used to trigger errors now triggered a different error, Received HTTP code 501 from proxy after CONNECT.
Booting Ubuntu via VirtualBox on Windows 7 goes to a black screen after this prompt https://askubuntu.com/questions/427206/booting-ubuntu-via-virtualbox-on-windows-7-goes-to-a-black-screen-after-this-pro

GNU GRUB Screen

99% of the time the first option is selected by VirtualBox in under 3 seconds. The other 1% of the time it pauses for me to actually choose. No matter what option I choose, the next screen will be a black screen with an unblinking prompt and that's it.

Additionally, VirtualBox is being initiated via a vagrant up on Windows 7 via a Cygwin command line.

I'd appreciate as many ideas as possible.

Upgrading Ubuntu 12.10 to Ubuntu 13.04 black screen boot failed with Nvidia GeForce Gt630 https://askubuntu.com/questions/286062/upgrading-ubuntu-12-10-to-ubuntu-13-04-black-screen-boot-failed-with-nvidia-gefo
  1. I downloaded the iso of ubuntu desktop 64bit.

  2. I burned the iso.

  3. When I tried to start the installation of Ubuntu 13.04 fro a DVD I got a black screen.

  4. http://www.ashwinraon.com/2012/08/how-to-solve-ubuntu-blank-screen-boot/ or http://ubuntuguide.net/no-input-signal-and-boots-into-blank-screen-after-ubuntu-installation “Press and hold down Shift key from Bios screen until see the Grub menu. Highlight the first entry, press “e” to edit it. Navigate to words “quiet splash”, delete them and type “nomodeset” in their place (without quotes). Press Ctrl + X to continue boot.”

  5. I ran the installation but after rebooting >>>> Black Screen

  6. “Press and hold down Shift key from Bios screen until see the Grub menu. Highlight the first entry, press “e” to edit it. Navigate to words “quiet splash”, delete them and type “nomodeset” in their place (without quotes). Press Ctrl + X to continue boot.”

  7. Boot OK. Ubuntu 13.04 started.

  8. I installed drivers Nvidia 313.30 certified with Synaptic.

  9. I created the file / etc/X11/xorg.conf for resolution 1980x1020 (Samsung SyncMaster PX2370)

With Ubuntu 12.04 & Ubuntu 12.10 installation no boot problem no Black Screen. Also directly upgrading Ubuntu 12.10 (sudo apt-get update sudo apt-get upgrade sudo update-manager -d) I had the same problem.

Can someone explain why all this is happening?

Setting up Icecast2 streaming server on the Internet for live streaming https://askubuntu.com/questions/206628/setting-up-icecast2-streaming-server-on-the-internet-for-live-streaming

I have looking through tutorials for setting up Icecast2 server and ices2 on Ubuntu. Unfortunately all of these are based on LAN. I want to set up a Icecast server on a ubuntu machine which will be connected 24/7 to the Internet. The clients need to access the streams, the server provides from across the globe. Assuming the server has a static IP, how do i configure Icecast? Also I have a Behringer UCA 202 as a capture source. How do i configure ices2 to use this as a live capture source and stream it to the the above mentioned server.

Thanks in advance.

Text User Interface for fdisk? https://askubuntu.com/questions/105542/text-user-interface-for-fdisk

Is there a TUI for fdisk ?

Where can I get it from and how can I use it?

I would like one which is in the ubuntu repos

How do I reconfigure keyboard shortcuts for copy and paste? https://askubuntu.com/questions/39462/how-do-i-reconfigure-keyboard-shortcuts-for-copy-and-paste

I've been looking all over the configuration menus and googling all over the web for how to configure keyboard shortcuts for Copy and Paste in the Unity window manager.

Is there some hidden place somewhere to configure this?

In Gnome Desktop on Lucid, I had it configured so that using the Ubuntu system keyboard/mouse, I could use Win+C/Win+V to copy and paste everywhere on the Gnome desktop, including in Firefox and gnome terminal; then when I moved the mouse to my Mac desktop*, the same keystrokes would copy and paste. I would really like to keep this consistency.

Ctrl+C is obviously inappropriate as the "copy" key in any sort of terminal program. (Any Ctrl characters, actually.)

* I am doing this by running Synergy server on Ubuntu, and the Synergy client on a Macbook.