GPU problems in-game https://askubuntu.com/questions/1568027/gpu-problems-in-game

I have had many GPU problems in my current install of Kubuntu (I keep things as updated as possible). The previous GPU, an RX 580 8gb, had overheating issues (now found to be a hardware problem) and a system crashing issue, and now my RX 5500 xt 8gb also has a problem of randomly crashing in the game Cyberpunk 2077, and so far nowhere else. The game seems to be unstable on its own, as it can crash and glitch outside of graphics crashes. I am running it in medium graphics in windowed mode, on proton hotfix.

I have followed the guide "Dummy's guide to AMD GPU Issues", and besides enabling "amdgpu.gpu_recovery=1" in grub (which hasn't stopped crashing), this is the output I have been able to gather of all the goings-on in my system:

https://pastebin.com/knywXCRc

If needed, the crash that happens is that the game will freeze, the GPU won't send signal anymore and when it gives any signal it's all artifacts, the system being unresponsive.

How to create a RAID system with encryption and data checksumming? https://askubuntu.com/questions/1568026/how-to-create-a-raid-system-with-encryption-and-data-checksumming

I'm trying to figure out a concept on how to create a system that is installed on a RAID and has both encryption and self-healing (checksumming) capabilities, however, so far, I have failed to come up with a solution that has no issues.

Please consider the following as guidelines:

  • A laptop (or other machine) that has two separate drives installed (SSD)

  • Drives should be configured as RAID 1 against single drive failure, because unique data is saved onto them on the go (photos, videos, client's notes, passwords, etc.)

  • RAID array should be able to boot in a degraded state, if absolutely necessary

  • RAID array should be transferable, in case of laptop hardware failure (no hardware RAID)

  • Data should be encrypted, because laptop is susceptible to theft and sensitive data should not be accessible by foreign parties

  • (Strictly optional, but highly desired): Data should be safe against any form of corruption in the long term

I've read into a couple of different technologies that accomplish some of these criteria, but I can't make them work together to create a system that fulfills all of them. So far, I've considered:

md-raid: Does not know about data corruption, will brainlessly write any data to all active devices, whichever gets read first, gets loaded. RAID on top of encrypted block devices may fail to boot on single drive failure (?).

btrfs: Does not know about encryption. If btrfs is located on an encrypted md-raid device, it does not see individual underlying drives = no self-healing and no use for btrfs in the first place (in this specific scenario).

dm-crypt+dm-intergrity: No easy way of opening block devices (integritysetup) to boot the system, initramfs must be manually modified = no update-stability. RAID on top of encryption issue again.

ZFS: No native kernel support. Too... problematic to do.

Is there any other way to accomplish this that I have missed or anything that I got wrong? If somebody has done this before or knows of a configuration that would solve all these points, I would be glad to find a solution.

No LTS upgrade is available from Ubuntu Server 24.04 https://askubuntu.com/questions/1568025/no-lts-upgrade-is-available-from-ubuntu-server-24-04

I'm trying to upgrade my Ubuntu Server to the latest LTS (26.04) from 24.04, but do-release-upgrade fails:

root@aragorn:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:        24.04
Codename:       noble
root@aragorn:~# do-release-upgrade 
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release 
set Prompt=normal in /etc/update-manager/release-upgrades.

I do not want a development release, so I left the prompt to lts in /etc/update-manager/release-upgrades

How can I do it?

GTK File chooser dialog box doesn't save on <Enter> https://askubuntu.com/questions/1568020/gtk-file-chooser-dialog-box-doesnt-save-on-enter

I just upgraded my Ubuntu 24.04-4 MATE install to the latest version. I noticed that in Firefox the save dialog box refuses to save a file on the proposed location when hitting [Enter] like it always did. I first blamed Firefox but it is system-wide. Any GTK app has this unwanted behavior. Other PCs, a fully up-to-date Linux Mint 22.3 workstation and a fresh test install of Ubuntu 24.04 MATE on an HP USDT (Ultra Small Desktop) save just fine on [Enter].

But not only that, I also noticed files being overwritten without any warning when clicking Save (or using [Alt]+s). Barring a complete system re-install, how can I fix this?

How to log into VPN from default browser? https://askubuntu.com/questions/1568019/how-to-log-into-vpn-from-default-browser

I have a VPN connection configured in Settings > Netowork > VPN. I've entered the following values:

All the other values are left default, and are mostly empty.

Now, when I click connect, I am asked to log in. When I click the login button, The VPN window opens my company's log in page internally, inside itself. And this does not work, because the VPN window only supports password login, which is disabled by my company's administration, and as a result, I can never log in. What I must use instead, is passkey. The passkey login works fine through my default browser, which is Vivaldi. How can I rely on Vivaldi to log in my VPN connection?

How to upgrade Ubuntu machine from another machine which is already upgraded? from Ubuntu 18.04 to 22.04 or higher https://askubuntu.com/questions/1568018/how-to-upgrade-ubuntu-machine-from-another-machine-which-is-already-upgraded-fr

I have atleast 1000 ubuntu servers running 18.04 with LTS support, Now i need to plan a phase wise approach to move from 18.04 to 22.04 and later plan for 24.x.

Manually updating each server takes a huge amount of time and the intended downtime associated with downloading of the packages and updating each library, kernel.....etc.

Can we replicate the upgrade packages that have been already used to upgrade lets say Server-1 and use it as a copy server to replicate across all other ubuntu servers, this saves a lot of time and bandwidth.

Regards,

Ubuntu user

Ubuntu 24.04 partition constantly disappears from Dual Boot (Dual SSD Setup) https://askubuntu.com/questions/1568017/ubuntu-24-04-partition-constantly-disappears-from-dual-boot-dual-ssd-setup

I have a dual boot setup with Ubuntu 24.04 and Windows 11, where each operating system is installed on its own dedicated SSD.

The issue is that after some time, GRUB completely disappears, and the computer boots straight into Windows 11. When I check the BIOS/UEFI settings, the Ubuntu partition/boot option is simply gone.

I can only get GRUB back by physically removing the Windows SSD and leaving only the Ubuntu SSD installed. After doing this and reconnecting both drives, everything goes back to "normal" for a while (though I notice that the Windows system clock gets completely messed up). However, after a short period, the Ubuntu partition disappears from the boot options all over again.

I have already tried several troubleshooting steps, including reinstalling and reconfiguring GRUB, but nothing seems to permanently fix the issue.

My hardware specs:

Motherboard: ASUS ROG Strix Z790-F Gaming WiFi  

NVMe 1: Windows 11  

NVMe 2: Ubuntu 24.04

Some relevant info...

When I list the disks and partitions in Linux, this is the output:

nvme1n1
                                                                            
├─nvme1n1p1
│    vfat   FAT32       1D01-94D5                                 1G     1% /boot/efi
└─nvme1n1p2
     ext4   1.0         77b47b1a-9096-47aa-9cfa-2ea0afc17342    3,4T     1% /
nvme0n1
                                                                            
├─nvme0n1p1
│    vfat   FAT32       88DB-682F                                           
├─nvme0n1p2
│                                                                           
├─nvme0n1p3
│    ntfs               008EE9158EE903CE                                    
└─nvme0n1p4
     ntfs               7E8640B086406B2B                                    

When I list the UEFI boot entries, this is the output:

BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0002,0003,0004
Boot0001* ubuntu    HD(1,GPT,5491ef32-02ba-4fe0-952f-11fce6e2e1ca,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi) File(.)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 32 ef 91 54 ba 02 e0 4f 95 2f 11 fc e6 e2 e1 ca 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot0002* UEFI:CD/DVD Drive BBS(129,,0x0)
      dp: 05 01 09 00 81 00 00 00 00 / 7f ff 04 00
Boot0003* UEFI:Removable Device BBS(130,,0x0)
      dp: 05 01 09 00 82 00 00 00 00 / 7f ff 04 00
Boot0004* UEFI:Network Device   BBS(131,,0x0)
      dp: 05 01 09 00 83 00 00 00 00 / 7f ff 04 00

This is the GRUB configuration:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

When I run sudo os-prober, this is the output:

/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

Kernel and system:

Ubuntu 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

In the BIOS, Ubuntu has completely vanished from the boot menu. In Windows, there is no clue about the Ubuntu partition either. I checked it using bcdedit /enum firmware, and the output is below:

C:\Windows\System32>bcdedit /enum firmware

Firmware Boot Manager

identifier {fwbootmgr} displayorder {bootmgr} timeout 1

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume1
path                    \EFI\Microsoft\Boot\bootmgfw.efi
description             Windows Boot Manager
locale                  pt-BR
inherit                 {globalsettings}
default                 {current}
resumeobject            {6d4c7900-0d9d-11f0-9c98-ca7b141ae062}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Any help or insights on how to prevent Windows or the BIOS from dropping the Ubuntu boot entry would be greatly appreciated!

I keep getting this… I have dull Linux and window [closed] https://askubuntu.com/questions/1568016/i-keep-getting-this-i-have-dull-linux-and-window

I tried to remove Ubuntu from window and install new Linux but the garb always pop out I think my file are still safe on window 10

How do I run an AppImage from the terminal to troubleshoot why it doesn't run from file manager? [duplicate] https://askubuntu.com/questions/1568015/how-do-i-run-an-appimage-from-the-terminal-to-troubleshoot-why-it-doesnt-run-fr

I tried downloading Tuta AppImage but it doesn't run when I try to run it from file manager. I right click on the file and enabled running the file as an executable, and it still does not run. I intent to troubleshoot why it does not run, and it requires me to run it from the terminal so it will show me where it goes wrong. How do I run the AppImage file from the terminal?

Has anything changed since 12.02 to 24.04/26.04 that means I wouldn't have to install anything to share files between computers? https://askubuntu.com/questions/1568014/has-anything-changed-since-12-02-to-24-04-26-04-that-means-i-wouldnt-have-to-in

Was looking up how to share my files between my two Ubuntu computers.

Found this question: How do I set up file sharing between two Ubuntu laptops on my wireless network?

But that's for 12.04. Very old. I have 24.04 and 26.04 LTS straight from the Ubuntu website.

Presuming the 12.04 was the most direct one as well, most minimal install the iso allows etc, do I still need to install openssh-server or anything, to move files over the network?

My screen no longer displays https://askubuntu.com/questions/1568013/my-screen-no-longer-displays

I am running Ubuntu 24.04. I was just using my laptop normally, and then suddenly the entire screen went dark. I realized that things were still happening in the background, and if i plug my laptop into a different display i can still see everything, and i can barely make out whats on the laptop screen by shining a flashlight on it. I have tried to enter recovery mode but i cannot see any of the menus since the my laptop doesn't put it on the separate display. What do i do?

Can not change screen resolution/refresh rate even after installing amd gpu drivers on ubuntu 24.04 https://askubuntu.com/questions/1568012/can-not-change-screen-resolution-refresh-rate-even-after-installing-amd-gpu-driv

Hi I installed amd graphics drivers on ubuntu 24.04 but when i go to settings -> Screen Display I still can not change the resolution. My monitor is 4K with 165 Hz, but it currently shows 3440x1400 and I can not change it.

amdgpu-install --usecase=graphics

enter image description here

Kubuntu 24.04 has no audio https://askubuntu.com/questions/1568010/kubuntu-24-04-has-no-audio

My PC has no audio. I use Kubuntu 24.04 and KDE Plasma 5.27.12. I know nothing about computers. My monitor is a HQ 19.5". Apparently it has no audio output, but the audio also doesn't work if I try and connect earphones. I get audio only when I connect my CPU to the TV in the living room. Should I buy a new monitor?

Specifications:

   OS: Kubuntu 24.04
   KDE Plasma Version: 5.27.12
   KDE Frameworks Version: 5.115.0
   Qt version: 5.15.13
   Kernel version: 6.17.0-35-generic (64-bit)
   Graphics platform: X11
   Processors: 4 × AMD Ryzen 3 2200G with Radeon Vega Graphics
   Memory: 5.7 GiB of RAM
   Graphics processor: AMD Radeon Vega 8 Graphics

The audio system shows 2 outputs (HDMI and Pro Audio) which I can select with or without earphones connected, and I tested both with the earphones connected and there was no audio. I connected the earphones through the top and back connectors, and I tested with both outputs listed above. In the past I also tried connecting speakers to it, but it still had no audio.

Setting permissions for USB ports https://askubuntu.com/questions/1568006/setting-permissions-for-usb-ports

I use Inkscape to run a vinyl cutter. Every time I try to use the cutter I have to change permissions using:

sudo chmod a+rw /dev/ttyUSB0

I believe there should be a way to set up permissions, possibly using groups, so that the permission is remembered and does not have to be changed every session. However, the information I have been able to find online seems to me to contradictory and confusing. I am wary of making changes without clear instructions as I am concerned about breaking other permissions.

When I run lsusb the entry for the cutter is:

Bus 001 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC

I am using Ubuntu 24.04. I am the only user.

Is anyone able to help me with simple step by step instructions please? Any help is much appreciated, but needs to be simple as use Ubuntu as a means to an end.

Ubuntu 26.04 Random reboots on my laptop https://askubuntu.com/questions/1568004/ubuntu-26-04-random-reboots-on-my-laptop

For a couple weeks now, I've been experiencing random reboots on my laptop.

They happen once or twice a day or not at all, either while in use (black screen), from suspend, or at boot (-> GRUB-menu). All I do at the laptop is write texts and ocassionally game.

From my logs, these "Previous system reset reason" messages jump out at me:

  • internal CPU shutdown event occured - Coincides with reboot times, except at boot.
  • software wrote 0x6 to reset control register 0xCF9 - Too many, but a few coincide with at boot.
  • ACPI power state transition occurred - Rare, possibly unrelated.

See sample logs HERE and HERE. (Some things are redacted.) Also, see my CPU information HERE.

Architecture:                x86_64
  CPU op-mode(s):            32-bit, 64-bit
  Address sizes:             44 bits physical, 48 bits virtual
  Byte Order:                Little Endian
CPU(s):                      8
  On-line CPU(s) list:       0-7
Vendor ID:                   AuthenticAMD
  Model name:                AMD Ryzen 3 7320U with Radeon Graphics
    CPU family:              23
    Model:                   160
    Thread(s) per core:      2
    Core(s) per socket:      4
    Socket(s):               1
    Stepping:                0
    Frequency boost:         enabled
    CPU(s) scaling MHz:      37%
    CPU max MHz:             4151.7300
    CPU min MHz:             425.1780
    BogoMIPS:                4791.29
    Flags:                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pg
                             e mca cmov pat pse36 clflush mmx fxsr sse sse2 ht s
                             yscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constan
                             t_tsc rep_good nopl xtopology nonstop_tsc cpuid ext
                             d_apicid aperfmperf rapl pni pclmulqdq monitor ssse
                             3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xs
                             ave avx f16c rdrand lahf_lm cmp_legacy svm extapic 
                             cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw
                              ibs skinit wdt tce topoext perfctr_core perfctr_nb
                              bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_psta
                             te ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 a
                             vx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt 
                             clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_occ
                             up_llc cqm_mbm_total cqm_mbm_local clzero irperf xs
                             aveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock
                              nrip_save tsc_scale vmcb_clean flushbyasid decodea
                             ssists pausefilter pfthreshold avic v_vmsave_vmload
                              vgif v_spec_ctrl umip rdpid overflow_recov succor 
                             smca sev sev_es
Virtualization features:     
  Virtualization:            AMD-V
Caches (sum of all):         
  L1d:                       128 KiB (4 instances)
  L1i:                       128 KiB (4 instances)
  L2:                        2 MiB (4 instances)
  L3:                        4 MiB (1 instance)
NUMA:                        
  NUMA node(s):              1
  NUMA node0 CPU(s):         0-7
Vulnerabilities:             
  Gather data sampling:      Not affected
  Ghostwrite:                Not affected
  Indirect target selection: Not affected
  Itlb multihit:             Not affected
  L1tf:                      Not affected
  Mds:                       Not affected
  Meltdown:                  Not affected
  Mmio stale data:           Not affected
  Old microcode:             Not affected
  Reg file data sampling:    Not affected
  Retbleed:                  Mitigation; untrained return thunk; SMT enabled wit
                             h STIBP protection
  Spec rstack overflow:      Mitigation; Safe RET
  Spec store bypass:         Mitigation; Speculative Store Bypass disabled via p
                             rctl
  Spectre v1:                Mitigation; usercopy/swapgs barriers and __user poi
                             nter sanitization
  Spectre v2:                Mitigation; Retpolines; IBPB conditional; STIBP alw
                             ays-on; RSB filling; PBRSB-eIBRS Not affected; BHI 
                             Not affected
  Srbds:                     Not affected
  Tsa:                       Not affected
  Tsx async abort:           Not affected
  Vmscape:                   Mitigation; IBPB before exit to userspace

Since upgrading to Ubuntu 26.04, I've had Linux kernel panics at boot once in a blue moon. Could this be relevant?

The only software I've installed within these last few weeks are VSCodium and .NET SDK.

For VSCodium:

  1. snap install codium --classic
  2. "Getting all telemetry out"
  3. Installed muhammadsammy's C# plugin through VSCodium
  4. Installed .NET SDK (see later)
  5. Uninstall everything (wasn't happy)
    • Including sudo rm /usr/local/bin/dotnet (again, see later)

For .NET SDK:

  1. sudo snap install dotnet-sdk --classic (or dotnet-sdk-100 when installing VSCodium)
  2. sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet (for dot-net-100)
  3. Added to ~.profile:
    • export DOTNET_CLI_TELEMETRY_OPTOUT=true
    • export DOTNET_ROOT=/snap/dotnet-sdk/current

What I've tried:

  • Disabling Fast Boot, makes no difference?
  • Running MyAsus System Diagnostics, all OK
  • Keeping tabs on systemctl timers, not correlated

What I haven't tried:

  • Running memtest
  • Fresh reinstall
  • Changing other BIOS/UEFI settings

Update 1: BIOS update

As suggested by ChanganAuto, I updated the BIOS. I followed the instructions from both "BIOS Update" and my laptop vendor's:

  1. Back up my stuff plus /boot/efi/EFI
  2. Download the official BIOS file (flash) for my device
  3. Unzip the file, then move its content to /boot/efi/EFI
  4. Use ASUS Firmware Update from ASUS in UEFI on the file

Will update if the issue still persists.

No journal files found during installation of 26.04 LTS https://askubuntu.com/questions/1567999/no-journal-files-found-during-installation-of-26-04-lts

First, thanks for the feedback. I'm embarrassed because IRL, I used to do QA.

I'm trying to install Ubuntu 26.04 LTS Desktop to an external SanDisk 4 TB SSD drive from a usb microsd card reader with a 28 GB card in it.

I get the "Something went wrong" screen. This happens with two different computers.

When I click the "Show Log" button, the only message that is displayed is "No journal files were found."

This is very reproducible.

I've also tried it with a PNY 128 GB flash drive. This installation got further but encountered an error during installation.

The download checksum verified successfully.

Is there any way to verify the installation media?

"terminal could not be launched" error message https://askubuntu.com/questions/1567992/terminal-could-not-be-launched-error-message

I wanted to install zsh on my terminal to customise it. But after running this command: chsh -s $(which zsh). I have encountered an error message or a pop-up window that looks like this: err-window

Any solutions for this?

How do I exit the console? The commands Ctrl+Alt+Fx dont work https://askubuntu.com/questions/1567979/how-do-i-exit-the-console-the-commands-ctrlaltfx-dont-work

How I got there: I don't have a precise idea, I think it is a problem with updates. First I had problem with Alsa mixer. My sound didnt work when I wanted to watch a video. Each time I needed to reload alsa for the computer to emit sound. After I have some updates to do, the computer would shut down and I had to turn it back on, but no update was installed and it asked again every time I turned on the PC. This must have been going on for about two months. 5days ago it shut down and I can no longer exit the console screen when I turn on the PC. I can log in.

I'm a noob on Ubuntu, I don't understand and know a lot and how it works so I searched but found nothing to help me.

I want to return to the graphic screen, I think my data is dead but I would prefer to keep it if possible.

I am currently stuck on the console or tty screen. So I tried many commands to exit:

  • CTRL + ALT + Fx

    (where x is between 1 to 12) it should work but no, I just change of screen but I don't quit.

  • startx

    but that just gave an error:

Oh shoot ! Something went wrong. A problem has occurred and the system cannot recover. Log out and try again.

It doesn't work. Then:

X.Org X Server 1.21.1.11 
X Protocol Version 11, Revision 0
Current Operating System: Linux \[*PC characteristics, huge numbers and hour*\]
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.17.0-23-generic root=UUID=8badbb6b-ce79-499b-adc6-9c18032b1f7 ro quiet splash vt.handoff=7
xorg-server 2.21.1.12-1ubuntu1.5 (For tecjnical support please see https://www.ubuntu.com/support) 
Current version of pixman: 0.42.2
Markers: (--) probeb, (\*\*) from config files, (II) informational, (WW) warning, (==) default setting, *this is an explanation for what follows, I don't wrote everything.*
(==) Log files: "/home/scrat/.local/share/worg/Xorg.0.log", Time: Fri Jun 26 00:55:06 2026
(==) Using system co.fig directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down (II) Server terminated successfully (0). Closing log.file.Errors from xkbcomp are not fatal to the X serverxinit: connection to X server

I didn't find their contact. I have an Ubuntu account.

  • CTRL + ALT + FN + F3

    there is just a black screen now. I shut down with the button and it says

[       73.838956] snd_soc_avs 0000:00:0e.0: invalid firmware data:    -22

[       73.838970] snd_soc_avs 0000:00:0e.0: firmware boot failed: -22

[       73.838975] snd_soc_avs 0000:00:0e.0: PM: dpm_run_callback(): pci_pm_resume returns -22

[       73.838990] snd_soc_avs 0000:00:0e.0: PM: failed to resume: error -22

[       73.890626] ish-hid {33AECD58-B679-4E54-9BD9-AO4D34FORD34FOC226}: wait for resume timed out

Thank you

ls -l prints extra spaces after upgrade to Ubuntu 26.04 LTS https://askubuntu.com/questions/1567218/ls-l-prints-extra-spaces-after-upgrade-to-ubuntu-26-04-lts

After I've upgraded from Ubuntu 24.04 to 26.04, the ls -l command behaves strangely.

I have a folder that is sync'ed with Dropbox, and files in that folder automatically get the extra attribute user.com.dropbox.attrs.

When I do a "ls -l" in a Dropbox folder, the output is something like this:

-rw-r--r--+                            1 user group      574 Nov 24  2008 z.txt

with a lot of extra spaces after the '+', which indicates that additional attributes are present.

Strangely, the number of extra spaces depends on the number of files in the listing.

This is quite annoying. Why does ls behave in this way, and how do I avoid it?

EDIT

As requested, here is a complete output from a directory using ls -l:

total 0
-rw-rw-r--+         1 user group 0 May 27 10:44 q1
-rw-rw-r--+         1 user group 0 May 27 10:44 q2
-rw-rw-r--+         1 user group 0 May 27 10:44 q3
-rw-rw-r--+         1 user group 0 May 27 10:44 q4
-rw-rw-r--+         1 user group 0 May 27 10:44 q5
-rw-rw-r--+         1 user group 0 May 27 10:44 q6
-rw-rw-r--+         1 user group 0 May 27 10:44 q7
-rw-rw-r--+         1 user group 0 May 27 10:44 q8
-rw-rw-r--+         1 user group 0 May 27 10:44 q9

And the same directory listed with gnuls -l:

total 0
-rw-rw-r-- 1 user group 0 May 27 10:44 q1
-rw-rw-r-- 1 user group 0 May 27 10:44 q2
-rw-rw-r-- 1 user group 0 May 27 10:44 q3
-rw-rw-r-- 1 user group 0 May 27 10:44 q4
-rw-rw-r-- 1 user group 0 May 27 10:44 q5
-rw-rw-r-- 1 user group 0 May 27 10:44 q6
-rw-rw-r-- 1 user group 0 May 27 10:44 q7
-rw-rw-r-- 1 user group 0 May 27 10:44 q8
-rw-rw-r-- 1 user group 0 May 27 10:44 q9

Furthermore, if I do a ls -l q[1234], I get this:

-rw-rw-r--+    1 user group 0 May 27 10:44 q1
-rw-rw-r--+    1 user group 0 May 27 10:44 q2
-rw-rw-r--+    1 user group 0 May 27 10:44 q3
-rw-rw-r--+    1 user group 0 May 27 10:44 q4

Note that the number of spaces is smaller when the number of listed files is smaller.

(user and group have been replaced for privacy.)

How do you make window tiling work in Xubuntu 26.04? https://askubuntu.com/questions/1566139/how-do-you-make-window-tiling-work-in-xubuntu-26-04

The default Super + something keyboard shortcuts don't work on my live session and even if I try to change it to some other shortcut key combination even not containing Super key, I can't get it work. No Super key combinations work in Window Manager settings, but some work in Keyboard settings. And Whisker Menu can be started by mere Super key release. Resetting to defaults didn't help.

Can I install Ubuntu as the only OS on a new Windows 11 pc without first setting up Windows? https://askubuntu.com/questions/1510439/can-i-install-ubuntu-as-the-only-os-on-a-new-windows-11-pc-without-first-setting

I have bought a cheap new PC which I hope to put Ubuntu 24.04 or an official flavor as a sole operating system. The PC is an Acer XC-840 manufactured in September 2022 and still in box unused. Spec Intel N4505 processor ,4GB DDr4 Ram, 256 GB SSD , Intel UHD graphics , Bios R01-A2 . Hopefully this is able to run Ubuntu . I have never installed on other than very old computers and would like to know what I need to do to avoid failure . Do I need to run Windows first or can I Boot from a USB with Ubuntu ISO on and just select install using whole drive without disabling secure boot or making other changes beforehand ? As is probably obvious I am very much a beginner with Linux and would appreciate any available guidance.

Cannot create a virtual enviroment with Python 3.8.10 on Ubuntu 20.04 https://askubuntu.com/questions/1417084/cannot-create-a-virtual-enviroment-with-python-3-8-10-on-ubuntu-20-04

When I type the command sudo python3 -m venv venv001 I get this error:

The virtual environment was not created successfully because ensurepip is not available.  On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

    apt install python3.8-venv

You may need to use sudo with that command.  After installing the python3-venv package, recreate your virtual environment.

Failing command: ['/home/mike/venv001/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

so, I try sudo apt install python3.8-env and get the error message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3.8-venv : Depends: python3.8 (= 3.8.2-1ubuntu1) but 3.8.10-0ubuntu1~20.04 is to be installed
E: Unable to correct problems, you have held broken packages.

I've tried a couple of the sudo apt install -f, or --fix- commands, but still can't seem to recover from these errors.

Libre Office Calc, search history missing https://askubuntu.com/questions/1410724/libre-office-calc-search-history-missing

Ubuntu 20.04, Libre Office 6.4.7.2

Ubuntu 22.04, Libre Office 7.3.3.2

Kubuntu 24.04, Libre Office 24.2.7.2

Libre Office Calc : With ctrl-f I will get the "search Box", type in something for search a.s.o.. Next string to search a.s.o.. In former Versions of Libre Office, there were always a "search string history" present (arrow down next to the box), but now the pull down box is always empty.

Is there any configuration possible to get the "search string history" as in former SW versions ?

Perhaps I have found a reason but not a way to turn off.

Is it possible to make it independent : The LibreOffice calc "search Box" and the linux clipboard ?

Reset System Loop https://askubuntu.com/questions/1393697/reset-system-loop

after a reboot my Acer Laptop is stuck on a boot loop, in the upper left corner also appear the message "Reset System", I tried reinstalling ubuntu but this didn't solve the problem. I used boot-repair and pasted the log here:

https://paste.ubuntu.com/p/n8x8SBwpS9/

What can I do? Thank you in advance

File manager in Ubuntu 20.04 not showing thumbnails https://askubuntu.com/questions/1304654/file-manager-in-ubuntu-20-04-not-showing-thumbnails

The file manager that came with my installation ("Simple file manager for Gnome") doesn't show thumbnails for jpg, png, and videos. I've gone to /Preferences/Search & Preview and made sure it's set to always show thumbnails but it doesn't. How can I fix this?

Monitor always starts zoomed in a little https://askubuntu.com/questions/1228635/monitor-always-starts-zoomed-in-a-little

Whenever I boot up, my monitor's settings are always zoomed in about at 10, out of a scale of 0-100.

It also happens if I turn my monitor off and on again.

If I change my Display settings to rotate my screen orientation from Landscape to Portrait and back, but not Landscape to Flipped Landscape and back.

And changing the Scale in the Display Settings menu doesn't mess up the Zoom again, either.

I have a Dell SP2208WFP, and my Monitors.xml looks like:

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>0</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-A-1</connector>
          <vendor>DEL</vendor>
          <product>SP2208WFP</product>
          <serial>RR268831CT0U</serial>
        </monitorspec>
        <mode>
          <width>1680</width>
          <height>1050</height>
          <rate>59.954250335693359</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

...

And now, Scale is reset to 1... Because I exited a fullscreen app or something??

...

It even happens in Recovery Mode, when I don't have a DISPLAY variable set.

...

But, it doesn't seem to happen if I connect through the screwy connection cables instead of HDMI...


Never mind. Updating might not have fixed it. I will have to test later. I was confused about what output I was using.

From a remote SSH session, how can I get the screen resolution of the physically connected monitor? https://askubuntu.com/questions/1077581/from-a-remote-ssh-session-how-can-i-get-the-screen-resolution-of-the-physically

I'm running Ubuntu 18.04.1 LTS Desktop.

I'm connecting to the desktop via remote SSH session.

I'm trying to get the current resolution for the currently active local session.

I found these seemingly relevant questions:

However, xdpyinfo returns the following error:

xdpyinfo:  unable to open display "".

and xrandr returns a similar error:

Can't open display

I'm assuming this is because there is no display connected to my remote SSH session. I've tried switching (su) to the same user as the local session, but the error is the same - I assume for the same reason: no display related to that SSH session.

So, I tried the suggestions from my third link above.

$ export DISPLAY=:0
$ xdpyinfo
No protocol specified
xdpyinfo:  unable to open display ":0"

and

$ xrandr --display :0
No protocol specified
Can't open display :0

How can I poll the display on the active local session for resolution (dimension) info from a remote SSH session?

VSFTPD file permission help for a newbie https://askubuntu.com/questions/802899/vsftpd-file-permission-help-for-a-newbie

I'm putting together a VPS to host a game server for me and a few friends that is running Ubuntu 16.04 server edition. Right now I'm trying to configure VSFTPD to allow us to upload any files we need to the game directory and this is where I'm running into issues. I created a user named "steam" and installed the steamcmd and game into its home directory (which is all I need access to). I can connect via FTP and log in as "steam" and upload files but when I connect to the server via SSH and log in as "steam" locally my local account doesn't have access to any of the files I've uploaded. Unfortunately this is my first server I've ever tried to configure so I'm having trouble wading through all this. I've tried googling but either the problem doesn't match or it talks about something I don't understand. The closest I've come to a solution is:

Q) Help! Uploaded files are appearing with permissions -rw-------.

A1) Depending on if this is an upload by a local user or an anonymous user, use "local_umask" or "anon_umask" to change this. For example, use "anon_umask=022" to give anonymously uploaded files permissions -rw-r--r--. Note that the "0" before the "22" is important.

A2) Also see the vsftpd.conf.5 man page for the new "file_open_mode" parameter.

but I don't understand what I need to change. There is no VSFTPD.conf.5 anywhere I know. I included my conf file. All I want to do is be able to log into FTP as my local account so me and my friends can upload mission files but I don't want that account to have root access so they can't break the server.

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=NO
#
# This directive enables listening on IPv6 sockets. By default, listening
# on the IPv6 "any" address (::) will accept connections from both IPv6
# and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
# sockets. If you want that (perhaps because you want to listen on specific
# addresses) then you must run two copies of vsftpd with two configuration
# files.
listen_ipv6=YES
#
# Allow anonymous FTP? (Disabled by default).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# If enabled, vsftpd will display directory listings with the time
# in  your  local  time  zone.  The default is to display GMT. The
# times returned by the MDTM FTP command are also affected by this
# option.
use_localtime=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories.  See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
#chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
# the user does not have write access to the top level directory within the
# chroot)
#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
# Customization
#
# Some of vsftpd's settings don't fit the filesystem layout by
# default.
#
# This option should be the name of a directory which is empty.  Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd/empty
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO

#
# Uncomment this to indicate that vsftpd use a utf8 filesystem.
#utf8_filesystem=YES
Enable ZFS ZED Email Notifications on 16.04 https://askubuntu.com/questions/770540/enable-zfs-zed-email-notifications-on-16-04

As ZFS is now officially supported in Ubuntu 16.04, I would like to enable email notifications for my ZFS pool. Below are the steps I have taken so far, however I am now currently stuck:

  • Installed msmtp and set it up to work with an external gmail account successfully.
  • Uncommented and configured /etc/zfs/zed.d/zed.rc
  • Set ZED_NOTIFY_VERBOSE=1
  • Ran zpool scrub expecting to receive a notification of the clean scrub, no email is sent

This is the only post that I can find relating to ZFS/ZED configuration, however I was unable to get it to work: http://louwrentius.com/the-zfs-event-daemon-on-linux.html


Update: Both responses from Mumblepins and Martin led to the fix. Below are the full steps needed to get this to work:

  • Install msmtp and set it up to work with an external email account (gmail or whatever)
  • Install s-nail and msmtp-mta packages to map msmtp to the mail command
  • Uncomment and configure /etc/zfs/zed.d/zed.rc (keeping ZED_EMAIL_PROG="mail")
  • systemctl enable zed
YouTube Videos Stopped Streaming https://askubuntu.com/questions/305324/youtube-videos-stopped-streaming

I have been dealing with this problem for a couple of days but couldn't find a solution. I've posted on a forum before but nobody answered. Any help?

A couple of days ago a problem started to occur. I can't watch YouTube videos anymore. When I open a video, the animation goes on and on... until the message "an error has occurred". Very very very rarely sometimes a video loads. (Today it never happened, yesterday only once)

Like I said, a couple of days ago it was all working. I didn't do any updates. After this problem, I've installed every update, didn't solve the problem.

It is not browser specific, Google Chrome, Chromium, Firefox, Opera... All have the same problem. It is YouTube specific, I can watch videos on Facebook (not loaded through YouTube) and vimeo and more. I have reinstalled the flash-plugin, didn't solve. (Yet it is not about flash) It is not about my network, using the same network, Windows Laptop, iPhone, Android Tablet all load v

Ubuntu 12.04 LTS 32 Bit

$ uname -a
Linux marvin 3.2.0-45-generic-pae #70-Ubuntu SMP Wed May 29 20:31:05 UTC 2013 i686 i686 i386 GNU/Linux

$ dpkg -l |grep "chrome\|firefox\|opera\|chromium\|flash"
ii adobe-flash-properties-gtk 11.2.202.285-0precise1 GTK+ control panel for Adobe Flash Player plugin version 11
ii adobe-flashplugin 11.2.202.285-0precise1 Adobe Flash Player plugin version 11
ii chromium-browser 25.0.1364.160-0ubuntu0.12.04.1 Chromium browser
ii chromium-browser-l10n 25.0.1364.160-0ubuntu0.12.04.1 chromium-browser language packages
ii chromium-codecs-ffmpeg 25.0.1364.160-0ubuntu0.12.04.1 Free ffmpeg codecs for the Chromium Browser
ii eject 2.1.5+deb1+cvs20081104-9 ejects CDs and operates CD-Changers under Linux
ii firefox 21.0+build2-0ubuntu0.12.04.3 Safe and easy web browser from Mozilla
ii firefox-globalmenu 21.0+build2-0ubuntu0.12.04.3 Safe and easy web browser from Mozilla - Unity menubar integration
ii firefox-gnome-support 21.0+build2-0ubuntu0.12.04.3 Safe and easy web browser from Mozilla - GNOME support
ii firefox-locale-en 21.0+build2-0ubuntu0.12.04.3 English language pack for Firefox
ii google-chrome-stable 27.0.1453.110-r202711 The web browser from Google
ii libcrypt-passwdmd5-perl 1.3-10 interoperable MD5-based crypt() for perl
ii opera 12.15.1748 Fast and secure web browser and Internet suite
ii xserver-xorg-video-openchrome 1:0.2.904+svn1050-1 X.Org X server -- VIA display driver

Any suggestions? Sorry if it is a repost, it's hard to find this problem in the dozens of "restricted-extras not installed" problems...