/r/Ubuntu

Photograph via //r/Ubuntu

The Ubuntu community on Reddit

Ubuntu Desktop

The Ubuntu community on Reddit

This subreddit is for support for Ubuntu.

Getting started

Rules

  1. Homophobia, sexism, racism or any derogatory language will not be tolerated. Please refer to the Ubuntu Code of Conduct.

Support resources

Documentation

Flair

Ubuntu Members and employees of Canonical have emblems next to their names, indicating their affliation. Members are distinguished by a small Ubuntu logo next to their names, Canonical employees by a purple "O", a portion of Canonical's logo.

To apply for flair, please see here.

Subreddit CSS

The CSS on /r/Ubuntu is an on going development keeping up to date with the latest Ubuntu Unity theme.

Code can be found on Github

Any issues can be reported here

Additionally, feel free to message us if your (non-spam!) post is accidentally trapped in our spam filter, and we'll sort it out.

/r/Ubuntu

225,900 Subscribers

1

No free space after resizing luks

I resized my ubuntu luks partition because I was running out of space. I increased the space by 50GB but I can't see any of that extra 50GB where did the extra free space go? In gparted I still see the 50GB extra space added to my luks partition but not in file manager

0 Comments
2024/04/25
01:36 UTC

5

Why it is so hard to connect a bluetooth headphone to an Ubuntu computer ?

I have Ubuntu from 2 years now and the only one problem I still really struggle is to connect my bluetooth headphone to my ubuntu laptop (22.04.04 LTS version). My question is :

Why a so useful thing isn't that easy to do ?

I looked for hours on the internet, ubuntu doc, stack overflow, chatgpt, reddit... even quora. But impossible to find a solution.

I saw a post posted 2 or 4 months ago where a redditor said that it was because it doesn't do something with the Kernel. Is that true ? If not, why ?

And, if someone's middle name here is God, how to fix this problem ?

4 Comments
2024/04/25
00:55 UTC

1

Ubuntu Installer Freezes in HyperV with AI Tweaker enabled.

Hi all, new to the forum. I've been running Ubuntu within HyperV for a number of years and it's been fine.

I recently bought new hardware, and was installing Ubuntu from scratch on a HyperV guest on that new hardware. I was not getting very far, the installer kept freezing. When I looked at the underlying commands, kernel panics arose in various points of trying to load the installer, and this occurred whether I used the GUI or the sage installer. The kernel panics would occur at different stages from one try to the next.

FWIW, same behavior occurred with trying to boot off a Debian ISO. Also FWIW, this was only happening with booting off the Ubuntu and Debian ISO. Booting off a Windows installation ISO did not exhibit any issues.

After much mucking around with various HyperV settings (eg safe boot on, safe boot off), on a whim I started to look at the host's hardware bios settings.

The secret sauce seemed to be disabling "AI Tweaker" in the BIOS settings. If you're not aware, AI Tweaker is a feature to manage overclocking on Asus boards.

So... I'm wondering if this is something where it's a known incompatibility ... Or is there a mix of settings where AI Tweaker can be enabled and the installation ISO won't crash...

Google was no help. :)

0 Comments
2024/04/25
00:47 UTC

0

When & How can I download Ubuntu 24.04 LTS

I want to download and fresh install Ubuntu 24.04 LTS stable version and everywhere it's mentioned it will be released on 25th April, but on the site it's still not available.

https://ubuntu.com/download/desktop

3 Comments
2024/04/24
23:31 UTC

1

Repair installation

Hi,

I installed Ubuntu 23.10 today alongside my windows 10 installation to test and get everything I need setup and working on Ubuntu until I'm confident in fully changing over.

I had it all setup and configured to my liking, I was happy and very confident.

Then I decided I want to change the /home directory to a HDD I use for my Documents, Downloads, Pictures etc on windows (on windows you can change the location of those folders). I tried to replicate this on Ubuntu and followed a guide. Once I was done and rebooted, it would just hand and in recovery mode it would say it failed to mound the home directory.

I spent 2 hours trying to undo what I did with no success. Now I just want to put the home directory back to what it was, but I can't get it right.

So my question is, how do I restore to the original home directory? (which I did not delete, just moved it to a home.orig folder) Or how do I repair the Ubuntu installation?

Any help would be appreciated.

P.S. I have tried to re-install Ubuntu on top of the current installation, but it only gives me the option to install alongside W10 and the current Ubuntu installation. Worse case scenario I don't mind re-installing Ubunto, I just have to figure out how to replace the current installation.

0 Comments
2024/04/24
22:54 UTC

1

GRUB 2.06 error fix

I had windows and Linux operating on my laptop. The windows was on the SSD which is 256 gb. The Linux was on the HDD which was 1TB. One day I tried to open my laptop and I got a GNU GRUB Version 2.06 screen. I didn’t know what to do so I restarted my laptop, opened the bios and I can’t find the HDD. I opened the windows from the boot menu in the bios and the HDD doesn’t exist. Now I’m a third year computer engineering student and this is the first time that I install Linux on my PC and the first time I use it. So, I asked my teacher and he said that I have a GRUB mbr error and I can fix it and everything will work again and he said google the solution. I googled it but I can’t find something that helps my specific problem. Anyone had the same issue before and fixed it? P.S I asked another teacher and he said that my hard disk drive could be dead. My laptop is ASUS FX503VD

0 Comments
2024/04/24
22:47 UTC

0

Ubuntu Terminal Commands

Hi everyone, i would like to have a list of commands for my Ubuntu terminal that are useful to make me understand better how Ubuntu Linux works, can you please help me guys?

3 Comments
2024/04/24
22:41 UTC

1

What's the neatest design laptop that is small and fancy to install Ubuntu as a computer hobby to play with?

Microsoft Surface?

Anything around 1k USD or below?

5 Comments
2024/04/24
22:13 UTC

1

Ubuntu 2204 Loading Issues

Desktop Won’t Go to the Internet on Ubuntu and the internet is connected and running normally. Laptop on windows 11 will not load Ubuntu and can not create a bootable disk. Was using etcher it validated bootable disk but their was nothing on it on the usb. Any suggestions would be great.

0 Comments
2024/04/24
21:54 UTC

2

gdm takes time to load

hey, i have a decent pc with rayzon 5 6500, Nvidia 3050Ti and 16gb of ram and i'm using Ubuntu 22.04 and gdm as my display manager, but after login in it takes about 9 seconds to load the screen so the screen is completely blank for 9 seconds

is there a way to make loading gnome as a subprocess or idk, i just wanna see my desktop right after i login

0 Comments
2024/04/24
21:17 UTC

1

My Bluetooth headphones are not detecte by th pc

Can somebody help me fix this issue? I have been trying to pair my Sony wh-ch720n headphones, but they don't show up in the device list. I tried a Bluetooth manager, but it still doesn't detect. What should I do?

0 Comments
2024/04/24
20:51 UTC

1

Ubuntu 23.10 freezing/kernel panic/

Hi, I'm new on Linux and trying to use this ubuntu system but I have several freezing, errors on booting or just crash using Firefox or chrome or any programs, my system are full updated and upgraded. Sometimes I can use it for many minutes and sometimes I just can't boot or will freeze...so hard for me :/

System info: Notebook Asus vivoboook 15 m1502ia AMD Ryzen 5 4600h with Radeon graphics 3000 MHz 8gb ram 256 SSD Kernel 6.5.0.28-generic Ubuntu 23.10.1

Ps: this notebook can't boot windows, just BSOD on installing. I'm thinking about hardware crashed, 2 months ago I buy this machine and just can't use properly all this time...I tried w11, w10, fedora and now Ubuntu... Pls help me, ty!

The last error is kernel panic not syncing fatal exception in interrupt when I tried to boot...just freezing 10x per day...

1 Comment
2024/04/24
20:49 UTC

1

Ubuntu 22.04 CAC issues

I've looked into so many things and I'm getting a lot of conflicting information. I need to run a chromium based browser to access teams meetings. I had no issues getting Centos to read my CAC, but I can't do it with ubuntu 22.04. I've read it has something to do with snap. I installed out of snap. I read that I need sssd, but I can't get that to start properly. I got a .conf, but the conf.d directory is empty and Idk what it wants in there. I'm not using sssd as the github suggests for ldap, or ad. I just neeed the browser to take my certs. I've imported the rootca to the browser to no avail. I'm at my wits end. I switch to ubuntu for more stability, but I need a cac to read if I'm going to stay. Any help?

0 Comments
2024/04/24
20:14 UTC

3

Running Ubuntu GUI apps without Bulky Setup on Apple Silicon

Similar to how you can run gui apps with WSL2 Ubuntu on Windows, I was wondering if there was a way to do the same on Mac (Apple Silicon, not Intel)

I don't want the full bulky Ubuntu Desktop installation on UTM or another VM, I was wondering if there was a way to use something like an Ubuntu Server on any sort of VM (less bulky to install/use) and boot up GUI apps natively in Mac.

What I'm trying to do is install Phy (GUI to visualize electrophysiological data) on a Mac (Apple Silicon) but I don't want to install Ubuntu Desktop just so I can see the PyQT windows inside of it, I was hoping for like a mac native UI popup that shows the windows.

2 Comments
2024/04/24
20:08 UTC

2

Is beta transition bad at all?

I literally just borked my system on accident. However I see that the new 24.04 releases within literally 24 hours.

If I just install the beta, in 24 hours once the full stable update is out will my system be able to upgrade to the stable version easy or even automatically? Or will it potentially cause issues?

5 Comments
2024/04/24
19:32 UTC

0

Alguém pode me fornecer uma ponte h que controla 2 motores no tinkercad em modelo 3d

Preciso para um trabalho :/

0 Comments
2024/04/24
19:20 UTC

3

Need help with rdp

I need help to fix a somewhat bit problem. When I try using rdl to connect to my virtual machine with ubuntu rdp deletes the minimize button of all programs, removes the dock and many more features which why I open from the server ubuntu has but rdp stops them. If anyone knows how to make rdp show the dock, minimize and other features pls help. Also my ubuntu version is 23.10.1

3 Comments
2024/04/24
18:58 UTC

2

Enterprise PXE Deployment Advice

Hello! I have recently been learning how to put together a PXE server at home in the lab. I have it running on my raspberry pi and plan to apply the same setup at work for Ubuntu deployments.

I don't have a super strong grasp on enterprise computer networks but my plan was to run the server in a VM to start. Is there anything that I should be concerned with? I am sure running this at home is much different from an enterprise environment. Would appreciate the advice.

3 Comments
2024/04/24
18:37 UTC

1

while logging showing these errors on ubuntu 20.04

Error found when loading /etc/profile:

:: ERROR: Unable to proceed: possible causes listed below. This script must be sourced. Did you execute or source this script? Unrecognized/unsupported shell (supported: bash, zsh, ksh, m/lksh, dash). May fail in dash if you rename this script (assumes "setvars.sh"). Can be caused by sourcing from ZSH version 4.x or older.

As a result the session will not be configured correctly. You should fix the problem as soon as feasible.

0 Comments
2024/04/24
17:30 UTC

5

cd wont navigate to directory that ls clearly shows is there

Maybe a newb question cause you know, I'm a newb, but here goes.

Trying to change directories to one called Midterm, but the shell keeps saying no such file or directory exists. but the ls -f output clearly shows that that directory is there. What am I doing wrong?

6 Comments
2024/04/24
17:23 UTC

18

What time is Ubuntu 24 releasing tomorrow? I googled but could only see the date and not the time...

19 Comments
2024/04/24
15:54 UTC

6

24.04 upgrade process issues thread

Hi folks,

I am collecting common upgrade issues and how to resolve them over in the discourse at https://discourse.ubuntu.com/t/knowledge-base-resolving-hard-upgrade-issues/44443

Let me know if you experience other issues where the upgrade process breaks in the middle. I'll try to check-in on failures during working hours (9-18 CEST).

I may do a public Google Meet on Friday for the hard cases, if that's useful.

                 (__) 
                 (oo) 
           /------\/ 
          / |    ||   
         *  /\---/\ 
            ~~   ~~   
..."Have you mooed today?"...
5 Comments
2024/04/24
15:34 UTC

2

How to Deal with UBSAN Array Index out of bounds?

When shutting down my Notebook i receive this messages. Shutdown is delayed for ~2mins

How can i fix this?

Screenshot: https://ibb.co/Hgm7t3L

Broadcast message from foo@bar (Wed 2024-04-24 17:04:25 CEST):

The system will power off now!

[3048.938851]

[3048.938878]

UBSAN: array-index-out-of-bounds in /tmp/vbox.0/SUPDrvGip.c:2204:20

[3048.938891]

index 1 is out of range for type 'SUPGIPCPU [1]'

[3048.939071]

[3048.939085]

UBSAN: array-index-out-of-bounds in /tmp/vbox.0/SUPDrvGip.c:2205:20

[3048.939102]

[ 3048.939111]

index 1 is out of range for type 'SUPGIPCPU [1]'

[3048.939227]

[3048.939239]

[3048.939251]

UBSAN: array-index-out-of-bounds in /tmp/vbox.0/SUPDrvGip.c:2206:20

[ 3048.939262]

index 1 is out of range for type 'SUPGIPCPU [1]'

[3048.939378]

[3048.939394]

UBSAN: array-index-out-of-bounds in /tmp/vbox.0/SUPDrvGip.c:2207:20

[3048.939401]

[3048.939412]

index 1 is out of range for type 'SUPGIPCPU [1]'

[3048.939525]

[3048.939536]

[3048.939548]

UBSAN: array-index-out-of-bounds in /tmp/vbox.0/SUPDrvGip.c:2208:20

[3048.939558]

index 1 is out of range for type 'SUPGIPCPU [1]'

[3048.939671]

[3048.940206]

] UBSAN: array-index-out-of-bounds in /tmp/vbox.0/common/log/log.c:1558:29

[3048.940223

3048.940235] index 413 is out of range for type 'uint32_t [1]'
2 Comments
2024/04/24
15:08 UTC

2

Installation fails every time I try installing ubuntu. No solution found online has worked

Ive been trying to install Ubuntu 23.10.1, as well as 22.04.4 on an old laptop. I download the ISO from Ubuntu com, make a bootable USB using BalenaEtcher, plug that bootable USB into my laptop, boot it up pressing f12 to acces boot menu, from where I ask it to boot from that. Setup works fine, until I get to the installation page (where you just wait for it to install). After around 5 minutes it gives the error "failed to install". From here I just have acces to the trial version (or whatever you'd call it). There is a install button on the desktop here, but nothing happens if I open it, so I have to reboot to try again.

Ive tried multiple different IOS files with same result. But if I install mint, which seems to be built on Ubuntu, I don't have any issues

Any suggestions

EDIT: installing basic version and not connecting to wifi worked for future reference

6 Comments
2024/04/24
14:11 UTC

0

Please help with Ubuntu GRUB killed by Windows on dual boot (I hate Windows 🤬)

Hello!

This might get a bit emotional, but I really hate Windows! It's only installed on my computer for occasionally playing Civilization, Rust, or DayZ. However, even that doesn't stop it from wasting my time and nerves to the maximum.

So, the characters in this story: me, my computer, Ubuntu, Windows, ChatGPT 4, ChatGPT 3.5.
Background: Since I've encountered Windows not playing nice with other OSes on the same machine before, I knew that I needed to install Windows first, then Ubuntu, to have the option to choose the OS at boot. I have 2 M.2 SSDs. I installed Windows on the first one, then Ubuntu on the second one. Everything worked perfectly. But it turned out my knowledge of Windows' treachery was not complete. One fine day, after successfully finishing a game of Civilization with a victory, I decided to shut down the computer, and of course, Windows couldn't resist the opportunity to update itself. Everything went fine. But the next day, when I wanted to boot into Ubuntu to work, it turned out that Windows, even after updating, killed the bootloader. I was furious. I thought that by correctly installing the systems, I had freed myself from these worries. It was naive.

I lack the knowledge to quickly fix the bootloader. I turned to the internet, read several articles, and tried to copy-paste commands, but quickly concluded that the general scheme wouldn't work for me. I decided to turn to AI. On the first day, things seemed to be going well; I booted from the Ubuntu Live USB, copy-pasted chat commands, and provided the output for control. Everything seemed to finish without errors, but upon rebooting, nothing had changed. I saw "Reboot and Select proper Boot Device or insert boot media in selected boot device and press a key" again.

I decided to try again the next day. Today, with renewed vigor and hope, I embarked on the battle. Again, I carefully executed chat commands, everything was going fine until I hit the request limit for ChatGPT 4. I had to switch to 3.5, and it turned the process into a nightmare. It stopped checking errors properly and gave scattered ideas. It all ended with suggesting creating an additional partition for the bootloader, and objections like "it used to work fine without it" didn't bother it.

In the end, I realized that I can't handle it without community help. And for these two days, I simply don't have the nerves, considering that I wasted two days just because Windows doesn't play nice with other OSes. And this is coming from someone who has been behind a computer for 20 years. What about newcomers?

I ask for help with my problem. Here's how I described it to the chat:

I am in BIOS. I have these options. Boot mode select: LEGACY + UEFY. Boot option #1: Hard Disk: Samsung SSD 970 EVO Plus 1TB (this is my Ubuntu). Boot Options #2: Windows Boot Manager (Samsung SSD 970 EVO Plus 1TB) - this is a separate SSD with Windows. I installed them in this order: 1. Windows, 2. Ubuntu (which created a menu where I can select which OS to boot). But after Windows update, it broke my menu. After I did all above, I still have this error while loading from Ubuntu SSD: Reboot and Select proper Boot Device or insert boot media in selected boot device and press a key.

Thank you to everyone who managed to read to the end!

What has been done:

Used Boot Repair with no luck.

Step 1: Verify Disk Partitioning and Boot Configuration

Step 2: Determine Boot Mode

Step 3: Check GRUB Configuration and Bootloader Installation

Actually I forgot I can share chat URL, You can see prompts and terminal outputs there:

https://chat.openai.com/share/47ffc0c1-59d5-43b3-8546-63f6a6eb2876

16 Comments
2024/04/24
12:00 UTC

0

Ubuntu Unconsented metrics connection

Although I have checked the mark to "do not send anonymous data usage" in the privacy settings

I still find a connection in the network to "metrics.ubuntu.com"

https://imgur.com/ce6NP7u

And I had to block it manually...

Canonical ! are you slowly turning to Microsoft tactics? this is a breach of privacy and must change immediately, I hope everyone is aware of this.

7 Comments
2024/04/24
11:58 UTC

0

There’s really not much hope is there

I updated my 2010 netbook many years ago to Ubuntu 14.04, realised it made the computer slower, then put it away never to touch it again. Before that it was running 10.10 and it ran great.

Fast forward to now, I’ve been wanting a bigger screen to scroll in bed so I’ve unearthed the netbook. Is there any way to get 10.10 (or 10.04) back on my netbook, with the wifi working?

Acer Aspire One Intel Atom 1.66ghz (single core) 2GB DDR2 RAM

16 Comments
2024/04/24
10:58 UTC

2

Ubuntu Server 22.04 LTS - /dev/dri/card1 is gone

Hi,

As stated in the title, my GPU is no more visible in /dev/dri after installing the drivers (nvidia-driver-550-server and nvidia-docker2, I first tried to install the 435), before installing the drivers the GPU where visible and I was able to select it within my Plex Media Server (running inside docker container) in the transcode section, but it was using software transcoding instead of the hardware one... I thought it was because I had to install the drivers, which I did, but now the GPU is gone, I'm only seeing my iGPU (UHD 770)...

Config

OS : Linux Ubuntu Server 22.04 LTS

CPU : Intel Core i9-13900K

GPU : Nvidia Quadro RTX 4000

Motherboard : Asus TUF Z790-PLUS

Module and Kernel = 5.19.0-45

0 Comments
2024/04/24
10:21 UTC

1

Ubuntu hanging on boot 18.04 LTS (I think)

My server crashed yesterday so I rebooted and now it won't get through the boot process.

The server is a VM on a remote hosting company - the machine won't respond to anything but I can see where it is stuck via VNC

https://imgur.com/a/UZUFDIF

It seems to be hanging after performing fsck - when I boot a recovery system and run fsck on the same drive it also hangs at exactly this point and my ssh connection times out.

Any help would be greatly appreciated.

12 Comments
2024/04/24
08:43 UTC

0

Dear Ubuntu experts and Hero..does a wikipage beat GitHub? PLZ advice..m

I Love to get your Idea and advice regarding the best place to run a Literaturelist that should be editable by the Community...ist IT GitHub or notion or a wiki page...

Can you share your Idea an experience please.

Thanks in advance

0 Comments
2024/04/24
08:21 UTC

Back To Top