26 votes

Setup a Docker container to work with a local database

There are three ways: Use the --net=host option. This network mode essentially means that the container has direct access to localhost and you can now access localhost:3306. Here's the command ...
Clive Makamara's user avatar
12 votes

How to properly end a KDE session from shell without root privileges

The accepted answer is a solution specific for KDE5, a more generic approach would be loginctl list-sessions loginctl terminate-session <id> or loginctl terminate-user <username> ...
noraj's user avatar
  • 410
10 votes

Need to find which drives are mirrored within RAID-10 array

Recent versions of mdadm show this right in the details of the array. Example from mdadm v3.3 - 3rd September 2013 $ mdadm --detail /dev/md1 /dev/md1: Version : 1.1 Creation Time : Tue ...
parasietje's user avatar
9 votes
Accepted

Messed layout in "htop"

It was caused by ncurses. To resolve this, I had to add the following line to my ~/.bashrc: export TERM=linux Reference on openSUSE forums.
Sekhemty's user avatar
  • 9,396
8 votes

Is it possible to prevent creation of .directory files?

Dolphin uses those files to remember the view properties of each folder. You can easily get rid of them by choosing common view properties for all folders in Dolphin preference under general tab. But, ...
mockingjay's user avatar
6 votes
Accepted

When attempting to format USB drive, capacity shows as 3.69MB of 8GB stick

From the Windows 10 command line (initiated as administrator) Run diskpart to get to the DISKPART> shell. Run list disk to show the currently available drives. Select each one by using select disk ...
Peter David Carter's user avatar
5 votes

Can't unlock linux user account

You can type: pam_tally2 -r -u user_name to unlock the account.
lejuste's user avatar
  • 49
5 votes

ddrescue attempt ends with drive disappearing from /dev

I was struggling recently with a Seagate disk and ddrescue. The drive kept going offline like you describe above. On a whim I decided to turn off the SMART features on the drive and that did the trick....
Dan Wanek's user avatar
4 votes

How to disable SuSEfirewall2?

The following works in OpenSUSE 13.2: /sbin/SuSEfirewall2 off (from http://binwaheed.blogspot.com/2011/02/opensuse-turn-firewall-off.html)
Fernando Gonzalez Sanchez's user avatar
4 votes

Is it safe to delete contents of /root/.cache folder to free up space?

You can delete all of .cache with no long term detrimental effects. If your .cache is growing large, it might be better to look at the contents and determine what application is making it large and re-...
MrJavy's user avatar
  • 166
3 votes

Quickly change audio device in KDE

Thanks to this answer I finally found a solution, see the below instruction Show always HDMI output in the mixed We will create a new profile that link both profiles "Analog audio" and "HDMI audio"...
Francesco's user avatar
  • 279
3 votes

Error to remove openSUSE repository

Use zypper lr to list repositories, ls lists services. Or, if you really want to remove the service, use rs instead of rr.
choroba's user avatar
  • 19.2k
3 votes

How to enable systemd's journal audit transport?

I would check these things: The systemd-journald-audit.socket is configured to listen to a socket using the AF_NETLINK protocol. If systemctl status systemd-journald-audit.socket is not active, then ...
Jonathan Komar's user avatar
3 votes

Setup a Docker container to work with a local database

As of Docker v18.03+ you can use the host.docker.internal hostname to connect to your Docker host. This is for development purpose and will not work in a production environment outside of Docker ...
Timofey Bychkov's user avatar
3 votes
Accepted

How to get away from "rc buffer underflow" and "HTTP error 503 Server too busy" errors?

FFServer returns 503 Server too busy when the bandwidth is exceeded. You can check the bandwidth usage on http://localhost:8090/stat.html (assuming the server is on localhost). If you want to ...
MaxiHuHe04's user avatar
3 votes

How to install php 5 and php 7 in openSuse(linux)?

Not sure why you mention php5 and php7. PHP5 is now past "End of Life" and will receive no new updates, including security fixes. As such, you probably shouldn't be installing it at all. If you ...
Chindraba's user avatar
  • 1,983
3 votes

Recovering from "failure reading sector"

The problem seems to be with the superblock of partition /dev/sda1. Selected links on the superblock are listed below. You are in a good position, since the partition of most interest to you (/dev/...
sancho.s ReinstateMonicaCellio's user avatar
3 votes
Accepted

How can Fritzing 0.9 on Linux (OpenSuSE Leap 15.5) suddenly complain about a missing Git repository?

Your problem seems to be the subject of bug report Unable to find parts git repository #3890. The final conclusion says : We have found that 3rd party installs of Fritzing 0.9.3 can cause the issue ...
harrymc's user avatar
  • 479k
2 votes

How to enable MP3, M4a support for Amarok?

I know this is an old post, but here it is September 2019 (Amarok v. 2.9.0) and just when I think I've got it all documented, it is still a struggle to get Amarok working with my m4a files on my new ...
Mike S's user avatar
  • 227
2 votes

How to debug old initd script under systemd?

A couple of things. Run the command with a clean environment: env -i PATH=/usr/sbin:/sbin:/usr/bin:/bin /etc/init.d/SCRIPT start Second, turn on shell debugging. One simple way to do this is with:...
Otheus's user avatar
  • 396
2 votes

How to add this repo to yast in openSUSE?

Alright, I found the answer. In the end I found the link by opening the link in the command, click the "Repositories" tab click the "Go to download repository" link under my version of openSUSE (...
kramer65's user avatar
  • 1,424
2 votes
Accepted

openSUSE Leap 42.1 - Kontact won't launch

I've managed to solve my problem by deleting the file ~/.kde4/share/config/kontactrc.
Sekhemty's user avatar
  • 9,396
2 votes

ddrescue attempt ends with drive disappearing from /dev

Do not use SpinRite for data recovery. Do not write to the failing disk. Use GNU ddrescue with a log file, and use the option to try all parts of the disk. When disk disappears, re-issue the ...
peter's user avatar
  • 21
2 votes

How fast should a hot laptop's fan spin?

You should investigate why the processor is getting so hot in the first place... almost certainly going to be dry thermal paste or a clogged heatsink/vent. You should fix this problem first as it ...
Kinnectus's user avatar
  • 10.6k
2 votes

openSUSE hanging on boot

Have the same problem, solution above don't work for me (already uuid used) My solution was change in grub's kernel options quiet splash=silent resume=/dev/disk/by-uuid/479297bf-8f35-4c4c-8bc1-...
Newbie-01's user avatar
2 votes
Accepted

suse12: how to set default route via config file

Create or edit /etc/sysconfig/network/routes and add a line like : default 192.168.1.1 - - (where, in case it would not be obvious, 192.168.1.1 is your gateway) [src: courseware for Suse course ...
hertitu's user avatar
  • 306
2 votes

What is Web\x20Co in lsof -i

The \x20 string in the first column is a hexadecimal value for an ASCII character, in this case the space character. The output formatting used by lsof is described on the lsof man page. Lsof only ...
Chris Hill's user avatar
2 votes

samsung ssd is not showing up as available

I believe the problem might be with the necessity to setup a logical drive through RAID controller firmware first. When you connected the drives the RAID controller probably sees them, however since ...
bocian85's user avatar
  • 411
2 votes

Messed layout in "htop"

I solved this problem by adding an alias for htop in ~/.bashrc: alias htop='TERM=xterm-color htop'
feilong's user avatar
  • 121
2 votes

Setup a Docker container to work with a local database

I've created a docker container for doing exactly that https://github.com/qoomon/docker-host You can then simply use container name dns to access host system from inside a container e.g. curl http://...
qoomon's user avatar
  • 240

Only top scored, non community-wiki answers of a minimum length are eligible