Weird memory usage on my Kubuntu OS https://askubuntu.com/questions/1564957/weird-memory-usage-on-my-kubuntu-os

I run Kubuntu 24.04 LTS - *Plasma 5.
I recently installed that operating system in a new laptop.
Very often (almost every two days) the system starts using memory in a very weird way.
Out of the blue it starts using a lot of memory (30-40 gb) then it releases that memory and again reuses it, on a periodic way over and over. Sometimes it stops on its own but some times I need to force shut down.
When that happens everything kind of freezes or gets super slow.
I have some screenshot of what is happeninng.
Is there any idea what is causing it or what I should do?
Is there any chance that is a hardware issue?
*
Memory usageTop command

Memory upgrade not working after Ubuntu installation https://askubuntu.com/questions/1564954/memory-upgrade-not-working-after-ubuntu-installation

Had old MacBook Pro 7,1 with 4 gig of factory ram. Installed Ubuntu 25.10. Wiped drive and installed clean. Installation successful. No more MacOs. Bought 16 gig of ram from OWC, installed, and machine does not boot. I am a novice Ubuntu user. Is there anything that should be done after the fact so that MacBook recognizes the extra ram? Also, when new ram is installed, the usb drive used to install Ubuntu will not boot machine. It just gets to the Ubuntu First screen and stops. Thanks for any input. M

I am completely new to Linux / Ubuntu, need help with an issue i think i caused lol https://askubuntu.com/questions/1564950/i-am-completely-new-to-linux-ubuntu-need-help-with-an-issue-i-think-i-caused

So prerty much, any usb stick, any external drive, anything, when mounted shows up as double of itself in file explorer (and no these usbs dont have two partitions). Somtimes it says cant locate, or needs permission, though i can access the usb sticks data on one of the doubles, but the other is where the problem is. And then i go to unmount these, and it says it cant, so i try unmount these in Disk Utilitys and it asks for permmison and have to put in my password which isn't normal. What have I gone and done, also keeping in mind its had plugged in the usb stick I used the boot Ubuntu with, but I did format the usb stick using my phone. What have I gone and done lol

Suddenly constant messages that kioslave5 has crashed https://askubuntu.com/questions/1564948/suddenly-constant-messages-that-kioslave5-has-crashed

I have no clue what triggered this. Debugging information appears below. I'm hoping that it will go away or get fixed, whatever it is.

Application: kioslave5 (kioslave5), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x000070d8b20105c1 in KExiv2Iface::KExiv2::load(QString const&) const () from /lib/x86_64-linux-gnu/libKF5KExiv2.so.15.0.0
#6  0x000070d8b2010dc9 in KExiv2Iface::KExiv2::KExiv2(QString const&) () from /lib/x86_64-linux-gnu/libKF5KExiv2.so.15.0.0
#7  0x000070d8b2780118 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/thumbcreator/jpegthumbnail.so
#8  0x000070d8e329870b in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#9  0x000070d8e329c39d in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#10 0x000070d8e329d4b4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#11 0x000070d8e329eab9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#12 0x000070d8e31860bf in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x000070d8e317d76d in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x000070d8e317e0c6 in KIO::SlaveBase::dispatchLoop() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x000070d8e329a21b in kdemain () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#16 0x0000624678f1150c in ?? ()
#17 0x000070d8e222a1ca in __libc_start_call_main (main=main@entry=0x624678f11320, argc=argc@entry=5, argv=argv@entry=0x7ffcb1c874b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#18 0x000070d8e222a28b in __libc_start_main_impl (main=0x624678f11320, argc=5, argv=0x7ffcb1c874b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcb1c874a8) at ../csu/libc-start.c:360
#19 0x0000624678f11785 in ?? ()
[Inferior 1 (process 4864) detached]
module environment add executable/appimage https://askubuntu.com/questions/1564946/module-environment-add-executable-appimage

Hi there I have a situation where I wish to add to my module environment an executable in the form of an AppImage. Is it even possible? Below is the code I'm using and the structure I have in my /usr/local/Modules/ :

> tree -h
[4.0K]  .
├── [4.0K]  bin
│   ├── [5.3K]  add.modules
│   ├── [4.1K]  envml
│   ├── [2.8K]  mkroot
│   └── [ 889]  modulecmd
├── [4.0K]  etc
│   ├── [ 885]  initrc
│   └── [1.3K]  siteconfig.tcl
├── [4.0K]  init
│   ├── [1.7K]  bash
│   ├── [ 14K]  bash_completion
│   ├── [1.2K]  cmake
│   ├── [ 232]  csh
│   ├── [ 852]  fish
│   ├── [ 14K]  fish_completion
│   ├── [1.7K]  ksh
│   ├── [4.0K]  ksh-functions
│   │   ├── [1.7K]  ml
│   │   └── [1.7K]  module
│   ├── [3.2K]  lisp
│   ├── [ 749]  perl.pm
│   ├── [ 109]  profile.csh
│   ├── [ 479]  profile.sh
│   ├── [6.2K]  pwsh.ps1
│   ├── [1.1K]  python.py
│   ├── [ 990]  r.R
│   ├── [ 868]  ruby.rb
│   ├── [2.1K]  sh
│   ├── [1.1K]  tcl
│   ├── [ 233]  tcsh
│   ├── [9.0K]  tcsh_completion
│   ├── [2.0K]  zsh
│   └── [4.0K]  zsh-functions
│       └── [ 18K]  _module
├── [4.0K]  lib
│   └── [ 21K]  libtclenvmodules.so
├── [4.0K]  libexec
│   └── [723K]  modulecmd.tcl
├── [4.0K]  modulefiles
│   ├── [ 178]  dot
│   ├── [ 396]  module-git
│   ├── [1.8K]  module-info
│   ├── [ 490]  modules
│   ├── [ 204]  null
│   └── [1.1K]  use.own
├── [4.0K]  pangenome
│   ├── [4.0K]  Bandage
│   │   └── [  48]  0.9.0
│   ├── [4.0K]  BandageNG
│   │   └── [ 110]  2025.12.3
│   ├── [4.0K]  gfatools
│   │   └── [ 102]  0.5-r296
│   └── [4.0K]  vg
│       └── [ 143]  1.70
└── [4.0K]  share
    ├── [4.0K]  doc
    │   ├── [426K]  ChangeLog.gz
    │   ├── [ 67K]  changes.txt
    │   ├── [ 10K]  CONTRIBUTING.txt
    │   ├── [ 15K]  COPYING.GPLv2
    │   ├── [ 74K]  INSTALL.txt
    │   ├── [4.2K]  INSTALL-win.txt
    │   ├── [172K]  MIGRATING.txt
    │   ├── [212K]  NEWS.txt
    │   └── [6.1K]  README
    ├── [4.0K]  emacs
    │   └── [4.0K]  lisp
    │       └── [3.0K]  modulefile-mode.el
    ├── [4.0K]  man
    │   ├── [4.0K]  man1
    │   │   ├── [3.4K]  envml.1
    │   │   ├── [3.8K]  ml.1
    │   │   └── [201K]  module.1
    │   └── [4.0K]  man5
    │       └── [ 99K]  modulefile.5
    ├── [4.0K]  nagelfar
    │   ├── [2.4K]  plugin_globalrc.tcl
    │   ├── [1.3K]  plugin_modulecache.tcl
    │   ├── [2.4K]  plugin_modulefile.tcl
    │   ├── [1.5K]  plugin_modulerc.tcl
    │   ├── [1.2K]  syntaxdb_modulecache.tcl
    │   ├── [ 11K]  syntaxdb_modulefile.tcl
    │   └── [4.3K]  syntaxdb_modulerc.tcl
    └── [4.0K]  vim
        └── [4.0K]  vimfiles
            ├── [4.0K]  ftdetect
            │   └── [ 419]  modulefile.vim
            ├── [4.0K]  ftplugin
            │   └── [ 795]  modulefile.vim
            └── [4.0K]  syntax
                └── [1.7K]  modulefile.vim

27 directories, 65 files

The application of interest is Bandage in the pangenome directory where the v0.9.0 has the following content:

> cat 0.9.0
#%Module
prepend-path PATH /path/to/Bandage

For some reason after a ml Bandage I cannot invoke/use the tool... any help is much appreciated thanks!

Multiple image apps (Gwenview, GIMP, gThumb) crashes when pasting/open image after libexiv2 upgrade https://askubuntu.com/questions/1564943/multiple-image-apps-gwenview-gimp-gthumb-crashes-when-pasting-open-image-aft

I have Kubuntu 24.04. Suddenly today I am having issues opening certain files with GIMP and Gwenview. In GIMP I get this error:

enter image description here

and in Gwenview I get this in KSystemLog:

KCrash: Application Name = gwenview path = /usr/bin pid = 14079
KCrash: Arguments: /usr/bin/gwenview

I can open .gif and .tga files in both programs. It looks like .webp will open in GIMP but not Gwenview. In Gwenview it instantaneously crashes when I try to open .png or .webp.

Before today I had no issues with opening any of these files with either program. I tried reinstalling both programs in Synaptic Package Manager and still get these errors. I'm not sure what to try next.

Scanner is found but cannot be opened https://askubuntu.com/questions/1564940/scanner-is-found-but-cannot-be-opened

I have a Brother MFC-J1205W multipurpose printer. I am running Kubuntu. I need to scan documents for my visa and having trouble doing it. I installed the official Brother's drivers from their website.

At first it wasn't found and I installed SANE and it was then found. Next I added my name for permissions:

sudo usermod -aG scanner $USER
sudo usermod -aG lp $USER

QUESTION: I just use my username michael, do I have to place a $ in front of that?

After a reboot I confirmed the scanner was found (it is connected via USB).

I ran the groups command but the scanner doesn't show up?

michael adm lp cdrom sudo dip plugdev lpadmin saned sambashare

Furthermore, even after a reboot, I still cannot open the scanner.

Kubuntu 25.10 (KDE Plasma 6.4.5 KDE Frameworks 6.17.0 QT Version 6.9.2 Kernel Version 6.17.0-19-generic WAYLAND)

CPU 32xAMD Ryzen 9 7940HX

RAM 32GB

GPU Nvidia RTX4060

/usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins/file-jpeg/file-jpeg: fatal error: Segmentation fault https://askubuntu.com/questions/1564938/usr-lib-x86-64-linux-gnu-gimp-3-0-plug-ins-file-jpeg-file-jpeg-fatal-error-se

I am using Ubuntu 25.10 Desktop (GNOME / Wayland) with all packages fully up-to-date. The GIMP version is 3.0.4.

GNU Image Manipulation Program starts normally. However when I try to create a new image, I get the following errors:

gimp.desktop[29461]: /usr/bin/gimp-3.0: fatal error: Segmentation fault
gimp.desktop[29562]: warning: 4996        ./malloc/malloc.c: No such file or directory
gimp.desktop[29519]: /usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins/script-fu/script-fu: fatal error: GIMP crashed
script-fu[29519]: script-fu: gimp_flush(): error: Broken pipe

with application crash.

Similarly, when I try to open an existing JPEG file, I get:

gimp.desktop[29914]: /usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins/file-jpeg/file-jpeg: fatal error: Segmentation fault
gimp.desktop[29816]: /usr/bin/gimp-3.0: fatal error: Segmentation fault
gimp.desktop[29929]: warning: 56        ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S: No such file or directory
gimp.desktop[29872]: /usr/lib/x86_64-linux-gnu/gimp/3.0/plug-ins/script-fu/script-fu: fatal error: GIMP crashed

with application crash.

I tried the following:

  • Renaming ~/.config/GIMP;
  • Running GIMP from another desktop user account;
  • Reinstalling (apt remove --purge gimp ; apt install gimp)

None of these changed this behavior.

Please note that I am not a regular user of GIMP, but I did not previously encounter such problems with it.

Has anyone with a similar setup experienced the same problem? I am 80% sure that a have used GIMP with no problem in Ubuntu 25.10 on my system; my guess is that a recent update in some package(s) is causing this crash.

input/output error. error moving file into folder https://askubuntu.com/questions/1564928/input-output-error-error-moving-file-into-folder

Ubuntu 24.04.4 LTS

The system crashed while copying files from one external drive to another. Now, it's no longer possible to copy files to that specific folder. All files are uncorrupted.

Moving the file into /mnt/externalhdd/folder gave the error

input/output error

Also when attempting to mount/umount the drive I get an error

unable to mount no object for D-bus interface.

However, mounting/unmounting via "Disks" works fine.
Disks check/repair shows that the file system is undamaged.

Samba Installed but no Fileshare menu https://askubuntu.com/questions/1564926/samba-installed-but-no-fileshare-menu

Please see the screenshot. With Samba installed, I have no option, when I right click a folder to share it. What could I be missing? I've looked but am unable to find anything on this particular issue. All of the docs say of Samba is installed, you're good to go.

Thanks in advance.

enter image description here

Windows 11 file share write permissions https://askubuntu.com/questions/1564866/windows-11-file-share-write-permissions

Ubuntu version:
Example: 22.04

Desktop environment (if applicable):
Example: GNOME

I cannot get write permissions on my Windows 11 share. I can access and read all files in Nautilus, but when I try to copy a file to the Windows 11 share, I get permission denied.

I’ve tried:

I have permissions open on the Windows 11 share, and I can read and write on that share from another Windows machine, I just cannot write to that share from Linux. I'm not sure what config files in Linux I need to adjust to achieve writing permissions to this share. I am happy to post any config files that I need to post, but I'm not sure which ones need tweaking.

disk encryption passphrase to unlock disk - removal of passphrase? https://askubuntu.com/questions/1564854/disk-encryption-passphrase-to-unlock-disk-removal-of-passphrase

I just installed Ubuntu 24.04 LTS succesfully on a PC, and it runs nice and smooth...

When finishing installation I chose encryption of the disk (LMV and encryption), and I agreed on a encryption password. I got the password notet, so no problem there.

But it's a PC...

When I'm prompted for the password (please unlock /disk dm_crypt-0) , it is under boot-up and therefore before my blootooth keyboard is activated. For this reason I would like to unlock the disk permanently without a password.

How and where in the setup can I do so, if possible?

Thank you very much in advance.

Regards, Ole

Audio only works for one program at a time https://askubuntu.com/questions/1564590/audio-only-works-for-one-program-at-a-time

I have no idea why. I first tried it with Furnace, a music tracker, and a version of Discord. I have to choose between making music and talking with friends, or between a Discord call and a YouTube video. In addition to that without closing every other program using audio, a YouTube video won't even load.

I have no idea if it's PulseAudio, ALSA, JACK, PipeWire or anything else, nor do I know which of those I have installed, what they do or even what they are. I'm still a noob when it comes to Linux, but I got Kubuntu on my main PC I can't access right now, and it all just works (except the Nvidia GPU but that's for another day).

I'm also wondering just what each audio back-end does, which I can remove with apt and not break half my packages, and which is enabled by default when I start up my PC.

I'd like everything to just work so I can have multiple programs sending audio to my headphones without having to input any commands to Konsole on startup.

UPDATES: Additional Info I'm on Kubuntu 25.10, x64, my Linux Kernel is 6.17.0-14-generic, and my specs are as follows: Intel Core i5-8400 CPU Intel Arc B580 GPU, Kisak PPA Mesa drivers 16 GB DDR4 RAM KDE Plasma 6.4.5. (Accidentally typed 6.27 instead of 6.17 for the kernel version)

I ran pw-top, here's my output (Apologies for the formatting, it's a direct copypaste from Konsole.) Dummy-Driver S 31 0 0 --- --- --- --- 0 Freewheel-Driver S 45 0 0 --- --- --- --- 0 Midi-Bridge S 48 0 0 --- --- --- --- 0 bluez_midi.server S 78 0 0 --- --- --- --- 0 alsa_output.usb-Razer S 79 0 0 --- --- --- --- 0 alsa_input.usb-Razer_ The device I want to have everything go through is my Razer USB Sound Card (no mic attached so Output).

Pactl-info works, but pacmd says there's no daemon running. And I can play a YouTube video from both Chromium and Waterfox and hear both at once.

I've installed pipewire-alsa and pipewire-jack using APT. Even with those two packages, I think it could be Furnace trying to hog the attention of Pipewire. Normally it uses a backend called "SDL", with the other two options being JACK and PortAudio (neither of which work for my system). In addition to updating this post, I'll contact Furnace's support to see if it's on their end.(3/18/2026)

Sound not working on a Beelink GK Mini using a TV AOC Roku as monitor after installing Kernel 6.17 https://askubuntu.com/questions/1564550/sound-not-working-on-a-beelink-gk-mini-using-a-tv-aoc-roku-as-monitor-after-inst

I have Kubuntu 24.04.3 LTS installed with Ubuntu Pro (ESM), and ever since the Kernel updated from version 6.14 to 6.17, I haven't been able to play sound on the TV I use as a monitor. My setup is simple: a Beelink GK Mini connected to an AOC Roku TV. I had to pin the Kernel to 6.14.0-37 through GRUB to use the computer normally, but this is far from an ideal situation. Is anyone else having a similar problem?

How to share directory in Ubuntu22.04 for Windows users https://askubuntu.com/questions/1494441/how-to-share-directory-in-ubuntu22-04-for-windows-users

I have a Windows domain LAN + some Ubuntu 22.04. I'd like to share Ubuntu folder to make it accessible to Everyone from Windows domain. I have made this recommendation:

https://www.debugpoint.com/guide-how-share-folder-between-ubuntu-linux-windows/

After it I view the shared folder in windows

\\myubuntu
   \media

But I cannot open it in windows, it writes me: You do not have permissions to access \myubuntu\media

How to share it for any windows user? P.S. smb.config contains

workgroup = WORKGROUP # <-- maybe need to change it?

I have added these strings:

[media]
path = /home/xoleg/media
browsable = yes
writable = yes
read only = no
force user = guest # <-- maybe need to change it?
guest ok = yes
What is "curtin command in-target" and why does it take so long to run? https://askubuntu.com/questions/1490233/what-is-curtin-command-in-target-and-why-does-it-take-so-long-to-run

I frequently install Ubuntu on VMs running under Proxmox or VMware. Every time the installer gets to curtin command in-target and stays there for at least half an hour, sometimes much longer. The Ubuntu installer at this point gives an option to "Cancel update and reboot", but if that is chosen it then sits unchanging for about the same time that just leaving it to complete does.

I'm in a major network data center with ten gigabit connectivity, so the problem isn't slow local networking. I can shortcut the issue by resetting the VM, and if I do so then once it boots I can then install all the updates in a fraction of the time using apt update and apt upgrade, however I'm wary of using tricks like that on what will be production systems.

I've tried Googling and searching here for anything explaining why this stage of the Ubuntu installer takes so long, but I haven't found anything specific, although I have found a recommendation to not have any NICs on the system while installing and only add them post-install as a way to speed things up.

What is this curtin command in-target stage of the Ubuntu installer, why does it take so long, and are there any drawbacks to just pressing the reset button and then using apt update and apt upgrade post-boot instead?

Progress bar on copying files to USB https://askubuntu.com/questions/1315912/progress-bar-on-copying-files-to-usb

On the Nautilus file manager, when copying any file to a flash drive, the progress bar will immediately go to 100%, signifying the transfer has completed. The issue is that the files have only been written to cache, and are still being transferred from cache to disk.

Is there any way to make Nautilus 'cache aware' so it would only show progress of data actually copied to the drive? Failing that, is there any way to reduce the write cache of USB devices ONLY to around ~5MB so that the progress bar will actually do its job?

Currently on Ubuntu 20.04 with 16GB RAM

Edit: I'm not looking to completely disable cache, nor do I want to manually adjust mount options for each device.

How to download playlist from Youtube? https://askubuntu.com/questions/1266454/how-to-download-playlist-from-youtube

I need to download a Youtube playlist as mp3 audio. What is the most convenient way to do this on Ubuntu? I tried:

youtube-dl --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --audio-quality 160K --output "%(title)s.%(ext)s" --yes-playlist ...

It didn't work. Any suggestions?

How to configure USB to HDMI in Ubuntu 18.04? https://askubuntu.com/questions/1211354/how-to-configure-usb-to-hdmi-in-ubuntu-18-04

I want to connect my external monitor with my laptop using an USB to HDMI device, a Fresco Logic inc. FL2000 USB to HDMI adapter (identified by lsusb as Bus 002 Device 005: ID 1d5c:2000), but I don't know how to get it work with Ubuntu 18.04.

How do I use that adapter to send video to an HDMI monitor?

How to put yad form fields value into variable after submit? https://askubuntu.com/questions/1187335/how-to-put-yad-form-fields-value-into-variable-after-submit

How to put yad form fields value into variable after submit?

My script actually looks like this:

#!/bin/bash

default_jpg='/';
default_mp3='/';
default_resolution='1920:1080';
default_filename="/";

OUTPUT=$(yad \
  --title="JPG and MP3 to MP4" \
  --form \
    --text="Options" \
    --separator="," \
    --field="JPG:FL" \
    --field="MP3:FL" \
    --field="Resolution" \
    --field="MP4 (Output):SFL" \
    --button="Create MP4":1 \
    "$default_jpg" \
    "$default_mp3" \
    "$default_resolution" \
    "$default_filename" \
  ) accepted=$?

if ((accepted == 1)); then
  jpgfile=$(   awk -F, '{print $1}' <<<$OUTPUT)
  mp3file=$(   awk -F, '{print $2}' <<<$OUTPUT)
  resolution=$(awk -F, '{print $3}' <<<$OUTPUT)
  filename=$(  awk -F, '{print $4}' <<<$OUTPUT)

  echo $jpgfile $mp3file $resolution $filename
fi

I fail to put the values of the form fields into variable. If this would work instead of just echoing the variables I would like to use them in this command:

ffmpeg -r 1 -loop 1 -i "$jpgfile" -i "$mp3file" -acodec copy -r 1 -shortest -vf scale=$resolution "$filename"

Please tell me what is wrong.

Warning: fsck not present, so skipping root file system https://askubuntu.com/questions/1177034/warning-fsck-not-present-so-skipping-root-file-system

My server (18.04) crashes during startup. One of the messages that is shown and which I think may be the reason for it is:

Warning: fsck not present, so skipping root file system
[      5.502634] EXT4-fs (sda2): INFO: recovery required on readonly filesystem
[      5.503676] EXT4-fs (sda2): write access will be enabled during recovery
[      5.544074] EXT4-fs (sda2): recovery complete
[      5.548989] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)

How can I fix this?

Thanks, Tom

Edit: Image added Ubuntu startup before crash

Preserving timestamps when extracting .tgz logs https://askubuntu.com/questions/1120494/preserving-timestamps-when-extracting-tgz-logs

I have multiple .tgz kernel-panic logs that I must extract from one file. The timestamps for these .tgz files are important. Whenever I use the following: tar - zvxf paniclogs.tgz

-rwxrwxrwx 1 root root   22359 Feb 22 15:03 kernel-panic-20190213020406-3.tgz
-rwxrwxrwx 1 root root   22971 Feb 22 15:03 kernel-panic-20190213020844-2.tgz
-rwxrwxrwx 1 root root   28344 Feb 22 15:03 kernel-panic-20190213101549-1.tgz
-rwxrwxrwx 1 root root   30683 Feb 22 15:03 kernel-panic-20190213154050-0.tgz

It extracts the logs but changes the timestamps to the date and time when I extracted them. This is not the case when I use Cygwin. I know there must be a way to extract these logs and preserve the time stamps. Can you please assist? Thank you.

Hard drive error : EXT4-fs error - Failed to write entry, ignoring: Read-only file system https://askubuntu.com/questions/1110624/hard-drive-error-ext4-fs-error-failed-to-write-entry-ignoring-read-only-fi

I have a Asus R556L, running Ubuntu 18.04LTS on dual boot with Windows 10. The sata mode in the bios is AHCI.

Ubuntu works fine, but after working for a while, it goes to the black terminal screen with these errors, very similar to this post. Windows works for some seconds and then I have a blue screen error and the PC reboots.

When I get this black screen the computer doesn't respond anymore and I have to reboot with the power button.

After reboot, I got the log files from the two previous boots with

journalctl -o short-precise -k
journalctl -o short-precise -k -b -1

They can be donwloaded at last_reboot and previous_reboot.

There is one error that might be interesting (no usb device is plugged):

Cabirto kernel: usb 1-6: device descriptor read/64, error -110

And also some of the kind:

Cabirto kernel: print_req_error: I/O error, dev sda, sector 922702400

I booted from a live CD to make some fix with the hard drive unmounted:

I tried to run

sudo e2fsck -p /dev/sda5

Which returns

/dev/sda5: clean, 785130/39829504 files, 54124587/159286528 blocks

(translated from French)

I ran a quick smart test smartctl -t short /dev/sda and smartctl -l selftest /dev/sda which gives

Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      3418

An extended smart test found no error.

Heres what fdisk -l shows (with loop devices removed):

Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: CD049B10-7DBD-4B39-912A-D7956EF0AE6A

Device          Start        End    Sectors   Size Type
/dev/sda1        2048    1023999    1021952   499M Windows recovery environment
/dev/sda2     1024000    1228799     204800   100M EFI System
/dev/sda3     1228800    1261567      32768    16M Microsoft reserved
/dev/sda4     1261568  410861567  409600000 195,3G Microsoft basic data
/dev/sda5   666849280 1941141503 1274292224 607,6G Linux filesystem
/dev/sda6  1941141504 1953523711   12382208   5,9G Linux swap
/dev/sda7   410861568  666849279  255987712 122,1G Microsoft basic data

Partition table entries are not in disk order.    

Disk /dev/sdb: 7,5 GiB, 8015314944 bytes, 15654912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0006aec1

EDIT : until this morning Windows worked fine but now I have a blue screen error and the PC reboots.

Edit : when modifying the grub menu as suggested in the comments, the message in the black screen changes and there 'ata' lines appear.

EDIT : Solution In the end I sent my computer to ASUS technical services. They changed the motherboard. To what I understood, there was a connection problem. It was not a failing hard drive but filing wires or connectors.

[4]: https://i.sstatic.net/WI12t.jpgenter image description hereenter image description here

How can I find the directory to clang-format https://askubuntu.com/questions/730609/how-can-i-find-the-directory-to-clang-format

I use gvim to code and want to use clang-format as a plugin. As I read it is already integrated in vim. I just need to add this line to my .vimrc:

map <C-K> :pyf <path-to-this-file>/clang-format.py<cr>

Unfortunately I can't find the <path-to-this-file>. I already installed the clang-format-3.6 via apt-get.

Thanks for help!

Squid proxy server giving the error 'The system returned: (110) Connection timed out' https://askubuntu.com/questions/691161/squid-proxy-server-giving-the-error-the-system-returned-110-connection-timed

I get the error "The system returned: (110) Connection timed out" from the browser when I try to browse through the squid proxy server....Any suggested solutions???

How do I set up an encrypted SSH tunnel for VNC? https://askubuntu.com/questions/636018/how-do-i-set-up-an-encrypted-ssh-tunnel-for-vnc

Here's whats happening:

The TightVNC client on my Windows client does not interact with my Vino VNC server, because of some encryption stuff, as shown here: Gnome 3.10 sharing desktop --- how to configure the security type for VNC? . Therefore, I wanted to create an SSH tunnel. But I have no idea how to do it. Could you guide me?

Here's how I wanted it to be set up:

My desktop, running Ubuntu GNOME, with the default Vino VNC server, can be accessed remotely through VNC, but with the (enabled by default) encryption turned OFF. However, on my Windows laptop, I want to be able to access the VNC Server using the VNC client TightVNC, with all the connections happening between them going through an encrypted SSH Tunnel.

Can't connect to local MySQL server through socket '/tmp/mysql_2.sock' during manual installation of mysql https://askubuntu.com/questions/448094/cant-connect-to-local-mysql-server-through-socket-tmp-mysql-2-sock-during-ma

I get the error below when attempting to manually install mysql-5.6.17-linux-glibc2.5-x86_64

Steps I followed:

1. tar -xzvf mysql-standard-5.1.34-linux-i686-glibc23.tar.gz
2. ln -s mysql-standard-5.1.34-linux-i686-glibc23 mysql
 a) set basedir= to the full path of your new mysql directory
 b) set datadir= to the full path of the /data subdir in your new mysql directory.
3. Set up the default MySQL databases:
 a) ./scripts/mysql_install_db --defaults-file=mysql.cnf
 b) ./bin/mysqladmin --defaults-file=mysql.cnf -u root password "yourpasswordhere"
4. Create a New Database and User Account
 a) Log in to your mysql server as root: ./bin/mysql --defaults-file=mysql.cnf -u root -p

mysql.cnf file looks like:

[client]
socket=/tmp/mysql_2.sock
port=3307
####################################
[mysqld]
#REQUIRED!!
#Change the basedir directory to reflect your mysql home directory
basedir=/mysql
#REQUIRED!!
#Change the data direcory to reflect your mysql data directory
datadir=/mysql/data
port=3307
socket=/tmp/mysql_2.sock
key_buffer_size=64M

#[OPTIMIZATION]
#Set this value to 50% of available RAM if your environment permits.
myisam_sort_buffer_size=1.5G
#[OPTIMIZATION]
#This value should be at least 50% of free hard drive space. Use caution if         setting it to 100% of free space however. Your hard disk may fill up!
myisam_max_sort_file_size=100G

#[OPTIMIZATION]
#Our default of 2G is probably fine for this value. Change this value only if you are using a machine with little resources available. 
read_buffer_size=1.5G  

command:

root@ubuntu:/mysql#  ./bin/mysqld_safe --defaults-    file=mysql.cnf &  

Error:

[1] 2386
root@ubuntu:/mysql# 140415 19:08:12 mysqld_safe Logging to '/mysql/data/ubuntu.err'.
chown: invalid user: `mysql'  
140415 19:08:12 mysqld_safe Starting mysqld daemon with databases from     /mysql/data
140415 19:08:12 mysqld_safe mysqld from pid file     /mysql/data/ubuntu.pid ended  

./bin/mysqladmin --defaults-file=mysql.cnf -u   
./bin/mysqladmin --defaults-file=mysql.cnf -u root password 12345
./bin/mysqladmin: connect to server at 'localhost' failed  

error: 'Can't connect to local MySQL server through socket '/tmp/mysql_2.sock' (2)' 

Check that mysqld is running and that the socket: '/tmp/mysql_2.sock' exists!
[1]+  Done                    ./bin/mysqld_safe --defaults-file=mysql.cnf    

I tried to login by command:

./bin/mysql --defaults-file=mysql.cnf -u root -p  

Error:

Enter password:   

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql_2.sock' (2)
Equivalent of .URL file on Ubuntu https://askubuntu.com/questions/353932/equivalent-of-url-file-on-ubuntu

An URL link has been saved in *.url file via Windows. If you double click the file in Windows, it will open your default browser to the indicated URL. Here is an example of *.url file content:

[InternetShortcut]
URL=http://abdennour-insat.blogspot.com/

When the same file is copied on Ubuntu OS, Ubuntu handles it such as a text file. Hence, the browser does not open the URL when double-clicking the file.

My question is: what is the equivalent of *.url file in Linux to make shortcut file for URLs?

Disk Image Mounter https://askubuntu.com/questions/352448/disk-image-mounter

I am on Ubuntu 12.04 and I don't find Disk Image Mounter as an option when I right click on a ISO file. Can any help me with this? Thanks!

What is Conky, it's uses, and how is it implemented? https://askubuntu.com/questions/147585/what-is-conky-its-uses-and-how-is-it-implemented

I'd like to know what Conky is. How to install it, any maintenance that's needed. Does it work with a specific Desktop Environment like Unity? Can it work with GNOME Classic? Details would be helpful. The more detailed and less confusing, the better. Thank you.