/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

237,582 Subscribers

1

Jammy - Upgrade python fail

Hello,

My Ubuntu Jammy, would like upgrade Python but fail.

Do you want to continue? [O/n] O
(Reading database ... 375728 files and directories currently installed.)
Preparing to unpack .../python3.12_3.12.8-1+jammy1_amd64.deb ...
Unpacking python3.12 (3.12.8-1+jammy1) over (3.12.7-1+jammy1) ...
dpkg: error processing archive /var/cache/apt/archives/python3.12_3.12.8-1+jammy1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/python3.12', which is also in package python3.12-minimal 3.12.7-1+jammy1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libpython3.12-stdlib_3.12.8-1+jammy1_amd64.deb ...
Unpacking libpython3.12-stdlib:amd64 (3.12.8-1+jammy1) over (3.12.7-1+jammy1) ...
dpkg: error processing archive /var/cache/apt/archives/libpython3.12-stdlib_3.12.8-1+jammy1_amd64.deb (--unpack):
trying to overwrite '/etc/python3.12/sitecustomize.py', which is also in package libpython3.12-minimal:amd64 3.12.7-1+jammy1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python3.12_3.12.8-1+jammy1_amd64.deb
/var/cache/apt/archives/libpython3.12-stdlib_3.12.8-1+jammy1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

What is best practice ?

Thanks

0 Comments
2024/12/06
07:05 UTC

1

What are upgrade paths from 23.04 lunar to 24.04.x current LTS (do-release-upgrade, update-manager do not offer an option)?

What are upgrade paths from 23.04 lunar to 24.04.x current LTS (do-release-upgrade, update-manager do not offer an option)?

So I've been admining various linuxes for a long time so I'm not a newb, I just haven't often done in place upgrades from ubuntu release to subsequent ones.

I'm fully aware I should back everything up regardless and that it's quite possible to just wipe a disk partition and install the new release fresh then manually try to restore /home and other locally curated files manually ad hoc to get much of the user documents data restored.

In this case I have one big "/" partition / FS which contains pretty much everything (OS and /home and other such data) in one FS (except /boot, /boot/efi etc.) which doesn't make it as easy to wipe "/" and not touch /home etc.

I really don't care much about the OS particulars though the rough package selection pertaining to the desktop environment etc. would be nice to "keep but update" and also even more than that there's all the usual /home/username/.config and such user settings / preferences files and state wrt. cinnamon, desktop preferences, nautilus / other file manager preferences / settings / shortcuts, firefox & chrome profiles / settings, etc. etc. which would be a rather annoying to have to lose and recreate if I'm going to just get 18 months newer versions of the same software installed and there may be backward compatibility / forward migration options that are seamless.

So am I missing out on something in terms of ubuntu OS ecology innate update paths or is the "there is no migration option from lunar to 24.04.1 LTS" message from the aforementioned software tools the alpha and the omega of what ubuntu's innate options are about this?

More specifically I've always been a bit fearful about how to restore an old /home/username directory from a system one was happy with a year or two ago onto a newly installed OS and then not really know if all the typical user desktop / application settings and scripts and data contained in there is REALLY "just like magic" forward compatible to 1-2+ year subsequent variants of the "same" applications (cinnamon, kde, libreoffice, gnome, whatever one has) or whether some structures / data / settings got deprecated / EOLed and will actively cause problems if placed into a "new" OS /home directory or if some things need to be actively translated / remapped (possibly manually or via non-automatic restore / update processes). And it's a topic I've seen VERY little mention of on LINUX over the years though I guess delving into the sysadmin depths of 40 different user applications / frameworks would yield particular answers in particular cases.

So in that respect IDK what ubuntu's "update-manager" et. al. even DOES to cause an "old installation" to be "updated" beyond the obvious "install all the corresponding new packages and their dependencies, remove obsolete old packages, try to merge in user customized system settings files from /etc and such". But updating all the user /home desktop state / settings etc. it's much less obvious if it does anything even when it works and if so, what?

Browser (chromium, firefox, chrome) profiles are kind of self contained and self-managing. Similar with thunderbird, and some other things. But all the other more desktop / session / environment / office / theme / accessibility etc. stuff is much more opaque and "touches" much more of the not self contained system package version / library / etc. stuff wrt. versioning / schemas / directory structures and whatever.

Not a huge deal. I can just nuke it and start over with restored documents but I'm just trying to ease the pain and keep on top of updates given the "new" 24.04 LTS if possible until I switch to something else as an installation / partitioning / OS devops scheme.

2 Comments
2024/12/06
06:55 UTC

3

Windows 10 can not see my Ubuntu Share folder

Hi Team,

I have Ubuntu 24.04 with nautilus and samba installed. The folder already have the green share icon.
I have followed youtube and google instructions on how to get it fix but nothing.
I edited smb.conf with all possibles ways but Windows see a "HOST" folder that I can also see in Ubuntu
but when I try to connect to it I have error code 0x80070035.

I would like some help on this matter, I've been dealing with this almost 2 days and nothing.

Thanks team.

2 Comments
2024/12/06
01:18 UTC

1

Why is my speaker sound dead quiet?

New to Linux and I'm on the latest LTS version and the sound on speakers, even at max, even at beyond max is way too low. I can barely hear it. Messing with pavucontrol did not work either. This is not leaving a great impression.

0 Comments
2024/12/06
00:48 UTC

11

Steam Snap vs official .deb?

Does anyone know if there is a difference between the Steam Snap or the .deb downloaded from the Steam website? I have no problem with snaps in general but I want to install the best version of Steam.

11 Comments
2024/12/06
00:15 UTC

6

Login GUI is looping

After I login it instantly brings up the login screen again. I am able to open the terminal by using Ctrl alt f3 and login fine there but the GUI just keeps looping.

I have tried:

  1. Changing permissions for xauth and iceauth (turns out I have neither)
  2. ls -ld /tmp in which it has all permissions
  3. I don't seem to have lightdm so I would assume I have gdm3
sudo apt update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y clean
reboot

5. sudo apt-get autoremove sudo apt-get autoclean 6. Systemctl doesn't seem to see xdg-permission-store

Please any help is greatly appreciated.

I am not sure what causes this but I am desperate for help here losing all of my configuration on this laptop will really suck. And potentially cost me money.

1 Comment
2024/12/05
23:03 UTC

11

24.04.1 LTS: Firewall Rant

I come from the Enterprise 'nixes (RHEL, Cent, Alma, etc). And I really need some help understanding the out of box firewall config on 24.04 LTS.

I've read some online forums but nothing explains what I am seeing here. :\

Clearly iptables is running:

iptables -L -v -n

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)

pkts bytes target prot opt in out source destination

Chain FORWARD (policy DROP 0 packets, 0 bytes)

pkts bytes target prot opt in out source destination

0 0 DOCKER-USER 0 -- * * 0.0.0.0/0 0.0.0.0/0

0 0 DOCKER-ISOLATION-STAGE-1 0 -- * * 0.0.0.0/0 0.0.0.0/0

0 0 ACCEPT 0 -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED

0 0 DOCKER 0 -- * docker0 0.0.0.0/0 0.0.0.0/0

0 0 ACCEPT 0 -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0

0 0 ACCEPT 0 -- docker0 docker0 0.0.0.0/0 0.0.0.0/0

.... (Truncated)

However, there is no iptables service, only this "UFW" service:

systemctl status ufw.service

● ufw.service - Uncomplicated firewall

Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; preset: enabled)

Active: active (exited) since Thu 2024-12-05 22:42:02 UTC; 2min 6s ago

Docs: man:ufw(8)

Process: 3254 ExecStart=/usr/lib/ufw/ufw-init start quiet (code=exited, status=0/SUCCESS)

Main PID: 3254 (code=exited, status=0/SUCCESS)

CPU: 1ms

Dec 05 22:42:02 nyc-colo-passwd systemd[1]: Starting ufw.service - Uncomplicated firewall...

Dec 05 22:42:02 nyc-colo-passwd systemd[1]: Finished ufw.service - Uncomplicated firewall.

Fine, great. I run ufw status and it says nothing is running...

~# ufw status

Status: inactive

But really I just want to discover how iptables is started so I can stop and disable it.... So I try to stop the UFW service because it is the only service in systemctl that looks remotely related to anything firewall (and there is no iptables service) and despite "ufw status" reporting "inactive", everything I've gathered states UFW manages iptables and since there's no iptables service I figure lets give it a try:\

# systemctl stop ufw.service

# systemctl status ufw.service

○ ufw.service - Uncomplicated firewall

Loaded: loaded (/usr/lib/systemd/system/ufw.service; enabled; preset: enabled)

Active: inactive (dead) since Thu 2024-12-05 22:48:03 UTC; 6s ago

Duration: 6min 780ms

Docs: man:ufw(8)

Process: 3254 ExecStart=/usr/lib/ufw/ufw-init start quiet (code=exited, status=0/SUCCESS)

Process: 3269 ExecStop=/usr/lib/ufw/ufw-init stop (code=exited, status=0/SUCCESS)

Main PID: 3254 (code=exited, status=0/SUCCESS)

CPU: 2ms

Dec 05 22:42:02 systemd[1]: Starting ufw.service - Uncomplicated firewall...

Dec 05 22:42:02 systemd[1]: Finished ufw.service - Uncomplicated firewall.

Dec 05 22:48:03 systemd[1]: Stopping ufw.service - Uncomplicated firewall...

Dec 05 22:48:03 systemd[1]: ufw.service: Deactivated successfully.

Dec 05 22:48:03 ufw-init[3269]: Skip stopping firewall: ufw (not enabled)

Dec 05 22:48:03 systemd[1]: Stopped ufw.service - Uncomplicated firewall.

Okay great. Its stopped. Does that turn off IPTABLES?!!!?! nope!

iptables -L -v -n

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)

pkts bytes target prot opt in out source destination

Chain FORWARD (policy DROP 0 packets, 0 bytes)

pkts bytes target prot opt in out source destination

0 0 DOCKER-USER 0 -- * * 0.0.0.0/0 0.0.0.0/0

0 0 DOCKER-ISOLATION-STAGE-1 0 -- * * 0.0.0.0/0 0.0.0.0/0

0 0 ACCEPT 0 -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED

0 0 DOCKER 0 -- * docker0 0.0.0.0/0 0.0.0.0/0

0 0 ACCEPT 0 -- docker0 !docker0 0.0.0.0/0 0.0.0.0/0

0 0 ACCEPT 0 -- docker0 docker0 0.0.0.0/0 0.0.0.0/0

.... (Truncated)

# lsmod | grep iptab

iptable_filter 12288 0

ip_tables 32768 1 iptable_filter

x_tables 65536 9 ip6table_filter,xt_conntrack,iptable_filter,nft_compat,xt_addrtype,ip6_tables,ip_tables,xt_MASQUERADE,arp_tables

Well that's just great. I've been using *Nix for 25 years, have experience with many commercial as well as open source software distributions and I can't (quickly) figure out something that's meant to be simple like locating & stopping the firewall service... Yes I can go parsing through start scripts and follow the dependency tree and figure out where the firewall service is being hook'd into so I guess this is more of a rant than an ask for help but just WTF.... Honestly.

Yes I'm only using Ubuntu LTS because I have to for a one-off project. Will go right back to true enterprise linicies .

12 Comments
2024/12/05
22:55 UTC

2

will ubuntu work on my laptop?

Hello guys, my laptop has a lot of issues on linux due to the nvidia card. I tried many different distros, and I noticed that my laptop is supposed to be certified on ubuntu: https://ubuntu.com/certified/202309-32039
but here it's says that it has a special iso image, will that change a lot? Does anyone that has the same hardware as me managed to make it work with linux? Basically the issues I have are freezing and artefacts, due to the GPU.

Is there a way I could acquire this custom image? thanks for any help.

4 Comments
2024/12/05
22:03 UTC

8

Ubuntu 24.04 on ThinkPad E14 G5 (AMD Variant)

I just got this thinkpad at a great deal, but it comes with W11 be default. Is it safe to use U24.04, i did a search on this sub and found some mixed opinions. Has anyone had any luck ?

4 Comments
2024/12/05
16:41 UTC

1

When unlocking my computer, and occasionally, I see what looks like an icon opening and closing quickly in my dash in Ubuntu 24.04.1. I think it's a gray icon with a gear in in. This is my second install of Ubuntu on this machine, and it happened last time too. Any ideas? Something malicious?

2 Comments
2024/12/05
15:23 UTC

0

I try to love Ubuntu but its giving me a hard time.

I am traveling right now for some month and use my phone data as hotspot for my ubuntu notebook. But every day it loads 1GB and more and i dont even know what for. Ubuntu is literally not useable for me. I did set it to a metered connection so it shouldnt load updates, but like 2 minutes after i opened firefox it age another 1GB of my precious data.

Also its dead annoying that it asks me almost every day to upgrade ubuntu, even though i have it on my setting to never ask for updates. Every few days it wants to do like 260mb security update. So disturbing data hungry.

The second thing is i want to use veracrypt to open old backups of fotos. I spend many houres to figure out why it wont let me install it. Its because Ubuntu supports libfuse3 and vera only accepts libfuse2. So downgrading my libfuse would brick my desktop according to some post i read.

I wanne leave windows because i hate bill gates, and i am to poor for apple vD, i just hopped ubuntu would make me a less hard time to atleast like it.

23 Comments
2024/12/05
14:28 UTC

2

SSH server config for listening address

Hi,

SSH server config file as provided by Ubuntu Server 22.04 package management has listen address line:

ListenAddress ::

What is its semantic?

Line is placed in comment hence out of effect. It is also preceded by line

ListenAddress 0.0.0.0

Do these two lines need be together to get their function?

If there is a need to limit the range of addresses fot SSH server to be listening on does the config modification need also the line "ListenAddress ::" ?

4 Comments
2024/12/05
14:23 UTC

0

Facing weird issue on latest Ubuntu

Hello guys so I just installed latest Ubuntu and I put it a sleep after a while I turned it on but facing graphical defects and lagging and slow performanceand sometimes the system freezes for a while I'm using Asus rog g751jl that come with only nvidia GPU and core I7 4720hq

6 Comments
2024/12/05
13:16 UTC

1

Fixing RDP

Hi. I have an Intel box (10i7) running Ubuntu 24.04.1 lts. Edit-: Wayland

When I RDP into the machine it seemingly works from the Windows end, but all I get is a black screen.

I have a similar setup with another Intel machine that works perfectly.

I have tried uninstalling and reinstalling anything related to RDP on the machine with the RDP black screen without success.

Is there a more foolproof way in terms of uninstalling and reinstalling or editing a config file that I can get RDP working again without just reinstalling everything again?

I did upgrade this box from 22.04 to 24.04 a few months ago and I was hoping it would fix RDP but didn't...

Thanks.

Edit -- I gave up with messing around with Ubuntu and I installed Nomachine and it was an amazingly simple fix that works 100% of the time.

12 Comments
2024/12/05
12:43 UTC

3

Can anyone teach me how to apply themes

Created .theme folder in home directory and tried to apply from gnome tweaks and user theme but not working

1 Comment
2024/12/05
11:35 UTC

1

Ubuntu 24.10 - Pluton chip support on AMD

Hi all,

I cant find proper info on that case - do Ubuntu actually can use the security capabilities of the chip or not? And if it can - how to achieve that, as i think its way better then TPM1.2/2 as implementation..

0 Comments
2024/12/05
08:37 UTC

0

just a silly bug on Nemo

I found that you can't replace a Case (for example a per A or viceversa) in a folder or file name, it says the name is already in use. I would report in to Nemo directly but I don't know where to do it.

2 Comments
2024/12/05
07:58 UTC

1

Messed up my Ubuntu installation with Encryptfs

Hi, I was trying to encrypt a folder which contained some important information, I installed Encryptfs for this. It seems that I messed up something and encryptfs ended up encrypting my whole /home/ directory.

To make things worse, I ended up deleting the /home/.encryptfs/ directory.

I realized the mistake and somehow managed to recover the deleted files using PhotoRec. I have these recovered files saved in an external hard disc.

How can I decrypt this and access data from my home? Encryptfs didn't ask me any passphrase while encrypting the files, so I don't know how it will decrypt the files.

7 Comments
2024/12/05
06:07 UTC

1

Configuring Delete key on Chromebook running Zorin

Hi folks. I have installed Zorin OS on my Chromebook. Chromebooks don't have an Fn key or a Delete key. And I sorely miss the Delete key while using it.

Is there any way to configure Super + Backspace or Right Alt + Backspace as the delete keys?

0 Comments
2024/12/05
04:52 UTC

8

how do i set up hebrew keyboard

ubuntu 22.04

1 Comment
2024/12/05
03:39 UTC

1

Where to get the drivers for Nvidia GPU and management software for the same?

I'm planning on uninstalling Windows and install Ubuntu on my gaming laptop. But I'm not sure if the drivers are readily available and also if there are software like the pre-installed ones that monitor/manage the CPU and GPU.

Can anyone guide or share resources/links for the same please?

Edit: The current setup is AMD Ryzen 7 with RTX 4060, if that helps.

4 Comments
2024/12/05
03:02 UTC

1

Xubuntu 24.04 - black screen on startx

Trying to debug a WM issue so I killed lightdm service and logged into tty1. X doesn't print any obvious reason for this problem. I have an .xinitrc that works when I launch X from lightdm.

0 Comments
2024/12/05
02:55 UTC

5

Ubuntu 24.04 on thinkpad t470 does not connect propery to JBL tune buds

I am having trouble connecting my JBl tune buds to my laptop. On ubuntu 20.04-based linux lite on broadcom adapter it connected fine. But now on this new laptop i can visually connect to headphones with normal menu, but they do not exit the search mode, and do not show up in audio out. I installed blueman, and while in search, there is no connect option for them in right click menu, and if i connect via double-click, it also shows connected, but all signal bars are maxed out which does not seem correct, and buds also do not register connection on their side and do not show up in audio devices. I also tried connecting via console bluetoothctl, and while i can pair, i cannot connect as it either says that device does not exist (if i use mac that i pair with) or times out if i use the newly reported mac

Wifi on same adapter works just fine though. What could be a problem?

Inxi info: https://pastebin.com/9msbrgwe

UPD: After some tinkering i found that changing ControllerMode to bredr in /etc/bluetooth/main.conf and restarting bluetooth service helped both problems. Why it did though - i have no idea

2 Comments
2024/12/05
00:35 UTC

0

Looking for emulator

I’m looking for an emulator that will work on my le potato that’s running Ubuntu 22.04. Any help would be appreciated EDIT: le potato is aml s905x cc I want to emulate game boy and game boy advance games

9 Comments
2024/12/04
23:48 UTC

0

PC friert nach kurzer Nutzung ein – Maus lässt sich bewegen, aber keine Reaktion – Fehlerursache und Lösung gesucht

Hallo zusammen,

ich habe ein Problem mit meinem PC, bei dem er nach etwa 15 Minuten Nutzung einfriert. Die Maus lässt sich zwar noch bewegen, aber keine Eingaben werden mehr akzeptiert (keine Reaktion auf Klicks oder Tastatureingaben). Ich muss dann einen manuellen Neustart durchführen, um ihn wieder zum Laufen zu bringen. Der PC stürzt nicht nur ab, sondern lässt sich erst durch einen vollständigen Neustart wieder starten. Dabei scheint es sich nicht um ein Hardware-Problem zu handeln, da die Komponenten funktionieren und keine ungewöhnlichen Geräusche oder Fehlermeldungen auftreten.

Hier sind ein paar Details: • Das System läuft mit Ubuntu. • Ich habe versucht, den RAM zu testen, und es gibt keine Fehler. • Die CPU-Temperatur wird überwacht und scheint in Ordnung zu sein. • Beim normalen Arbeiten oder intensiveren Nutzung zeigt der PC die Symptome.

Ich habe bereits einige grundlegende Schritte durchgeführt: 1. Das System wurde auf Fehler überprüft (kein Ergebnis). 2. Verschiedene Anwendungen und Prozesse wurden getestet, ohne dass der Fehler behoben werden konnte.

Hat jemand eine Idee, was hier die Ursache sein könnte? Und wie kann ich das Problem beheben, ohne auf umfangreiche Neuinstallationen oder Reparaturen zurückzugreifen? Ich bin für jede Hilfe oder Tipps dankbar!

Danke im Voraus!

2 Comments
2024/12/04
23:25 UTC

1

How to give more partition space?

Hello there. I recently installed Ubuntu and Im trying to learn a lot about how to use it. The problem I have is that, despite having 500gb available in disk, programs like Steam tell me there is 50gb or less. Afaik, Ubuntu creates partitions with specified space available. I think my mistake was assigning the default value for partition space when installing. What can I do to have all disk space available?

5 Comments
2024/12/04
22:58 UTC

0

Should i downloaded Ubuntu?

I have been using arch Linux for the past 2 years now and i have ran into a lot of problems with stability and packages i either break the system by downloading a malware on yay (AUR) and i don't know which is the best stable system i asked dell support and they said Ubuntu and fedora if anyone could help me choose

34 Comments
2024/12/04
22:47 UTC

1

Installing Ubuntu on an old MacBook Air, trackpad and keyboard freeze before install

Trying to install Ubuntu on an early 2014 Macbook Air & the trackpad will freeze before I can even select the USB drive. Unsure how to proceed without an external keyboard as I only have 1 working USB port, other than to buy a dongle.

1 Comment
2024/12/04
22:29 UTC

1

I have a problem with the Ubuntu terminal

Hi, since yesterday I started having a problem with the Ubuntu 24.04 terminal, the terminal runs and opens the window but doesn't show anything... it doesn't even let me write commands... I need help.

4 Comments
2024/12/04
21:46 UTC

1

Raspi 5 - Ubuntu No Netflix

I have a Raspi 5 with Ubuntu 24.04.1 installed on it. I'm using it as a desktop replacement in my garage. It works fantastic for this purpose except for some reason I can't watch Netflix on it. Something about Widevine? The errors differ depending on the browser I use.

Anyway, I did some searching online and tried all the various browsers such as Chrome, Chromium, Firefox, Brave, and all of them give me an error when I start to try to stream a show. I went through the various security settings within the browsers and tried a few changes but the end result was always the same.

Is there some deeper issue here that is beyond my skills? I'm fairly handy with computers but this one seems like a roadblock every which way I try. Thanks!

8 Comments
2024/12/04
21:46 UTC

Back To Top