I get the OhNo screen when I do startx https://askubuntu.com/questions/1559989/i-get-the-ohno-screen-when-i-do-startx

I found out a way to uninstall my terminal, so when I tried to reinstall it, I was able to, but I can no longer get back to the login page. When I do startx, it brings me to the Oh No page. I have the latest version as well.

Unable to start X server after uninstalling i3 git version https://askubuntu.com/questions/1559988/unable-to-start-x-server-after-uninstalling-i3-git-version

I recently tried to manually compile and install i3 with the ninja -C build install command, but after trying to run with gdm it crashed.

After that I uninstalled it with ninja -C build uninstall and now I cannot run any X11 desktop, not even GNOME, which I haven't touched.

I have tried to reconfigure the xserver-xorg package with dpkg, but it still doesn't work.

When I run startx from tty3, I get the following error:

xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)

Security update -- Do I REALLY need to reinstall all my drivers? https://askubuntu.com/questions/1559987/security-update-do-i-really-need-to-reinstall-all-my-drivers

Today, my computer would not turn on. I opened her up, took out the RAM, blew on it, and stuck it back in. This caused my computer to turn on, but in the wrong resolution, and with no access to its WIFI adapter.

After some Terminal-fu, I discovered that the driver for the wifi adapter had disappeared. After some more searching, I discovered that the package that manages drivers was absent.

I believe this is due to the recent security update for version 24.04 LTS. The web page indeed says I will need to reinstall all my third party drivers due to the version name change.

Warning about reinstalling drivers

Do I REALLY have to do this myself? Can I revert to the previous version for a few days, and then go back to the newest version which will have the relevant drivers installed?

Failing that, is there a good way to search for everything that needs new drivers and installs them al at once?

Why nmtui does not provide wifi priority setting https://askubuntu.com/questions/1559984/why-nmtui-does-not-provide-wifi-priority-setting

I'm running Ubuntu on a laptop. I sometimes run it on different known wifi. How come we can not set wifi priority in nmtui? I had to do it with nmcli. Will option be added to mntui?

Restoring a formatted LUKS partition https://askubuntu.com/questions/1559983/restoring-a-formatted-luks-partition

Problem Description

I accidentally reformatted a drive partition that is encrypted using the standard Ubuntu encryption. The affected partition was incorrectly formatted as NTFS. I did not perform any overwrites when formatting the disk.

Steps I have taken:

  1. Boot using a Ubuntu live USB and mount the drive with the disk encryption password. However, I am not able view the files via the Files app. Screenshot of the partitions, before running testdisk. The bad partition is indicated by BKP

  2. I tried running testdisk, and was able to find the headers for the partition. After updating the table, I am no longer able to mount the drive. Screenshot of the partitions, after running testdisk

The question

How can I go about restoring the data on the partition? I'd like to take the simplest and most robust approach to recover the data on the drive.

External monitor has no picture under Ubuntu https://askubuntu.com/questions/1559982/external-monitor-has-no-picture-under-ubuntu

I'm running Ubuntu 24 LTS on a 2017 27" imac, which generally works great, except for sound and webcam. I'm trying to connect an other Imac, that has been converted to a monitor using a R1811 V.4 driver board:https://stonetaskin.com/products/5k-universal-hd-driver-board-type-c-hdr-freesync-edp-vbo-4k-144hz-dp1-4-lcd-driver-board-for-lm270qq1-support-macbook-pro-m1?variant=43721140207770 which supports up to 5K. I'm running it using a thunderbolt/dp cable through the usbc port, but I get no picture on the monitor. Ubuntu detects the monitor as a Stargate Technology 27" display, and shows display resolutions from 800x600 to 5120x2880 and a refreshrate of 59.98 hz, but regardless of which resolution I choose, I get no picture on the display. There is light in the display, and it seems, that Ubuntu extends the desktop into the other display, just no picture.

I also have a Dell 27" 4k monitor, which works fine using Ubuntu.

What am I doing wrong, and how can I get the driverboard to work under Ubuntu? I do not need 5K resolution, 4K is fine and actually preferable.

PS: Initially I'd like to get the monitor to work using this connection, even though the driverboard has other connection ports, because the driverboard is built into the converted imac and if I have to change the port, I have to take the monitor apart.

Ubuntu does not see any displays https://askubuntu.com/questions/1559981/ubuntu-does-not-see-any-displays

Recently I ran into some issues with my Ubuntu installation. I think I resolved most of the issues, but somewhere along the way, Ubuntu stopped being able to see my displays. (I was getting stuck at the Ubuntu logo screen. I updated some stuff, messed up an upgrade from 22.04 to 24.04, fixed that from a live USB. Though I am about 90% sure that the issues with the monitor came earlier than that (not 100%, because I was away from my second monitor which was what made me realize something was wrong)).

The primary display of the Laptop is working, but I can't change its brightness or resolution, and my external monitor does not work at all. The brightness changing keys don't do anything, in settings under display, I can change scale and orientation, but the resolution tab is set with no dropdown.

When I tried booting from a live-usb, I can change the settings, and the second monitor is shown and works just fine. I don't have any dedicated graphics card.

I have: Ubuntu 24.04.3 LTS, AMD Ryzen™ 7 7840U w/ Radeon™ 780M Graphics × 16

xrandr outputs the following:

Screen 0: minimum 16 x 16, current 2256 x 1504, maximum 32767 x 32767
None-1 connected 2256x1504+0+0 (normal left inverted right x axis y axis) 596mm x 397mm
   2256x1504     59.93*+
   1920x1440     59.97  
   1600x1200     59.87  
   1440x1080     59.99 (...)

What could be the issue and how can I fix it?

After startup and typing the password I get a screen about a system mistake on my Xubuntu laptop https://askubuntu.com/questions/1559980/after-startup-and-typing-the-password-i-get-a-screen-about-a-system-mistake-on-m

After startup and typing the password I get a screen about a system mistake on my Xubuntu laptop. I can't see what mistake it is about. Where can I see it? And what to do further?

Wrong sha1 output https://askubuntu.com/questions/1559974/wrong-sha1-output

I downloaded xubuntu-25.10-desktop-amd64.iso torrent" from "https://xubuntu.org/download/"

Everytime I try to check the sha1 sum with the Terminal I get "b5a09f05e0e0aee8a340f944a5da54392a2e09df" which is not the sha1 "aa8a2f25763f0b165766690847bf732476490396" I expect. if i check it with the sha1 which is in "https://torrent.ubuntu.com/tracker_index".

My terminal input and output is:

none@none:~/Downloads$ sha1sum xubuntu-25.10-desktop-amd64.iso
b5a09f05e0e0aee8a340f944a5da54392a2e09df  xubuntu-25.10-desktop-amd64.iso

none@none:~/Downloads$ sha1sum xubuntu-25.10-desktop-amd64.iso.torrent
80a992c75753ce6b9fc1668d2f4088c9bffa8c8a  xubuntu-25.10-desktop-amd64.iso.torrent

none@none:~/Downloads$ sha1sum xubuntu-25.10-desktop-amd64.iso
b5a09f05e0e0aee8a340f944a5da54392a2e09df  xubuntu-25.10-desktop-amd64.iso

I try to downloaded the torrent again to check if there maybe is a problem via the download, but it seems the problem is somewhere else. Since i am a humble user and know that the Problem is most of the time in front of the PC I wanted to ask here before I panic.

Stick Ubuntu Install, Black Screen from GPU Driver compatibility. Sony Vaio VPCEE33FX AMD, Radeon 4400 https://askubuntu.com/questions/1559966/stick-ubuntu-install-black-screen-from-gpu-driver-compatibility-sony-vaio-vpce

First, I am brand new to all of this. Linux, Ubuntu, this forum. Consider me to be the most ignorant computer user outside of an 85 year old with an ipad.

Question: Using Ubuntu 24.04.3 LTS Desktop 64 bit architecture ISO file on a 16 gig USB drive. Reformatted FAT32 then using RUFUS 4.11.exe to image the drive as ISO image using FAT32.

Is there a way to load Ubuntu on to a Sony Vaio with dedicated graphics. Radeon 4400 on an AMD Chipset.
When I boot to external with install on my USB, it starts to load with "Welcome" and then it goes black. A bit of a brighter black then ensues and there is nothing.

It appears I might have an issue with the dedicated graphics driver (NOT THE CASE)

I couldn't find any forums that used this type of laptop or I can't understand what they want me to do.

So I could not see the initial install prompt screen and I couldn't make any changes. "Esc" "Right Shift" "E+F10, F12". Safe Mode restart. Bios is set for external. Computer has Windows 11 currently. Bios has an option to disable AMD Vision -enable / disable does not resolve. No other bios options for display or graphics card.

Going back to my bootable ISO file I have on my stick I tried different ways of using RUFUS 4.11 to image the bootable drive.

Answer: For this model Sony VPCEE31FX, you must use MBR partition scheme, Bios Target system, enable runtime UEFI Media validation and use a NTFS (Not FAT32) file system.

On the install screen for Ubuntu 24.4.3 Desktop - "Try Install" is available now and completed the installation process.

can't boot after system update https://askubuntu.com/questions/1559965/cant-boot-after-system-update

I'm running ubuntu 24.04 LTS on a Lenovo Thinkpad P16. I restarted after a system update (not sure what was updated) and can no longer access the main system.

I can access Lenovo diagnostics without an issue. No hardware issues are reported.

I can access the grub2 CLI but am unsure about what should be accomplished there. I can't access the grub menu. It flashes briefly then tosses me into the grub CLI

I've used a liveUSB to boot. The laptop's HD is there and available. Google searches yielded a possible fix: running grub-install. However, running that yields:

grub-install: error: cannot find EFI directory.

fdisk -l gives me 4 partitions.

/dev/sda1 -- 4.6G -- Microsoft Basic Data
/dev/sda2 -- 4.9M -- EFI Sytem
/dev/sda3 -- 300k -- Microsoft Basic Data
/dev/sda4 -- 10G -- Linux Filesystem

I followed the more detailed steps from this post (with the mount points updated for my system)

sudo -i
mount /dev/sda4 /mnt
mount /dev/sda2 /mnt/boot/efi
grub-install --boot-directory=/mnt/boot --bootloader-id=ubuntu  --target=x86_64-efi --efi-directory=/mnt/boot/efi  
reboot

but received a no space left on device error when trying to copy into the /mnt/boot/efi directory. (It is only 5M...)

I'd rather not reinstall. What is my best course of action?

ibus hangs regularly https://askubuntu.com/questions/1559953/ibus-hangs-regularly

I am on Xubuntu 25.10 but since version 22 or something like that I've had the same persistent problem throughout the upgrades. The input of the keypad just hangs at least once in one session. Only the mouse is available anymore. I can re-establish the keystroke input by right clicking the country-keyboard symbol in the taskbar (ibus) and restart the service. Then it works again. Why is this issue persistent? Any suggestions?

Thanks Greetings jd

Cannot wake from sleep since kernel 6.16 https://askubuntu.com/questions/1559900/cannot-wake-from-sleep-since-kernel-6-16

My problem :

  • When trying to wake from sleep, my screen stays black.
  • Not even the screen backlight turns on.
  • My keyboard does light up, and I can hear the fans running.
  • Trying to switch to TTYs does nothing.

History : I've been having troubles since Linux kernel 6.16. I was using Fedora, and tried several distro hoping to fix the issue, but to no avail. Googling for my problem gave me many suggestions, notably about graphics drivers, but nothing worked. The issues wasn't fixed by kernel 6.17.

Now, I'm on a fresh new install of Ubuntu 25.10. I didn't change anything from the defaults, and the problem persists. It was solved on 24.04-LTS, which uses kernel 6.14. I don't know where to go from now to have both a modern desktop and a working computer.

About my device :

# System Details Report
---

## Report details
- **Date generated:**                              2025-11-20 12:05:09

## Hardware Information:
- **Hardware Model:**                              Acer Swift SF314-57
- **Memory:**                                      8.0 GiB
- **Processor:**                                   Intel® Core™ i3-1005G1 × 4
- **Graphics:**                                    Intel® UHD Graphics (ICL GT1)
- **Disk Capacity:**                               256.1 GB

## Software Information:
- **Firmware Version:**                            V1.14
- **OS Name:**                                     Ubuntu 25.10
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               49
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.17.0-6-generic

Is there anything I can try? Are there any logs I could try and read to figure out what's happening?

[EDIT (nov. 21, 25): I found something on the Archforums that looks a lot like my issue. They say there that the ipu6 modules are to blame ; they do not seem to be installed on my device though. Not sure what i can try with that. They say their issue was fixed with kernel 6.17.7. I'm currently on Ubuntu's latest : 6.17.0-6-generic. Is there any way to switch kernel in Ubuntu ? I'd love to either switch back to 6.15 (even though it's EOL) or to 6.12 (the last LTS), while waiting for a fixed version.

How disable startup chime on MacBookPro11,1 with only Ubuntu installed? https://askubuntu.com/questions/1547931/how-disable-startup-chime-on-macbookpro11-1-with-only-ubuntu-installed

Installed Ubuntu 24.04 LTS on Macbookpro11,1. Startup chime was enabled in macOS Big Sur. Now I am stuck with load startup chime. How to disable it?

MediaTek MT7902 WiFi not working on Ubuntu 24.04 https://askubuntu.com/questions/1536725/mediatek-mt7902-wifi-not-working-on-ubuntu-24-04

I’m having trouble getting my MediaTek MT7902 WiFi card to work on Ubuntu 24.04 the last version of Ubuntu with kernel 6.8.0-51. The card works fine on Windows, but on Ubuntu, no networks are detected.

Details:

  1. The card shows up in lspci:

00:02.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7902]

  1. ip link output:

2: enx022376651f09: <BROADCAST,MULTICAST,UP> mtu 65536 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000

  1. Firmware (linux-firmware) is up to date.

  2. I loaded the mt76 driver (modprobe mt76), but it doesn’t seem to work.

  3. dmesg gives:

read kernel buffer failed: Operation not permitted

What I’ve tried:

  • Updated linux-firmware.
  • Loaded the mt76 module.
  • Restarted NetworkManager.
  • Unblocked WiFi using rfkill unblock all.

Question:

How can I get this WiFi card to work on Ubuntu? Do I need a specific driver, firmware, or kernel version?

Thanks for your help!

Sending NGINX logs to a remote syslog server https://askubuntu.com/questions/1469805/sending-nginx-logs-to-a-remote-syslog-server

How to write Nginx configuration on /etc/rsyslog.conf to forward Nginx logs to another server?

I write this configuration for rsyslog but I think it's not completely right:

enter image description here

Login screen on wrong monitor / display https://askubuntu.com/questions/1432412/login-screen-on-wrong-monitor-display

I connected Soundbar system to HDMI port (1), and I connected my monitor to Display Port (2). On windows I can mirror two outputs 3840x1600 and thanks to that have normal display on a monitor via display port and 5.1 audio on a sounbar (ignoring video). Ubuntu does not allow to mirror outputs at such high resolutions, and forces me to use side by side displays. But Yamaha soundbar is always detected as a first display, and my monitor is always detected as a 2nd display. I'm changing display settings to make 2nd monitor as a primary monitor, but it only works after login. While login the HDMI display is always treated as primary, and invisible because it is sound device :). How to force HDMI port to be always 2nd / 2ndary display? Or how to mirror 3840x1600 outputs in Ubuntu (Windows allows for it, both cables Display Port and HDMI port are capable of 8K output).

Ubuntu 20.04 LTS: bpfilter read fail: 0 when shutting down w/kernel 5.16.13 https://askubuntu.com/questions/1397886/ubuntu-20-04-lts-bpfilter-read-fail-0-when-shutting-down-w-kernel-5-16-13

Installed Ubuntu 20.04.3 LTS on an Acer Swift 3 notebook (model SF314-42-R6T7). With the included 5.13.0-30 and also the newer 5.13.0-35 generic kernels, Suspend did not work correctly. Machine would Suspend with a press of the power button, but there was a long delay - up to a minute or so - for the machine to wake up after pressing the power button again.

I installed a newer kernel, 5.16.13 and now Suspend works as expected (except when closing the lid with an external monitor connected, but that's for another thread). However, when doing either a restart or shutdown, I get a minute or more of zillions of messages like the following:

[114.588698] bpfilter read fail: 0

I believe the number is system uptime. I get these messages constantly for as much as a minute and a half before the machine finally restarts or shuts off.

So far I tried:

--rebooting into the older kernels (5.13.0 and 5.13.35) using the GRUB menu. with both choices, Suspend again doesn't work right, but I don't get the bpfilter messages when shutting down or restarting.

So it seems like this bpfilter problem was definitely introduced with the newer kernel.

Going back to the older 5.13 kernel(s) does fix the bpfilter messages, but then Suspend does not work properly.

Is there any way to get rid of the bpfilter messages which are delaying shutdown, while keeping the 5.6.13 kernel so that Suspend works properly?

Samba min protocol SMB3, nmap report SMBv1 https://askubuntu.com/questions/1341049/samba-min-protocol-smb3-nmap-report-smbv1

I use a Linux system with Ubuntu 18.04.5. Te file /etc/samba/smb.conf contains the rules:

client min protocol = SMB3

and

smb encrypt = required

The command nmap -p445 -Pn -vvv --script smb-protocols on this system gives (between others) the following output:

  Host script results:
  | smb-protocols:
  | dialects:
  | NT LM 0.12 (SMBv1) [dangerous, but default]
  | 2.02
  | 2.10
  | 3.00
  | 3.02
  |_ 3.11

Is that in contrast to each other?

In Samba it is set that the minimum SMB protocol is 3. nmap reports the dangerous SMBv1 protocol anyway.

Can the Ubuntu system still be accessed with SMBv1?

error: failure reading sector 0x802 from 'hd0'. Entering rescue mode grub rescue> https://askubuntu.com/questions/1248138/error-failure-reading-sector-0x802-from-hd0-entering-rescue-mode-grub-rescue

Disks:

Disk Window Screenshot

SMART Data & Self-Tests:

SMART data window screenshot

Results of sudo fdisk -l :

sudo fdisk -l command output

I was using Ubuntu 16.04, suddenly this grub rescue came on the screen. When I do

error: failure reading sector 0x802 from 'hd0'. 
Entering rescue mode...
grub rescue> ls
(hd0) (hd0,msdos1)
grub rescue> ls (hd))
(hd0): Filesystem is unknown.
grub rescue> ls (hd0,msdos1)
(hd0,msdos1): Filesystem is unknown
error: failure reading sector 0x802 from 'hd0'.

I'm getting this issue in office system.

How to fix the following logcat error message in android studio running on linux https://askubuntu.com/questions/1140147/how-to-fix-the-following-logcat-error-message-in-android-studio-running-on-linux

Whenever i try and run any of my applications via an emulator on android studio i get the following error message in the logcat.

Emulator: Warning: QStandardPaths: XDG_RUNTIME_DIR points to non- 
existing path '/run/user/1000/snap.android-studio', please create it 
with 0700 permissions. ((null):0, (null))

I should mention that at times my applications run perfectly okay but that at other times they do not and i also get he following error message

Emulator: pc_memory_init: above 4g size: 40000000
How to install ubuntu mini.iso? https://askubuntu.com/questions/1112437/how-to-install-ubuntu-mini-iso

I am trying to install ubuntu mini 18.04 from a booted DVD . I connected my laptop to the LAN of my college .
I restart my laptop and select 'install ubuntu' to install but it is not connecting/detecting my LAN cabel network .
What's the problem, i am not able to install Ubuntu mini .

Unable to start mongod on Ubuntu 16.04 - "Unable to connect to Upstart" https://askubuntu.com/questions/1041118/unable-to-start-mongod-on-ubuntu-16-04-unable-to-connect-to-upstart

screenshot showing systemctl status

This is the status of mongod service

Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart:
 Connection refused

How can I fix it?

How to remove GNOME and GNOME on Xorg which shows up on login screen? https://askubuntu.com/questions/1034694/how-to-remove-gnome-and-gnome-on-xorg-which-shows-up-on-login-screen

Newbie here. On my Ubuntu 18.04 LTS gdm login screen, clicking the cog wheel below the password field shows the following options.

  1. Cinnamon
  2. Cinnamon (Software Rendering)
  3. GNOME
  4. GNOME on Xorg
  5. Ubuntu
  6. Ubuntu on Wayland

Recently, I messed things up by typing wrong commands in the terminal while trying to remove Xubuntu (I guess I removed ubuntu gnome desktop shell). I have completely removed Xubuntu now and the option 5. Ubuntu makes things normal as before. The options 3. and 4. were not present before.

How do I remove GNOME? I do not think that sudo apt-get remove ubuntu-gnome-desktop is the right way.

How to disable smooth scrolling https://askubuntu.com/questions/1028476/how-to-disable-smooth-scrolling

I am using Ubuntu 18.04 and smooth scrolling is enabled everywhere. Is there a way to turn it off? From my experience in Debian, switching to libinput causes this exact-to-the-pixel scrolling behavior. Is there a way to get back the old three-line scroll?

E: Unable to locate package winehq-stable https://askubuntu.com/questions/984844/e-unable-to-locate-package-winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable
How to change default terminal application in Gnome-Shell https://askubuntu.com/questions/749832/how-to-change-default-terminal-application-in-gnome-shell

Gnome-Terminal is terrible.

It's buggy and whenever Gnome-Shell restarts or resumes from suspend, all Gnome-Terminal windows become unusable and can't be closed. There's an old ticket opened for it, but it'll likely never be fixed.

In the meantime, I've been trying to use other terminal packages. Unfortunately, Gnome-Shell still thinks Gnome-Terminal is what it should use whenever I select "open in terminal" in various menus. If I uninstall Gnome-Terminal, these menus disappear. What's the easiest way to keep the menus, but make my preferred terminal window open instead?

Send all OpenVPN traffic through proxy or TOR proxy? https://askubuntu.com/questions/703694/send-all-openvpn-traffic-through-proxy-or-tor-proxy

I have an OpenVPN server and I want to be able to route all requests that are made to that OpenVPN server through a proxy, so that the requests will look like they are made be the internet address of the proxy. For example, a normal request looks like this:

request -> openvpn -> send data back to user with the IP of the machine

When I want it to go through TOR or a proxy:

request -> openvpn -> tor or proxy -> send data back to user with the IP of the proxy

Is this possible? If so, how can I do it?

HDMI Video on Ubuntu 14.04 https://askubuntu.com/questions/526531/hdmi-video-on-ubuntu-14-04

I have a Dell 3750 Vostro laptop running Ubuntu 14.04 LTS with an NVIDIA GT 525M graphics card. I recently purchased an external monitor, which has both HDMI and VGA input. The VGA input works perfectly, however the HDMI says "No Signal Detected". I would love to use the HDMI connection to this monitor - but I have had no success whatsoever getting it to work.

I have installed Bumblebee, and I have also run sudo apt-get install nvidia-current. Neither of these had any effect on the HDMI output. Is there anything else I can try? Here is the output from xrandr:

Screen 0: minimum 320 x 200, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   1600x900       60.3*+
   1440x900       59.9  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

I notice that there is no HDMI entry - is this perhaps part of the problem? Thanks for any help! :)

Touchpad not detected https://askubuntu.com/questions/469746/touchpad-not-detected

I am using Ubuntu 14.04 in the new Lenovo Z510 Ideapad laptop. To check if my Touchpad is detected I typed the command

xinput list

and this is my output:

img

I tried everything mentioned in this, this and this. i have made touchpad-enabled to true. But still the same problem persists. and this is how my mouse & touch pad setting looks like:

img

Help.