DevHeads.net

Postings by Volker Wysk

Always need to enter password again

Hi!

When I go to a virtual console (alt-ctrl-F2 etc.), and go back to Gnome
again, I always need to re-enter the password. Can this be turned off
somehow? I've looked in gnome-control-center and gnome-tweaks, but
found nothing.

Goodbye,
Volker

GRUB trouble, Help needed

Hi.

I have been building a maintenance system on an USB stick, and botched
it. I've used the Ubuntu installer and the MBR got written to the wrong
disk, namely the first hard disk (an SSD in my case) instead of the USB
stick.

I've done it again, doing it right, and can now boot from the new USB
stick. But I can't boot my main system any longer, which had been
started from /dev/sda.

I can access my encrypted root partition from the maintenance USB
stick, and mounted it to /mnt/root.

Gnome control center crashes

Hello.

The gnome control center, which resposible for the system settings,
doesn't work any more on my system. It crashes with a segmentation
fault ("Speicherzugriffsfehler"):

desktop ~ $ LANG=C gnome-control-center
Speicherzugriffsfehler (Speicherabzug geschrieben)

I've already tried reinstalling it, but that doesn't help. :-(

Any ideas?

Greetings,
Volker

CD/DVD-Drive not found, problem with SCSI

Hi!

I've set up my system some month ago, and now there is no more
CD/DVD/DB-drive recognized any longer!

I don't have /dev/cdrom, /dev/dvd or /dev/sr0.

There's also no "cdrom" in /etc/fstab.

Wodim says this:

$ wodim --devices
wodim: No such file or directory.
Cannot open SCSI driver!

"lsblk" doesn not list "sr0".

Any ideas?

Volker

Thank you

Hi!

I just want to give a big Thank You! for all the help from kind souls
on this list, with my curruption problem.

I'm very willing to give something back, if I can.

Cheers,
Volker

Newest Gnome versus LTS

Hi!

I've run Ubuntu 19.04 for some days now, and I didn't notice any
corruption (see thread "Filesystem corruption"). It may be because of
the BIOS has been upgraded, some bug in Kubuntu, replaced SATA cables,
no more dm-cache (SSD as a cache for HDD), or...

Now I am about to set up my machine anew. But I still can't completely
make up my mind, which release I should use. I have the choice between
a more stable 18.04 LTS, and a more up to date 19.04.

I tend to choose 18.04 LTS, but I wonder what I'll be missing compared
to 19.04. I've found out about Gnome Tracker.

How to keep Gnome up to date in a LTS system

Hi

I'm wonderung, if you have an Ubuntu LTS version, how do you get
recent Gnome3 upgrades? I mean, sooner than in two years, with the
next LTS version. I want to stick to LTS, since Lian Proven
recommended it (and he seems competent).

I've searched for Gnome PPAs, but this one gives more than 2000 (!) hits:
<a href="https://launchpad.net/ubuntu/+ppas?name_filter=gnome" title="https://launchpad.net/ubuntu/+ppas?name_filter=gnome">https://launchpad.net/ubuntu/+ppas?name_filter=gnome</a>

I've also googled some, but couldn't find the answer.

So how do you (gnome-using) guys keep your gnome up to date? I've
heard that there is a lot of developing going on for Gnome.

Cheers
Volker

Re: wiped disk - no longer bootable

Zitat von Volker Wysk <post@volker-wysk.de>:

It's crazy.

wiped disk - no longer bootable

Hi

The problems pile up. I've wiped the first megabyte of both devices
(HDD and SSD), because I got a message on boot which sayed that the
disk with a specific ID can't be found. Using "dd if=/dev/zero
of=/dev/sda ...". Then installed Ubuntu again, which appeared to
succeed. But when booting now, it says that there is no bootable medium.

So I have wiped something which I shouldn't. How do I restore that? It
doesn't seem to be something which fdisk does.

:-(

Bye
Volker

Fwd: Filesystem corruption - Problem strikes again

Hello

The !$"% problem shows again. I can't boot any longer. The password is
rejected. When started in recovery mode, it says that the volume group
"ubuntu-vg" is not found, and that /dev/sdb2 can't be unlocked because
it is not a valid LUKS device. /dev/sdb2 is the (encrypted) part of
the SSD, in which the cache for the HDD is stored.

I'd send a photo, but the mailing list rules don't allow that.

So the problem occurs very early, when unlocking the crypto discs. Not
sure what that tells us.

Any ideas??

Bye
Volker

Filesystem corruption

Hi!

I've brought my machine to the computer shop. They checked everything,
especially the PSU and the main board. All the capacitors are okay.
They couldn't find anything.

The main board is quite old, must be more than ten years. The HDD is 3
1/2 years old.

Now I still don't know the reason of the data corruption, which
wrecked my Kubuntu system. I've installed a new Ubuntu-19.04, and
found no corruption so far. The problem can't be reproduced.

Filesystem corruption - hard disk exploded!

Hi..

That filesystem corruption of mine has quickly expanded. It has expanded to
the boot partition and the LVM metadata, last.

I've booted into memtest86+, but have aborted after an hour, in order to let
it run overnight. But then I couldn't boot the machine any longer. Going into
rescue mode revealed that the cryptsetup binary (same as before) looks
corrupt. Also, the volume group wasn't found.

Before that, I've tried to log in to KDE. This failed with a message, that
some KDE file can't be executed.

Garbage in package info (Help!!)

Hi!

Something went seriously wrong with my installation.

I can't run cryptsetup:

desktop ~ % LANG=C cryptsetup
/sbin/cryptsetup: line 2: syntax error near unexpected token
`$'\236\3405\023^\373\016\'?\361\260\030Vt\310\351\307a\r\252\324\201h\
331|\366\302*? (...)

I've tried to reinstall it, but this leads to this:

desktop ~ % LANG=C apt-get install --reinstall cryptsetup
Reading package lists... Done
Building dependency tree
Reading state information...

Kubuntu 18.04.2 LTS -> Ubuntu 19.04

Hi!

I'm about to say KDE goodbye, and switch to Gnome3.

Which is upgraded every half-year as part of Ubuntu. I don't think
there exist PPA's for Gnome, in the same way as for KDE, that give you
the newest Gnome. So I have to drop LTS and "swim with the crowd",
getting a new Gnome version every half-year, as part of Ubuntu.

This means that I have to migrate from my 18.04.2 LTS system to the
newest Ubuntu version.

Can this be done with do-release-upgrade or something like that? I
really don't want to set up everything from scratch _again_. There's a
lot to setup.

Cheers,
Volker

Kernel problem with scanner

Hi

My Canon CanoScan LiDE 220 scanner had worked reasonably well, until a
new kernel has been installed. It went into stop-and-go mode, and made
funny noises. This is worse in higher resolutions.

I had a notion that it might be a problem with USB, which in turn
resides in the kernel. I was right. The most current kernel, which has
been installed, was version 4.15.0-50. The previous one (which still
is available) was version 4.15.0-48. I tried that version, and the
problem went away.

Will this message be read and the problem fixed?

Bye,
Volker

Backup and upgrade of running programs

Hi!

There's something that has troubled me for a long time. When you make a
backup, or do an upgrade, what happens when the affected programs or data are
still running or in use? Wouldn't this mean trouble?

There are a lot of programs for doing a backup or an upgrade, which let the
user do just that. For instance, KDE Discover and the KDE Muon Package
Manager. I'm not using those much, because I prefer command line. But it seems
like they let you upgrade a (running) program by doing nothing more than a few
clicks.

apt-file does not work for specific package

Hi

I've installed the nextcloud desktop client with a third-party PPA:

% cat /etc/apt/sources.list.d/nextcloud-devs-ubuntu-client.list
deb <a href="http://ppa.launchpad.net/nextcloud-devs/client/ubuntu" title="http://ppa.launchpad.net/nextcloud-devs/client/ubuntu">http://ppa.launchpad.net/nextcloud-devs/client/ubuntu</a> bionic main

% apt update
..
OK:7 <a href="http://ppa.launchpad.net/nextcloud-devs/client/ubuntu" title="http://ppa.launchpad.net/nextcloud-devs/client/ubuntu">http://ppa.launchpad.net/nextcloud-devs/client/ubuntu</a> bionic InRelease
..

The package is nextcloud-client:

% dpkg -L nextcloud-client
..
/usr/bin
/usr/bin/nextcloud
/usr/bin/nextcloudcmd
..

But apt-file won't find any files in it:

% apt-file list nextcloud-client
(no output)

"apt-file search nextcloud" doesn't work either.

But apt-file does work with other pack

KMail: "Could not create collection trash, resourceId: 2"

Hi

I'm getting a bad error from KMail:

"Im E-Mail-Programm ist ein schwerwiegender Fehler aufgetreten. Das Programm
wird beendet. Die Fehlermeldung lautet: Could not create collection trash,
resourceId: 2"

(Translation: "In the email program, a grave error occured. The program is now
being terminated.

Release-upgrade broke internet connection

Hi!

The hint, that /etc/resolv.conf should probably point to
/run/systemd/resolve/resolv.conf was correct. The connection is back.

Now, my desktop (after being online again) sucks all the mail from my
mail provider, and places it in my local IMAP server (Dovecot). Which
doesn't work yet. There are problems with kmail. So, at the moment, I
don't have a working email connection any more. (Last, I've used a
webmail interface).

I have to repair my mail connection, before I can answer any mail.

Bye, and thanks for that hint!

Volker

release upgrade breaks internet and other things

Hi

I've done a do-release-upgrade on my 16.04 LTS system. This has broken
the internet connection, and more. I get immediate "unknown host"
errors when I ping to any host. When I lookup an adress in Firefox, I
get a "Page not found, The connection to the server ... failed."

Sorry, I don't know how to troubleshoot this connection problem.

Where should I look..?

Should i even look, or would it be easier to reinstall everything in a
new 18.04.1 system from scratch? (This would be quite a few things.)

Thanks
Volker

How to recover using a full backup?

Hi!

I'm making full backups of my system, on an external hard disc. It's a
combination of incremental and differential backup (accoding to the definitions
on wikipedia). So there isn't included everything in each backup, but only the
difference to the last time (or one of the last times, to be correct). This
works well.

The backup contains almost everything, excluding only things like /tmp,
/home/.../tmp, /dev, /proc and a few others.

I've needed to resort to parts of the backup in various occasions, but I never
needed to restore the full system.

Kworkers, Kworkers

Hi

Again, those pesky kworker threads are taking over my machine. Right now, I'm having 45 of those. The hard disk is working all the time, but this doesn't slow down the system. Probably because I also have an SSD.

Does anyone know, what this is about? Is it a known (kernel) bug? Should I worry? How to get rid of those things ...?

Bye
Volker

Lots of kworkers

Hi

Every few days, I get a lot of kworkers (some 50) in the process list. The hard disk clatters all the time. From the web I've found that those are kernel threads. Since I have an SSD (apart from the harddisk, set up as a cache for the HD), this doesn't make my system unresponsive. But still...

What's going on here? And how to get rid of all those kworkers?

Bye
Volker

(solved) KDE root programs' fonts very small

Hi!

I've had the problem, that graphical programs (or program parts), which run as root, had a very small font size - such as systemsettings5 or muon's settings->configure software sources window.

I've investigated it, and I found that the following has to be added to /etc/environment:

XDG_CURRENT_DESKTOP=KDE

That is, the XDG_CURRENT_DESKTOP environment variable needs to be set to "KDE". But this doesn't work when set in ~/.bashrc, ~/.proile or /etc/profile. Looks like these scripts aren't called by kdesudo.

Tiny font in Synaptic

Hi!

I'm running a Kubuntu 16.04.3 LTS system. Reading the mailing list kubuntu-users (and ubuntu-users), made me want to try Synaptic. But the font is so small, you can hardly read it.

Is there a straightforward way to make the font bigger?

Bye
Volker

Comprehension question with sftp connection in konqueror

Hi!

I've had ssh installed, and configured it to allow authentification with public keys only. Password authentification is turned off. I've set the SSH port to 3322.

It all worked fine (including sftp in konqueror). It still does, with the exception of sftp in konqueror. I can access my laptop from my desktop machine via ssh, scp and sftp, and vice versa.

Kontact bug (?): Can't synchronize with CardDAV ressource

Hi

I've edited a contact in the addressbook, but I can't get the changes synchronized with my Nextcloud server (via CardDAV).

When I click on "Update addressbook folder" in the menu in the "Contacts" section of Kontact, then I get this message:

Before syncing folder "Kontakte" it is necessary to have the resource online. Do you want to make it online?

I click on Yes, but then the dialog closes and nothing happens. Next time, the same question comes again. The changes don't make it to the CardDAV server, what can be seen in its web interface.

Any ideas?

Volker

Brieftasche kaputt

Hallo!

Ich weiß nicht, was passiert ist, doch plötzlich ist der KWallet-Dienst nicht
mehr verfügbar. Wenn ich mich in Plasma einloggen, bekomme ich Fenster, die
Paßwörter abfragen. Und zwar eins für KMail und eins für den
Nextcloud-desktop-client.

Kwallet broken

Hi

I don't know, what has happened, but suddenly Kwallet is no longer available.
When I log in to plasma on my desktop, I get two windows, each asking me to
enter a password - one for KMail and one for the Nextcloud-desktop-client.
(I'm writing this on my laptop.)

There is this error message: "Couldn't open wallet:
org.freedesktop.DBus.Error.NoReply; Message recipient disconnected
disconnected from message bus without replying"

When I open the KWalletManager, the wallet is empty.

What happened, and how to fix this?

Bye
Volker

Kwallet broken

Hi

I don't know, what has happened, but suddenly Kwallet is no longer available.
When I log in to plasma on my desktop, I get two windows, each asking me to
enter a password - one for KMail and one for the Nextcloud-desktop-client.
(I'm writing this on my laptop.)

There is this error message: "Couldn't open wallet:
org.freedesktop.DBus.Error.NoReply; Message recipient disconnected
disconnected from message bus without replying"

When I open the KWalletManager, the wallet is empty.

What happened, and how to fix this?

Bye
Volker