Desktop display messed up and all windows are transparent https://askubuntu.com/questions/1566149/desktop-display-messed-up-and-all-windows-are-transparent

I am using Ubuntu 24.04.4 LTS. I started having problems with a flickering band running across the upper roughly 20% of the screen. I tried restarting and it only made things worse. I tried changing the background and was unable to change it back. I installed gnome-shell-extension-manager and ran extension-manager but could not see anything to do with transparency. I'm not sure if the laptop is going bad but I did not have this problem with the white DELL logo so I suspect a problem with Ubuntu.

Edit. Additionally, when I log out, or restart the computer, the Ubuntu desktop remains visible on the screen.

Trying to turn on the Compose Key https://askubuntu.com/questions/1566148/trying-to-turn-on-the-compose-key

Hello I'm using a fresh install of 26.04, I'm trying to turn on the compose key. I've got it set to "on" in the settings, but none of the keys I've tried setting it to (right alt, right ctrl, right super, menu, insert, caps lock) seem to work.

It seems like the default functionality of the key is operating instead of the compose key functionality. Caps lock is turning on all caps, insert key is turning on insertion mode, right ctrl + o for example will open a file instead of beginning the process for copyright symbol, etc.

The guides I've found show a settings menu that looks different from the one in 26.04, so not finding much help from searching guides. What settings do I need to set to make the compose key work?

Thanks!

picture of the settings menu showing that the compose key toggle is set to on and right alt is currently selected

why don't some of these icons not have that lock icon overlaying them https://askubuntu.com/questions/1566146/why-dont-some-of-these-icons-not-have-that-lock-icon-overlaying-them

Here is a screenshot of my Ubuntu 25.10 Cinnamon desktop. If you'll notice, most of the icons on my desktop have that little lock icon overlaying them, but a few of them do not have that little lock icon overlaying them. The reason the lock icon is overlaying them is because I went into the /home/owner/Desktop folder with the terminal and changed ownership of the *.desktop items to root, even those whose icons don't have that lock icon overlaying them. What I am perplexed about is why don't some of those icons not have that lock icon overlaying them even though I did change ownership of those desktop items to root? Could someone please give me a plausible reason as to why that is?

Here is a screenshot of my desktop - https://i.postimg.cc/25yW4rFX/Screenshot-from-2026-04-27-12-04-06.png

Lubuntu install hang https://askubuntu.com/questions/1566145/lubuntu-install-hang

When installing Lubuntu 26.04 on two laptops (2GB RAM and 3GB RAM) and choosing to perform a 'Normal Installation', installation hangs on both laptops at 34%. At least after waiting over 40 minutes. The last line that has been printed to the log (replaced most characters by dots): Running QList("rsync", "-aHA.....", .... , "/tmp/calamares-root-...")

Choosing 'Minimum Installation', and afterwards using the Terminal to install Firefox and LibreOffice was successful on both laptops.

It seems somewhat similar to Ubuntu 26.04 installation stuck during rsync and referred https://bugs.launchpad.net/subiquity/+bug/2150197, but in those cases an error was printed.

Though installation was eventually succesful at both laptops, is this 'Normal Installation' hang a known issue?

99-pqc.conf override not being enforced in 26.04 https://askubuntu.com/questions/1566144/99-pqc-conf-override-not-being-enforced-in-26-04

I'm trying to limit ssh key exchanges to the two post-quantum secure algorithms in Ubuntu 26.04.

I've created the file /etc/ssh/sshd_config.d/99-pqc.conf and its permissions are the same as sshd_config. The content of the file is this:

# Post-quantum only SSH key exchange
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com
# Log negotiated algorithms so we can audit what clients are actually using
LogLevel VERBOSE

When I restart ssh, the two pqc ciphers are at the head of the list but all the old, non post-quantum secure ones are still there.

Searches online yielded the advice that failure to enforce the override was often due to configuration conflicts between NetworkManager and systemd-networkd. However only NetworkManager is active so I don't think that's the source of the problem.

Any suggestions about where to go from here?

Ubuntu 26.04 + Btrfs: missing @ subvolumes https://askubuntu.com/questions/1566142/ubuntu-26-04-btrfs-missing-subvolumes

I’m testing Ubuntu 26.04 with Btrfs and noticed that the installer creates a flat Btrfs layout (no @ and @home subvolumes), unlike Kubuntu which sets them up by default.

This causes issues with tools like Timeshift that expect the standard @ layout.

Question:
Is there a supported or recommended way to install Ubuntu 26.04 with Btrfs using @ and @home subvolumes during installation (without manual post-install restructuring)?

Alternatively:

  • Is this behavior intentional in Ubuntu’s installer?

  • Are there plans to support a proper Btrfs subvolume layout like Kubuntu?

  • What is the best practice for users who want snapshot-based rollback (Timeshift/Snapper) on Ubuntu?

Any official guidance or recommended workflow would be appreciated.

SSD No longer recognized - 0 bytes https://askubuntu.com/questions/1566141/ssd-no-longer-recognized-0-bytes

Using Ubuntu, My Samsung 840 pro SSD seems unrecognized by BIOS or Ubuntu live USB on different machine

It was working fine prior to the below

  • Changing/Updating Nvidea drivers - this caused grub to break but BIOS still recognized a drive during boot.
  • Swapping PC Plugs over to a non-surge extention lead.

Shortly after the above, the drive no longer showed during BIOS at all.

Moving on.

Plugging the SSD into a USB to SATA in a Live Ubuntu USB env

sudo dmesg

usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
usb 2-1: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 2-1: Product: ASM1351
usb 2-1: Manufacturer: SABRENT
scsi host1: uas
scsi 1:0:0:0: Direct-Access     SABRENT  ASM1351          0    PQ: 0 ANSI: 6
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] Spinning up disk...
..................................................................................................not responding...
sd 1:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
sd 1:0:0:0: [sdb] Sense Key : Not Ready [current] 
sd 1:0:0:0: [sdb] Add. Sense: Logical unit is in process of becoming ready
sd 1:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
sd 1:0:0:0: [sdb] Sense Key : Not Ready [current] 
sd 1:0:0:0: [sdb] Add. Sense: Logical unit is in process of becoming ready
sd 1:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
sd 1:0:0:0: [sdb] 0-byte physical blocks
sd 1:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 1:0:0:0: [sdb] Asking for cache data failed
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Preferred minimum I/O size 512 bytes not a multiple of physical block size (0 bytes)
sd 1:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of physical block size (0 bytes)
sd 1:0:0:0: [sdb] Attached SCSI disk

sudo fdisk -l

/dev/sdb 0 bytes

Any suggestions where to go from here, I hope all data is not lost.

EDIT: Discovered that the Samsung 840 Pro model has known faults that describe my current issue, documented here https://www.cheadledatarecovery.co.uk/2015/03/samsung-ssd-840-pro-microcode-failure/

Apparently the SSD may also be stuck in a frozen/protective/busy state

Nautilus thumbnails 26.04 LTS https://askubuntu.com/questions/1566140/nautilus-thumbnails-26-04-lts

yesterday I updated my Ubuntu 24.04 LTS to 26.04 LTS. After updating, Nautilus file explorer is not displaying thumbnail previews for files added after the update. Is this a bug? How to resolve it? Thanks for the help.

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.

VLC 3.0.20 distorting audio on Ubuntu 24.04.3 https://askubuntu.com/questions/1566138/vlc-3-0-20-distorting-audio-on-ubuntu-24-04-3

I'm using Ubuntu 24.04.4 LTS and VLC 3.0.20. Recently, I started noticing that mp3 audios that work fine with Clementine or basically any other app, come with background noise (crackling) with VLC. Same with videos. Any ideas ?

Error on upgrading from 24.04.4 LTS to 26.04: are there more users with the same problem? [closed] https://askubuntu.com/questions/1566136/error-on-upgrading-from-24-04-4-lts-to-26-04-are-there-more-users-with-the-same

Recently I tried to upgrade 2 different laptops from Ubuntu 24.04.4 LTS to 26.04 LTS, using the commands sudo update-manager -d (GUI tool) and sudo do-release-upgrade -d (terminal), after having assured that the system is fully updated. In all cases the newest version shows up and the upgrade process can be started, but there is a serious error message during step 2 (identification of new software channels - calculation of changes), after which the system is set back and the upgrade process is ended.

I already submitted a bug report to launchpad, but I wonder whether there are more users that encounter exactly the same problem. The fact that I have experienced exactly the same problem with 2 different machines can be seen as an indication that the problem is structural and machine independent. Therefore it is important to know whether other users are also affected by the same problem. Please react if you are also affected by this problem.

Touchscreen scrollbar behavior: don't warp slider in Evince/GTK3 https://askubuntu.com/questions/1566134/touchscreen-scrollbar-behavior-dont-warp-slider-in-evince-gtk3

Ubuntu 24.04 (Desktop-Ubuntu) on a 12 inch StarLite tablet. Evince 46.3.1.

While scrolling with my fingers on the main document area, I accidently hit the scrollbar at random places, which makes the document jump to that spot.

For left-button mouse clicks there is a setting to disable that behavior in ~/.config/gtk-3.0/settings.ini:

[Settings]
gtk-primary-button-warps-slider = false

Is there a similar setting related to touch input on the scrollbar? I'm okay with a touch input causing a page up or page down movement, but not with the "warp" effect.

(Firefox and Okular already behave like that. I don't remember if I had to apply any tweaks to achieve that.)

Looking for Stable Motherboard and System Configurations for RTX PRO 6000 Blackwell on Ubuntu 24.04 https://askubuntu.com/questions/1566133/looking-for-stable-motherboard-and-system-configurations-for-rtx-pro-6000-blackw

My current system configuration is as follows:

  • CPU: AMD Ryzen 9 9950X3D
  • Motherboard: MSI MAG X870E
  • RAM: DDR5-6000
  • PSU: PX-2200

I am currently experiencing issues on Ubuntu 24.04 where installing the NVIDIA graphics driver leads to an infinite boot logo loop and a black screen.

While investigating the issue, I came across reports suggesting possible compatibility problems between the RTX PRO 6000 Blackwell and certain MSI motherboards.

I would appreciate it if anyone who is successfully using the RTX PRO 6000 in an Ubuntu development environment could share their motherboard model and a stable hardware configuration.

In particular, I would also like to know whether this GPU has known issues with specific chipsets (e.g., X870E), or whether the problem is more likely related to BIOS settings or driver configuration.

Boot problems on battery power with Ubuntu 26.04 and Nvidia Drivers https://askubuntu.com/questions/1566131/boot-problems-on-battery-power-with-ubuntu-26-04-and-nvidia-drivers

after successfully upgrading from 24.04 to 26.04, when I boot my laptop on battery power most of the time I got stuck with a black screen and I'm forced to power off the laptop and boot it with AC plugged in. This happens only with Nvidia proprietary drivers and booting on battery power, no problem when AC is plugged in. off course everything was working fine with 24.04 and Xorg. Unfortunately I don't have any other info at the moment, I don't know if it's a problem with these drivers and the new kernel 7 and/or Wayland. Is anybody having a similar problem with 26.04?

Thank you.

Problem with network adapters on virtualbox, Ubuntu 24.04.4 LTS https://askubuntu.com/questions/1566129/problem-with-network-adapters-on-virtualbox-ubuntu-24-04-4-lts

On the VM settings i configured 2 network adapters in bridge mode, but during the boot i get networkd-wait-online Service time-out and the two adapters are on 10.xx.xx.xx like in NAT mode, i have the DHCP enabled for both. Anybody know if the error it's related to the time out or how to fix it? My computer is on 192.168.XX.XX.

On Ubuntu 26.04, how do I put app shortcuts onto the desktop? https://askubuntu.com/questions/1566126/on-ubuntu-26-04-how-do-i-put-app-shortcuts-onto-the-desktop

I tried to follow advice for older versions of Ubuntu, but going to /usr/share/applications only showed me files that I'm not familiar with and not my applications (Why aren't the root directories shown by default?). How do I put app shortcuts onto the desktop?

/usr/share/applications

Thunderbird is not in the application menu? https://askubuntu.com/questions/1566115/thunderbird-is-not-in-the-application-menu

For 26.04 I did an almost complete reinstallation of my system, only keeping my home drive but formatting all system drives.

I installed Thunderbird with apt, and it works fine with all my old settings and configurations.

But it doesn't show up in the applications menu... If I press the Windows key on my keyboard, searching for e.g. Vivaldi (my browser of choice) allows me to find and start it just fine, but Thunderbird does not show up. I have to start if from a terminal.

The /usr/share/applications/thunderbird.desktop file is there and seems to be fine.

I've logged out/in and restarted my computer multiple times to no avail.

Was something changed in regards to mail and/or Thunderbird in 26.04? Why can't I search for it?

How to fix bad Bengali fonts on browser in Ubuntu? The issue started after installing GNU Octave https://askubuntu.com/questions/1566104/how-to-fix-bad-bengali-fonts-on-browser-in-ubuntu-the-issue-started-after-insta

I installed Octave, and the Bengali fonts in many websites such as Wikipedia (all articles) are rendering quite badly afterwards in both Firefox and Chromium.

Example: The font is very small, and it looks somewhat broken in this Wikipedia article:

enter image description here

How to fix this issue?

I am trying to change Ubuntu desktop settings but I am getting an error. How to resolve this error? https://askubuntu.com/questions/1566096/i-am-trying-to-change-ubuntu-desktop-settings-but-i-am-getting-an-error-how-to

I am running Ubuntu 26.04 LTS and this error occurs in the settings.

I get this error when I try to change the Ubuntu desktop settings in Ubuntu 26.04 LTS. I have uploaded the error message. If there is any solution please share.

Best Regards

Tux The Linux Fan

sound on my new laptop is not working https://askubuntu.com/questions/1565548/sound-on-my-new-laptop-is-not-working

I am using ubuntu 24.04 LTS, and my laptop is infinix

System Details Report


Report details

  • Date generated: 2026-04-08 06:38:37

Hardware Information:

  • Hardware Model: Infinix BL41A7H
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 5 7535HS with Radeon™ Graphics × 12
  • Graphics: AMD Radeon™ 660M
  • Disk Capacity: 512.1 GB

Software Information:

  • Firmware Version: BL41A7H_BIOS_EM_AHP336_315B_V3.0_XBOOK_B14_0.13
  • OS Name: Ubuntu 24.04.4 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.17.0-20-generic

and the sound is not activated, somebody helpme please thank you.

Document Scanner can not detect Wi-Fi printers https://askubuntu.com/questions/1564364/document-scanner-can-not-detect-wi-fi-printers

Previously, I had 3 Wi-Fi printers from Brothers, HP, and Epson. Then I removed the Brothers printer, but the Document Scanner no longer recognizes the HP and Epson Wi-Fi printers, although I can print from them normally. How can I get the Document Scanner to recognize the HP and Epson Wi-Fi printers again? (In the image, the black background represents Computer 1, where the Document Scanner cannot see the HP and Epson printers, while the white background represents Computer 2, where the Document Scanner can see the HP and Epson printers.) enter image description here

How to disable HDMI output sinks in Pipewire? https://askubuntu.com/questions/1557133/how-to-disable-hdmi-output-sinks-in-pipewire

I want to do that for two reasons:

Firstly, in the workplace setting I never need or indeed tolerate HDMI output to broadcast my sounds at large. Secondly, there seems to be a bug in Ubuntu where when I plug in headphones, the system correctly re-routes sound from HDMI to laptop, but towards speaker not headphone - still broadcasting at large; I hope disabling HDMI will get rid of that. So I need to disable specific sinks instead, because of integrated chipset.

It looks like not only Pipewire has new bugs Pulseaudio didn't, but it also has no GUI or even command-line tuning (wireplumber exists but has laughable cmdline and no GUI), instead user is expected to write json files to their dot dirs to configure. I would prefer a console or GUI tool, but JSON writing recipe is not off limits.

I've reviewed existing popular answers:

  • Disabling port switch looks wrong because I still want switching between headphones and speakers, just never HDMI;
  • Blacklisting snd_hda_codec_hdmi does not work - upon reboot the module is still loaded and HDMI sinks present; even if it worked, I believe it would disable the entirety of Meteor Lake controller, including speaker/headphone.
  • I am using Meteor Lake super integrated chipset, meaning there's not two separate audio controllers but a single one - so there is no option to disable separate HDMI controller entirely: pavucontrol controllers
Auto update will not boot. Kernel Panic! Please reboot your computer. VFS: Unable to mount root fs on unknown-block(0,0) https://askubuntu.com/questions/1554324/auto-update-will-not-boot-kernel-panic-please-reboot-your-computer-vfs-unabl

enter image description here Kernel Panic! Please reboot your computer. VFS: Unable to mount root fs on unknown-block(0,0)

The above screen is all I get when trying to boot after another auto update. I got that screen after the kernel 6.14.0-24, and dropped back to using 6.11. And then today, another auto update which installed 6.14.0-27. And that screen shows up with that as well. I've never worked with this error before, so don't really know how to proceed. Naturally I would rather not reformat the HDD by reinstalling Ubuntu 24.04.

enter image description here

To get back to normal, I've had to drop to the kernel 6.11.0-29, then I thought that I'll use Boot Repair. Dunno what magic it does but I could then boot to 6.14.0-24. I tried the Boot Repair magic again in that kernel, but I still can't boot to 6.14.0-27 without getting that screen above.

What is that screen telling me? Note I'm not a power user. Ubuntu works so well, I seldom need to open the hood or dig too deep.

Further info: I don't want to use 6.14.0-24 because the res is only 1024 and doesn't change in Control Center and can't be changed higher as higher res isn't shown as available. Even with the res set for 1920 in GRUB it comes up in 1024.

More info: I tried the suggestion from david and that didn't work. Didn't change the results when I boot. Still get the red-screen-of-death. It did however fix the boot to 6.14.0-24 however, I cannot get it to boot to anything other than 1024 screen size as I posted above. Anyone know how to force it to give me a higher screen res?

Final post: I gave up trying to solve this problem. I was able to burn the live Ubuntu 25.04 ISO to an SD card, did a full clone of the drive, and then installed 25.04 to one of them. The funny thing was when I connected the drives and tried to boot to either of them, what showed was the "No boot drive found" error message just after the BIOS splash screen. If I unplugged either drive from the PC's SATA cable, then I could boot to the connected drive. It's strange that the kernel panic could prevent booting now that there's a bootable 25.04 drive. So I couldn't copy the Home folder with both drives operating, instead booted to the 25.04 drive, hooked up my external cloning/docking tool, installed the 24.04 drive in that, plugged the USB cable into the PC, and copied the files that way. Anyway, I'm up and running with 25.04 now. That only took 4 months to get there.

The reason I wanted to upgrade from 24.04 to 24.10 and then to 25.04 was tradition and the fact that it takes freakin' hours (I'm to hour 6 now) to get all my favorite apps reinstalled and configured. Even then there are problems. So just installing a full, new 25.04 on a backup HDD was the nuclear option. Every route I took trying to upgrade in the steps needed ended up in frustration and failure, so reinstalling Ubuntu was the only option I had left.

Kubuntu/Ubuntu/Fedora Stuck at install on HP Spectre x360 Meteor Lake Core Ultra 155H Laptop dual boot https://askubuntu.com/questions/1502003/kubuntu-ubuntu-fedora-stuck-at-install-on-hp-spectre-x360-meteor-lake-core-ultra

I am a beginner at linux and trying to install it on a HP Spectre X360 laptop with Meteor Lake Core Ultra 155H with dual boot on a single 2TB NVME disk.

I am creating a separate /root partition, but no separate /boot partition since it's a UEFI FS and I believe the grub bootloader will be installed in Windows UEFI partition?

I tried Ubuntu 20.04/22.04/23.10, Fedora 39/38 and Kubuntu 23.04/23.10.

I have turned off Secure Boot, power on lid, hibernation etc from windows 11. The only Ubuntu I was successful in installing is Ubuntu 20.04 with kernel 5.15 and then upgrade to Ubuntu 22.04 or 23.10 through sudo do-release-upgrade, staying on the same kernel. Caveat is the touchpad, WiFi, screen brightness adjustment, Bluetooth etc nothing works. I downloaded the latest Linux firmware to install the drivers, but that didn't help. It was BE200 Wifi7 chip and dmesg | grep iwlwifi does show the driver. I use a USB C 2.5G Ethernet through which I can use internet and upgrade. I was able to make WiFi once by bringing the link up (network unclaimed status right now).

The moment I upgrade the kernel to get the right drivers for all the peripherals, I get a kernel panic error or timed out waiting for device/dependency failed for multiple file systems including /boot/efi. If not these, then I am stuck at Hub sensors for all night. Fedora 39/38 doesn't even show the logo as soon as I select try Fedora or install Fedora. I tried everything suggested so far over the internet (nomodeset, noacpi), balena installer, dd, on 3 different USB drives.

Nothing has worked. Currently trying to install Kubuntu 23.10 and stuck on sensor hub id. I'm looking for help as I don't want to be a Windows user and don't wish to use a VM. I was able to install Ubuntu 23.10 using VirtualBox, but I want to have a dual boot system.

There is no legacy UEFI option in the boot menu.

Kubuntu got stuck here all day:

enter image description here

Dependency error when kernel updated to anything above 6.1 in Ubuntu 22.04:

enter image description here

Mutex Error in Ubuntu kernel 6.5 / Mutex Error when USB-C Ethernet is connected:

enter image description here

ACPI Bios error before every boot:

enter image description here

Update:

Yesterday I installed 20.04 and updated it to 22.04 LTS Desktop version with kernel 5.15. I then updated the kernel to 5.19, which gives me the main desktop screen, but like 5.15, no interfaces are working except the USB-C connected Realtek 2.5G Ethernet controller to connect to internet.

I then installed kernel 6.1.76 & 6.2. I compiled kernel 6.1.76 and used mainline repository for installing 6.2. Both got stuck at this place:

enter image description here

How to change vendor preset in systemd? https://askubuntu.com/questions/1482929/how-to-change-vendor-preset-in-systemd

I noticed the vendor preset for systemd services, and after researching I only found that distributions specify *.preset files to set vendor presets, but I cannot find it in ubuntu 22.04. Does Ubuntu define any such preset file where one can change the vendor presets?

How to find duplicate lines in very large (65GB) text files? https://askubuntu.com/questions/1403016/how-to-find-duplicate-lines-in-very-large-65gb-text-files

I have 10 text files, that contain 65 characters of hex value in each line. Each text files is 6.5GB in size (having 99999999 lines)

i.e.file1-6.5GB, file2-6.5GB, file3-6.5GB, file4-6.5GB, ... file10-6.5GB

I need to find duplicate lines in all of these 10 text files combined and I need to be able to know which duplicate line came from which file and how many files have duplicate lines?

How can I do that?

I am currently using this command:

sort *.txt | uniq -d > dup

But it is hanging, and sometimes crashing. If I want to check a 65GB file, do I need double that size in the computer memory i.e do I need to install more memory?

Is there any other way to do this?

apt get rollback in time? https://askubuntu.com/questions/1301307/apt-get-rollback-in-time

I installed packages in the last days and I decided. I try to removed them, and chrome was suddenly stop working. I assume that some of the packages were already installed, so chrome couldn't start anymore. so I installed them again. is there a way to restore to the package state insatlled in the system, 3 days ago for instance?

Squid Proxy - The requested URL could not be retrieved https://askubuntu.com/questions/1069138/squid-proxy-the-requested-url-could-not-be-retrieved

I'm trying to redirect all of my subnet traffic to a squid proxy using iptables on the router gateway (the squid proxy is located in the LAN).

The redirection works (cache & access file respond well), but the requested page page shows an error (image is attached)

Squid version:3.5.27 The iptables lines that we used for the redirection: 192.168.0.110:3129 - the squid box port+IP. 192.168.0.1 - the router's IP.

iptables:

  1. iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.0.110:3129

  2. iptables -t nat -A POSTROUTING -p tcp -d 192.168.0.110 --dport 3129 -j SNAT --to-source 192.168.0.1

squid.conf

These are the lines that we have changed/added to the squid.conf:

acl localnet src 192.168.0.0/24

http_access allow localnet 
http_port 3129 

error img I can't figure it out where is the problem (iptables or squid.conf file). Thank you in advance. Chat Conversation End Type a message...

Can't boot Ubuntu 17.04 by EasyBCD in multi-boot with Windows https://askubuntu.com/questions/923853/cant-boot-ubuntu-17-04-by-easybcd-in-multi-boot-with-windows

After installing Ubuntu 17.04 with its bootloader in a patition (hd0,5), I was unable to boot it via EasyBCD 2.3.207 (my preferred bootloader). I have installed Ubuntu after Windows and don't want to use grub on MBR of first disk. I can boot Ubuntu by Super Grub Disk but when I try it by EasyBCD, either by automatically choosing or selecting the partition manually, it end up in Grub> prompt. The following commands are also not effective : Root=(hd0,5) chanloader +1 boot

Now I am in Grub rescue > prompt. Interestingly, I now can boot into Ubuntu by:
set prefix=(hd0,6)/boot/grub
set root=(hd0,6)
insmod normal
normal

This gives me the grub menu and I can choose any option therein. The problem is that it is impossible to do this every time for booting or use Super Grub Disk. How can I use BCDedit or EasyBCD or Neogrub bootloader to do this automatically (tried it unsuccessfully by manipulating the menu.lst file of Neogrub ).

Please help,

Thanks,

Tapas

Find out if lines of a file is sorted https://askubuntu.com/questions/282198/find-out-if-lines-of-a-file-is-sorted

I have a large text file, where each line consists of three numbers, except for a few comment lines that all start with a hashtag (#). I want to verify that the non-comment lines are sorted numerically. Is there a good way to do this?

I assume I have to extract all the non-comment lines with something like grep -ve \# - butwhere do I pipe this to verify that the output is sorted?

Note: I am not looking for a way to sort the file, but rather to verify that it already is sorted (to verify output the output of a program of mine). Unfortunately, this isn't as common as wanting to sort the contents of a file, or (even more so) wanting to list the contents of a folder in a particular order (alphabetically or by size, for example), so Google has very little for me...

Clarification: The numbers in the file are real, usually on exponential form. I want them sorted in numerical order, which for example means that 0.11000E+02 > 0.90000E+01 > 0.15000E-01.

If it simplifies any, I know that if the file matches what I want, the first two columns will be sorted if counted in pairs - in other words, if the file is valid the third column doesn't have to be considered at all.

Formally, you can express it like this: if x1 and y1 are the first two numbers on one line, and x2 and y2 are the first two numbers on another line, then (x1,y1)>(x2,y2) iff (x1>x2) || (x1==x2 && y1>y2). (x1,y1)>(x2,y2) here means that the line with x1 and y1 should be considered larger, the line with x2 and y2, and (x1,y1) should appear below (x2,y2) in the file.

Sample input: pastebin
I expect the above file to be considered as sorted, but if any two lines (that are not comment lines) are switched, the file is no longer sorted. Note that lines can have leading whitespace.