/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

218,138 Subscribers

1

Facing problem with MP4 file uploads on Ubuntu 18.04 from Windows 11 pro 22h2 pc with the help of FileZilla. The size of the file reduces automatically after completing the file transfer.

I am attempting to upload an mp4 file (112MB) to a Linux server. After a successful transfer, its size is reduced to 103MB or 80MB. It is not uploading the full size. Its Owner/Group changed automatically into root/root as well. If I stop the lsyncd service, the transfer completes without any issue with size stays intact.

We cannot stop the lsyncd service as there is replication going on for all the files in that directory across multiple file paths in different network locations. I reviewed the lsyncd logs but found nothing.

Can anybody help me out? I also checked lsyncd logs, but no issue was found. I checked the transfer mode in FileZilla, and its set to Auto mode.

I tried changing the transfer mode to Binary from auto. I also checked the lsyncd config file, everything looks fine. Also, we can't stop the lsyncd service every time we upload as there are lots of files to be transferred. This issue started to happen recently.

0 Comments
2023/09/22
04:37 UTC

1

I need help with an error message, booting from a 22.04.3 live usb on a "blind" laptop, with only external HDMI screen and no internal

Hi all,I have a MSI GE75 Raider laptop with an Nvidia 2070 and Intel processor. My screen broke a while ago. I have been using the laptop with an external monitor through HDMI, which was fine until I accidentally broke the graphics drivers on Windows. Now Windows loads but no image is shown on the external monitor. I can tell that Windows loads because of the welcoming sound. BIOS also does not show on the monitor, although I can tell that I can get to BIOS blind: when I key bash Del at startup, then press F10 (to save and exit) followed by enter, the laptop reboots as expected.

I have been able to boot from USBs, but only by removing the SSD, so the bootloader only has the USB as an option. I haven't been able to find a combination of keystrokes that takes me to the boot menu, even though I have seen videos of it and it should be easy.

The only way I got an image on the HDMI screen is with the ubuntu Live USB. I created it with ubuntu-22.04.3-desktop-amd64.iso and Balena Etcher. I get to see the loading screen, and then logs that end in [FAILED] Failed to start Ubuntu live CD installer, and then the screen starts blinking every 0.5 seconds. Could it be because of the lack of SSD? The logs are here: https://imgur.com/a/rb3cwEC https://imgur.com/a/f0yTMRl

I would like to use this Installer to create a partition and install Linux, so I can use the PC again. How could I get pass this error? I know that there are options on the Ubuntu initial boot menu, and I would be happy to try them, but I would need the exact keystrokes because at that stage, I can't see anything.

I tried the first and second choices of the boot loader - on the first I get the error. On the second one, that I believe is with Safe Graphics, the HDMI screen does not turn on. I selected it by pressing arrow down and enter.

I can also try other versions of Ubuntu or other distros if you think I can be luckier with them.

I'm devastated about this to be honest, and I can't afford a replacement screen at the moment. Any help is great and welcome.

0 Comments
2023/09/22
04:00 UTC

1

probem with installing monero cli wallet - package not found please help

Im trzing to install this wallet and i need some help

terminal>

sudo apt install monero...

reading package list.... done

reading state information ...done

uable to locate package monero-linux...

couldt find anz package by glob monero.....

1 Comment
2023/09/22
01:12 UTC

1

Ubuntu server SSH

I'm running ubuntu server on my raspberry pi, and I can SSH it when im connected to the same network that the RPi is on. However, I can't SSH into it when I'm on a different network, even after opening port 22 (TCP/UDP) through router settings. Any ideas?

0 Comments
2023/09/21
23:38 UTC

5

Ubuntu 23.10 beta

Wasn't this suppose to be released today? Just curious.

0 Comments
2023/09/21
23:21 UTC

0

How to install Gnome 45 on Ubuntu 22.04.3 LTS

I saw a video showing off all of the cool features of the newest Gnome version, and I realized that I am currently on version 42.9

I know that it is so low because I chose the LTS version on set up but I was new to Linux (I still am to a certain degree). Thus I was wondering if there is a way to directly upgrade to the new version?

3 Comments
2023/09/21
20:47 UTC

1

Ubuntu disable overview on start up

I'm trying to automate the setup of industrial equipment running ubuntu 22.04. Each device has a monitor attached but no keyboard/mouse and I'd like to automate it with bash regardless. Upon computer startup, the activity overview pops up, shrinking our application at customer sites without any way to click the app. After some research, I've found two ways to disable this:

  1. Directly change the gnome setting
  2. Download the gnome extension package no-overview-on-startup.

I've tried number 1 but it isn't working. While

āžœ  ~ gsettings list-recursively | grep "org.gnome.shell.extensions.dash-to-dock disable"
org.gnome.shell.extensions.dash-to-dock disable-overview-on-startup true

the overview still pops up upon starting.

I can't seem to figure out how I can download and install the gnome package through bash. I do not want to be forced to manually install it on every machine we construct and ship out to customers. Plus, I'd like to make changes to deployed equipment and I can only do this through ssh.

4 Comments
2023/09/21
17:40 UTC

1

Nvidia prop drivers power usage seems excessive

Hey all,

Recently I noticed that my power usage is quit high (nvidia-smi). When idling it is ~ 90 W. When I compare that to the windows idle (50 W) that is twice the usage in idle.

Now I checked the nvidia control panel thingy, it says it should regulate automatically, but that doesn't seem to be the case. Anyone else had this problem?

My specs:

Ubuntu 22.04

Ryzen 9 3900x (Driver Version: 525.125.06)

RTX 3090

Screen is a 4K one at 144 Hz

Thanks in advance

5 Comments
2023/09/21
17:27 UTC

2

New Landscape server build

I am following the guide for a manual install of Landscape from here. I have the certs installed. When I restart apache2, it throws this error:

Sep 21 11:32:53 server.com apachectl[1301621]: AH00526: Syntax error on line 57 of /etc/apache2/sites-enabled/landscape.conf:
Sep 21 11:32:53 server.com apachectl[1301621]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Sep 21 11:32:53 server.com apachectl[1301618]: Action 'start' failed.
Sep 21 11:32:53 server.com apachectl[1301618]: The Apache error log may have more information.
Sep 21 11:32:53 server.com systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE

I have build a few before and not received this error. This server Ubuntu 20.04. Greatful for any suggestions.

4 Comments
2023/09/21
15:38 UTC

1

Netplan systemd-networkd and NetworkManager trio

Hello,

I know that initd days are gone but I am slightly confused as to what is going on with the three from the subject: Netplan, networkd and networkmanager. Netplan is an abstraction layer for fancy YAMAL-styled config I understand. Now, why (or maybe I have not researched this long enough) there is no clear distinction between when to use networkd and when to use NetworkManager?

My understanding was that NetworkManager belongs to the desktop way of managing network connectivity and networkd is predominantly designed for server use.

Now, I installed fresh 20.04 and am getting NetworkManager running my network layer.

Can someone please shed some lite as to how to even think about these components and what is their main purpose and natural habitat? Surely, this is not OK for all those living and randomly managing network devices on a host (I am a server user so this is where my focus is as opposed to Desktop).

Thanks.

2 Comments
2023/09/21
15:33 UTC

0

Switch Dabian to ubuntu

I want to change my Linux dabian to ubuntu guide me

5 Comments
2023/09/21
15:22 UTC

1

systemd-networkd-wait-online.service failed

Running a VM of Ubuntu 22.04.3 LTS. I just encountered systemd-networkd-wait-online.service failed. Not sure how or why this happened as it's been running fine up until now. Anyone know how to fix this?

$systemctl --type=service --state=failed
UNIT                                   LOAD   ACTIVE SUB    DESCRIPTION 
ā— systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured
LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
$sudo systemctl restart systemd-networkd-wait-online
[sudo] password for administrator:
Job for systemd-networkd-wait-online.service failed because the control process exited with error code.
See "systemctl status systemd-networkd-wait-online.service" and "journalctl -xeu systemd-networkd-wait-online.service" for details.
$systemctl status systemd-networkd-wait-online.service
  systemd-networkd-wait-online.service - Wait for Network to be Configured Loaded: loaded (/etc/systemd/system/systemd-networkd-wait-online.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-09-21 22:36:52 PST; 3min 31s ago
Docs: man:systemd-networkd-wait-online.service(8)
Process: 143981 ExecStart=/lib/systemd/systemd-networkd-wait-online --any (code=exited, status=1/FAILURE)
Main PID: 143981 (code=exited, status=1/FAILURE)
CPU: 3ms

Sep 21 22:34:52 ubuntusrv systemd[1]: Starting Wait for Network to be Configured...
Sep 21 22:36:52 ubuntusrv systemd-networkd-wait-online[143981]: Timeout occurred while waiting for network connectivity.
Sep 21 22:36:52 ubuntusrv systemd[1]: systemd-networkd-wait-online.service: Main process exited, code=exited, status=1/FAILURE
Sep 21 22:36:52 ubuntusrv systemd[1]: systemd-networkd-wait-online.service: Failed with result 'exit-code'.
Sep 21 22:36:52 ubuntusrv systemd[1]: Failed to start Wait for Network to be Configured.

​

3 Comments
2023/09/21
14:46 UTC

1

Wayland - Ubuntu 23.04 - 2K display - Discord blurriness

Hi everyone!
I was having issues with high-dpi my laptop display and wayland. In order to fix the bluriness of the discord desktop application, I changed the .desktop file with the following entry:
Exec=/usr/share/discord/Discord --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland

This solved the issue, but now I cannot close/minimize and drag the application, since the top bar has disappeared.

Can I fix in some ways this newer issue?

Thanks

​

PS: I've also tried with the following option, but nothing changed:

--enable-features=UseOzonePlatform --ozone-platform=wayland

2 Comments
2023/09/21
14:08 UTC

0

what the fuck

so I download Vm, dowload Ubuntu ISO, boot it all up, as this is my second time making a linux VM. but apparently I cannot use sudo, and in order to use sudo, i need a user that has sudo access. how the hell am i supposed to get sudo access. sudo -i dont work. add user needs root access to add user to sudoer file. whoever made this stupid rule to where in order to to anything on this stupid OS you need another account to give you root access. what a fucking stupid OS rule.

​

if anyone knows how to fix this please tell me cuz google is absolutely fucking useless for this stuff.

19 Comments
2023/09/21
13:20 UTC

13

New Ubuntu user here and I just ran out of storage

Recently installed ubuntu and assigned around half a terabyte of storage for it because I'm still dual-booting windows. It's been one day since I've been using Ubuntu and I already only have 24GB left.

14 Comments
2023/09/21
12:36 UTC

1

How to disble internal keyboard or a particular key of internal keyboard with fully working external keyboard?

My = is getting pressed automaticall so I want to do it. Watched some tutorial

one of them said to type
xinput float 5
This disbaled both keyboard and enabled both keyboard

Another video asked to download a github code and runned the command said in video but didn't worked

What should I do?

Also after connecting external keyboard the problem has solved 90% automatically how?

6 Comments
2023/09/21
12:16 UTC

0

#RTX-4080 16GB 듀얼지원 #ģžģœØģ£¼ķ–‰ģ œģ–“ ģ„œė²„ģ»“ķ“Øķ„° ģøķ…” i9-13900K #MIL-STD-810H ģ°ØėŸ‰ģš©IPC #nvidia

0 Comments
2023/09/21
08:41 UTC

3

Volume Going Up And Down By Itself....

I'm not sure what's going on but, the Volume control will go up and down by itself all the time. It doesn't matter if I'm on YouTube or playing a game through Emulation. Or so on. Pulse audio didn't fix anything and it still does it. It's an HDMI to HDMI ( Tv to my PC). I've tried to reboot the PC a few times and that doesn't fix it either. Does anyone have any suggestions?

0 Comments
2023/09/21
08:38 UTC

1

How to run Ubuntu from USB in VirtualBox

You might ask, WHY?!?! Cuz I had an extra SSD and a drive bay and wanted to run Ubuntu INSIDE windows. After MUCH trial and error, here's how to do it.

  1. download and install virtualbox and any needed dependancies
  2. download the latest Ubuntu desktop ISO
  3. open CMD as admin
    1. cd\"program files"\Oracle\virtualbox
    2. Diskpart
    3. List disk
    4. (((find the USB drive by size or name)))
    5. Exit
    6. replace PICKAFILENAME with your VM name and replace the X at the end with your drive #
    7. VBoxManage internalcommands createrawvmdk -filename %userprofile%\documents\PICKAFILENAME.vmdk -rawdisk \\.\PhysicalDriveX

open VB

  1. NEW
  2. name
  3. type: linux
  4. version
  5. choose hardware settings
  6. Hard Disk
  7. use and existing virtual hard disk file
  8. pick the vmdk in your documents folder
  9. finish
  10. settings
  11. storage
  12. add optical drive and pick the downloaded Ubuntu ISO
  13. start the VM, run through the installer and install Ubuntu to the USB drive
  14. restart

Now you can run Ubuntu INSIDE windows, drag and drop to and from each, copy/paste, and everything you do will be saved to the drive.

4 Comments
2023/09/21
06:37 UTC

1

How do I re-attach chrome tabs into one window?

So when you have multiple pages open in Chrome, it's easy to pull a bit "down" and that one tab becomes a separate window.

Now, since I'm a windows user, I'm used to this, I just grab the little tab and pull it back into the main window, and that's it, they're "merged".

But in Ubuntu, whenever I hold and grab the little tab, the mouse snaps to the top of the actual window, so they can not be merged.

Am I doing something wrong?

4 Comments
2023/09/21
06:28 UTC

1

Ubuntu on a VPS n00b question

Clearly I don't understand what I should, but whatever. I happened to be reading /var/log/auth_log on a Vultr VPS running Ubuntu 22.04 x64. I did not realize that the default install included a user called "ubuntu" with a UID of 1000. I thought I'd been hacked but now I am not sure because I spun up another fresh VPS of 22.04 and, sure enough, it included the user "ubuntu".
Sshd is set to use certificate auth, no password auth. The exposed port is whitelisted by the firewall to only one IP. (Yes, I know, not perfect.)
But I saw a login from tty01, I presume the novnc console... here's a screen shot of what happened to better explain it. I am a newb, and when I originally deployed this vps I named it "login", so thats why the auth log says login so many times. It's my dumb hostname. But please, look at the photo, tell me what went on here? After seeing this, I changed user "ubuntu"' default shell to /usr/sbin/nologin

screenshot of /var/log/auth.log
I see the cron:sessions and they don't puzzle me, but the September 18 22:59:59 login 902 session for ubuntu? This also appears with the "last" command, and there is no ip address.
Can someone explain this?

0 Comments
2023/09/21
03:39 UTC

3

Pidgin broken after upgrade to 23.04

Copied from https://lemmy.crimedad.work/post/20464:

Pidgin doesn't work anymore since I upgraded from 22.10 to 23.04 today. I get the following error when I try to open it in Terminal:
*** stack smashing detected ***: terminated
Aborted (core dumped)
If I try to open it from the launcher it doesn't open and I get no error at all. Any suggestions on how to fix the problem? I apparently have version 2.14.12 installed.

2 Comments
2023/09/21
00:28 UTC

1

trying to install anbox inside ubuntu 22.04 distrobox getting dbus eror

$ anbox launch --package=org.anbox.appmgr

[ 2023-09-20 23:26:17] [launch.cpp:71@launch_session_manager_dbus] Failed to start session manager instance via dbus
[ 2023-09-20 23:27:07] [daemon.cpp:61@Run] [org.freedesktop.DBus.Error.FileNotFound] Failed to open bus (No such file or directory)

$ anbox container-manager

[ 2023-09-20 23:25:10] [container_manager.cpp:74@operator()] You are running the container manager manually which is most likely not
[ 2023-09-20 23:25:10] [container_manager.cpp:75@operator()] what you want. The container manager is normally started by systemd or
[ 2023-09-20 23:25:10] [container_manager.cpp:76@operator()] another init system. If you still want to run the container-manager
[ 2023-09-20 23:25:10] [container_manager.cpp:77@operator()] you can get rid of this warning by starting with the --daemon option.
[ 2023-09-20 23:25:10] [container_manager.cpp:78@operator()]
[ 2023-09-20 23:25:10] [container_manager.cpp:82@operator()] You are not running the container-manager as root. Generally you don't
[ 2023-09-20 23:25:10] [container_manager.cpp:83@operator()] want to run the container-manager manually unless you're a developer
[ 2023-09-20 23:25:10] [container_manager.cpp:84@operator()] as it is started by the init system of your operating system.

​

this is as far as I get when the error happens

http://0x0.st/HOE0.png

1 Comment
2023/09/20
23:39 UTC

1

Ubuntu hanging during installation

When installing Ubuntu (most recent LTS version) it always seems to get stuck at the updates and software page after hitting next. Same issue when installing Linux Mint, any flavour, or debian.

System is an 11 inch MacBook Air (late 2015).

Anyone had similar issues when installing any variation of Linux and have a solution? Lete know if there's any more info that could be helpful.

2 Comments
2023/09/20
22:48 UTC

1

IdeaPad 5 Pro running Ubuntu 2022 LTS doesn't turn power off

Hi. IdeaPad 5 Pro running Ubuntu 2022 LTS doesn't turn power off: just at some moment rotating "in progress" indicator disappears and that's all. I'm forced to use power button.

​

The issue doesn't depend on the way "shut down" command was initiated: via DE (Gnome or KDE) mouse clicking, or via "sudo poweroff", or "sudo reboot" - results are the same.

​

The notebook previously was running under another Linux distro (Arch based), and it was free from the problem.

Probably some newer kernel is needed, but I not aware of official Ubuntu way to play with kernels (especially on LTS edition) yet.

​

Ideas?

0 Comments
2023/09/20
22:23 UTC

31

I made some Ubuntu wallpapers and was wondering what you think

Here is the link and if you want the gimp file I can host it somewhere. I know it's not a tech question exactly but thought r/ubuntu would hopefully appreciate these.

5 Comments
2023/09/20
18:56 UTC

1

Install bootable and encrypted ubuntu on external SSD

Hi,

I have gotten an external SSD that I want to use Linux on. I tried install Kubuntu on it the "normal" way like it was just another partition on my laptop. This did not go well. I could log into the newly made Kubuntu external SSD, but my old system was not bootable any longer. A grub error came up.

Also the external SSD was unable to boot on any other computer..

I have found several online tutorials on how to install it without encryption, but sadly that is a must as it will handle sensitive patient data.

Anyone who can point me to a good tutorial for this, or knows how to do it?

2 Comments
2023/09/20
18:53 UTC

3

Ubuntu error message

i keep getting error message when i am using Ubuntu 22.04 is not responding .i don't know what happen i recently reinstall my Ubuntu .can you please tell me how to stop it the frequency of message are 3 to 4 times a day

3 Comments
2023/09/20
18:28 UTC

1

VPN

I host virtualbox with Ubuntu and all of the "cookbooks" online seem to assume I'm hosting with Windows when they explain how to share a vpn installed on the host with the vm guests. I have the host only adapter installed in virtualboxand the vpn adapter appears in the host whenever the vpn is in use, but it doesn't seem to be sharing it with any of the vms. Does anybody know what I'm missing?

1 Comment
2023/09/20
17:09 UTC

1

Ubuntu support on NanoPi R6C/R6S?

Hi, I've been searching quite a lot on this subject and I'm not sure if there's an official support for Ubuntu on the NanoPi R6C. I'd like to know if it's possible to easily install Ubuntu on this device please.

Thank you

1 Comment
2023/09/20
16:25 UTC

Back To Top