The small linux problem thread

Fedora 27

  1. Caps lock stays on after I turn it off for long enough that the second letter I type is also a capital letter. eg. GOogle

  2. System freezes for a solid 0.5 to 2 minutes (it then unfreezes) if I press Ctrl + Alt +Del while having Firefox open (might do it with other programs as well)

Are you using the Shift key or actual caps lock?

run the following and share the link it provides. It will give me a bit more info about your system so I can help you better.

fpaste --sysinfo

Actual Caps lock key, not Shift

https://paste.fedoraproject.org/paste/5Wx6WYpqW1uJqiBA-KiwZg

got this error, reporting on what I found to fix it

chromium -startSegmentation fault (core dumped)

tried downgrading didnā€™t work

sudo pacman -S downgrade downgrade chromium

as seen here


so instead I removed the flags config file

sudo rm ~/.config/chromium-flags.conf


for some reason that fixxed it

1 Like

I donā€™t really know what to say about the caps lock key.

Your system config looks fine. If you have another system, can you test the keyboard on that PC? Just to rule out the hardware.


As far as the freezing goes, itā€™s probably a Gnome issue. Iā€™ve been encountering a lot of odd gnome lockups when I do seemingly innocuous things.

Ok so Nvidia 340.1060 still breaks my machine. My next option is try out Void Linux. Iā€™m thinking that a combo of Gnome and my login manager is breaking everything.

How? No fucking clue. But Iā€™m not getting anywhere and its pissing me off and Iā€™m not going to waste a half hour trying to turn off X if its a problem with compatibility.

Nvidia works fine with X. Itā€™s Wayland that Nvidia doesnā€™t support.

1 Like

:stuck_out_tongue: Wayland doesnā€™t support deepin, so I have to use X.

There has to be something broken somewhere Iā€™ll have to keep digging.

Iā€™m trying to add myself to plugdev to play with some open source software to fuck with my Razer keyboard a bit. But every time I add myself it ignores me. Or it just removes me.

https://aur.archlinux.org/packages/openrazer-daemon/

Iā€™ve done just about everything I can with this page too

https://wiki.archlinux.org/index.php/users_and_groups

If you start a new login shell it will work (ie su - ${USER}). Alternatively, do newgrp plugdev

$ sudo gpasswd -a snoop tcpdump
Adding user snoop to group tcpdump
$ groups
users wheel wireshark
$ newgrp tcpdump
$ groups
tcpdump wheel users wireshark
1 Like

My display issues seem to be mostly solved, but occasionally the screen blanks and then comes back on a couple seconds later. Hereā€™s the dmesg:

[17906.495429] [drm] {3840x2160, 4000x2222@533250Khz}
[17906.526337] [drm] HBR2x4 pass VS=3, PE=0
[17954.887141] [drm] {3840x2160, 4000x2222@533250Khz}
[17954.917559] [drm] HBR2x4 pass VS=3, PE=0
[22136.566338] show_signal_msg: 25 callbacks suppressed
[22136.566340] solus-sc[9424]: segfault at 35 ip 00007fdc0f596a20 sp 00007ffe47582490 error 4 in libglib-2.0.so.0.5400.3[7fdc0f54f000+112000]
[28155.537142] [drm] Status: 
(END)

I think itā€™s probably just an AMDGPU bug, but if this means anything to anyone, hit me with some knowledge.

What kernel are you on and what gpu? Upto kernel 4.16.4, there have been reports of flickering and possibly screen blanks, with amd gpuā€™s which are already reported and fixed in kernel 4.16.5. There may still be some issues, itā€™s actively in development still as we speak

4.15.17-65.current

Radeon Pro WX5100

Yeah, from what Iā€™ve read on Phoronix, weā€™ll probably have to wait for 4.17 before all the AMDGPU quirks from the 4.15 updates are ironed out.

1 Like

On 4.16.4 here with an rx 580m and am experiencing flickering

This, yeah itā€™s still in rc2 and i would guess it definetly will take some more rc releases before itā€™s stable. Even 4.15 took like what 6-7-8-9 rc or something before relase? One thing is for sure, itā€™ll be well worth the wait :slight_smile:

1 Like

Trying to do a backup of my VMs. Going to do a complete reinstall and want to make sure I can get the VMs back in a working condition afterwords.

Found this script: link, and decided to try the edited script at the end of the page.

The script
#!/bin/bash

# Set the language to English so virsh does it's output
# in English as well
LANG=en_US

# Define the script name, this is used with systemd-cat to
# identify this script in the journald output
SCRIPTNAME=kvm-backup

# List domains
DOMAINS=$(virsh list | tail -n +3 | awk '{print $2}')

# Loop over the domains found above and do the
# actual backup

for DOMAIN in $DOMAINS; do

	echo "Starting backup for $DOMAIN on $(date +'%d-%m-%Y %H:%M:%S')" | systemd-cat -t $SCRIPTNAME

	# Generate the backup folder URI - this is something you should
	# change/check
	BACKUPFOLDER=/mnt/$DOMAIN/$(date +%d-%m-%Y)
	mkdir -p $BACKUPFOLDER

	# Get the target disk
	TARGETS=$(virsh domblklist $DOMAIN --details | grep disk | awk '{print $3}')

	# Get the image page
	IMAGES=$(virsh domblklist $DOMAIN --details | grep disk | awk '{print $4}')

	# Create the snapshot/disk specification
	DISKSPEC=""

	for TARGET in $TARGETS; do
		DISKSPEC="$DISKSPEC --diskspec $TARGET,snapshot=external"
	done

	virsh snapshot-create-as --domain $DOMAIN --name "backup-$DOMAIN" --no-metadata --atomic --disk-only $DISKSPEC 1>/dev/null 2>&1

	if [ $? -ne 0 ]; then
		echo "Failed to create snapshot for $DOMAIN" | systemd-cat -t $SCRIPTNAME
		exit 1
	fi

	# Copy disk image
	for IMAGE in $IMAGES; do
		NAME=$(basename $IMAGE)
		cp $IMAGE $BACKUPFOLDER/$NAME
	done

	# Merge changes back
	BACKUPIMAGES=$(virsh domblklist $DOMAIN --details | grep disk | awk '{print $4}')

	for TARGET in $TARGETS; do
		virsh blockcommit $DOMAIN $TARGET --active --pivot 1>/dev/null 2>&1

		if [ $? -ne 0 ]; then
			echo "Could not merge changes for disk of $TARGET of $DOMAIN. VM may be in invalid state." | systemd-cat -t $SCRIPTNAME
			exit 1
		fi
	done

	# Cleanup left over backups
	for BACKUP in $BACKUPIMAGES; do
		rm -f $BACKUP
	done

	# Dump the configuration information.
	virsh dumpxml $DOMAIN > $BACKUPFOLDER/$DOMAIN.xml 1>/dev/null 2>&1

	echo "Finished backup of $DOMAIN at $(date +'%d-%m-%Y %H:%M:%S')" | systemd-cat -t $SCRIPTNAME
done

exit 0

I did chmod u+x to it and and changed the backup destination, but when I run it nothing happens. Iā€™m bad at scripting, so I am not sure what Iā€™m doing wrong.

Unless someone has an easier way to do this?

Does anyone know why canā€™t access the internet from elementary os?
Neither from a wired connection nor a usb wifi dongle. It says itā€™s connected, but nothing in browser and no downloads from command line.

Iā€™ve been messing around with Wine and settings all day long in an attempt to get any sound in WoW, even wiped the PC twice to start with a clean slate again.

Yesterday I got WoW to work just fine on my old ultrabook, but on the desktop Iā€™m just not getting any sound ingame no matter what I try. Music, YT videos, no problemo. Even the test sounds in Wine work. But the game is completely silent.
When searching for solutions all Iā€™m finding are 5+ year old suggestions to use Alsa and OSS instead of Pulse Audio, but Wine is only giving me the latter as an option no matter what version of Wine I use.

I originally had this WoW folder on Win7 (the game works just fine as a portable app really, itā€™s all self-contained so there is no need to ā€œinstallā€ it).
When I copied the folder over to my laptop (on a fresh install of Mint 18.3 MATE) I only had to add 3 lines to the config.wtf file to get it to use OpenGL and get the sound to run on the laptop.
SET gxApi ā€œopenglā€
SET SoundOutputSystem ā€œ1ā€
SET SoundBufferSize ā€œ100ā€
Itā€™s when I copied the same folder over to my desktop (also on a fresh install of Mint 18.3 MATE) and did the exact same things that I just didnā€™t get any sound ingame.

The laptop is a Samsung NP900X4D-A01 with an Intel HD4000 gfx chip (a whopping 256MB of VRAM)
The PC is an MSI Z77A-GD65 Gaming with an i5-2500 and a GTX1070.
I tried with HDMI output to the monitorā€™s built-in speakers and with a set of USB speakers, exact same result, sound everywhere except in game.


Iā€™d check it with some other Wine games to see if itā€™s a Wine issue, but WoW is the only non-steam game I have here. I canā€™t get the Windows version of Steam to install under Wine either, even using Winetricks and/or Playonlinux.
Actually it installs just fine, it just doesnā€™t launch afterwards. Thatā€™s another issue for another day though. First I need to get WoW up and running.

I could just dualboot, but I really want to be able to completely move off Windows by December 2019 (extended support for Win7 ends in January 2020, hence that deadline).
Stuff like this really makes me wonder if itā€™ll ever be a really viable option though. Then again I have zero issues with games that do have native Linux support, so at least thereā€™s that.

The Lutris installation is 4 weeks old, perhaps there is something in the script than can help you out or you could try installing the lutris version. Itā€™s certified as wine Platinum: installs and runs flawlessly

https://lutris.net/games/world-of-warcraft/

The script looks ok. It looks like if virsh list does not return any domains, then the script will be silent. Iā€™d run that on the command line and see what happens.

I am trying to setup WordPress for multi-website on my local server using a master domain. My master domain is shadowbanegames.org. I am following the instruction I found on Website for Students. I follow all the steps and have no problems until I come to the step about setting up a DNS server so Wordpress understands when I type shadowbangames.org or any of its subdomain which website page to display. So I find an instruction guide on how to set up a local Bind9 DNS Server called Whiteboard Coder. Now for my problem and the reason for posting in this section, I donā€™t think my local DNS Server is working because when I try and check to see if it is working, I use the dig t short @192.168.200.11 shadowbanegames.org the only response I get back from the Terminal is the Terminal prompt, meaning the DNS Server isnā€™t doing its job. Where I think the problem might lie is I donā€™t have the name server set up correctly so I will include a copy of my named.conf.options. named.conf.local and the three files that defined my zones.

named.conf.options

<acl goodclients {
    192.168.200.0/24;
    localhost;
    localnets;

};
options {
directory ā€œ/var/cache/bindā€;

    recursion yes;
    allow-query { goodclients; };

    forwarders {
            1.1.1.1;
            1.0.0.1;
    };
    forward only;

    dnssec-validation auto;

    auth-nxdomain no;    # conform to RFC1035
    listen-on-v6 { any; };

};

/>

named.conf.local

 zone "shadowbanegames.org" {
    type master;
    file "/etc/bind/zones/db.shadowbanegames.org";

};

zone ā€œ10x13.comā€ {
type master;
file ā€œ/etc/bind/zones/db.10x13.comā€;
};

zone ā€œ11.200.168.192.in-addr.arpaā€ {
type master;
file ā€œ/etc/bind/zones/db.11.200.168.192ā€; # 192.168.200.1/16 subnet
};

db.shadowbanegames.org

$TTL 900

@ IN SOA ns1.10x13.com. admin.10x13.com. (
1 ;
900 ;
900 ;
604800 ;
900) ;
;List Nameservers
IN NS ns1.ns1.10x13.com.
IN NS ns3.ns1.10x13.com.
;address to name mapping
astraelementor.shadowbanegames.org. IN A 192.168.200.10
test2.shadowbanegames.org. IN A 192.168.200.10
;Now for aliases
www IN CNAME shadowbanegames.org.
offtopic IN CNAME ghs.google.com.

  •                        IN      CNAME shadowbanegames.org.
    

db.10x13.com

$TTL 900

@ IN SOA ns1.10x13.com. admin.10x13.com. (

                            1       ;<serial-number>
                          900       ;<time-to-refresh>
                          900       ;<time-to-retry>
                       604800       ;<time-to-expire>
                          900)      ;<minimum-TTL>

;List Nameservers
IN NS ns1.10x13.com.
IN NS ns3.10x13.com.
;address to name mapping
test1.10x13.com. IN A 192.168.200.10
test2.10x13.com. IN A 192.168.200.10
ns1.10x13.com. IN A 192.168.200.11
ns3.10x13.com. IN A 192.168.200.11

db.11.200.168.192

 $TTL    900

@ IN SOA ns1.10x13.com. admin.10x13.com. (
2 ;
900 ;
900 ;
604800 ;
900) ;
; name servers
IN NS ns1.10x13.com.
IN NS ns2.10x13.com.

; PTR Records
200.11 IN PTR ns1.10x13.com. ; 192.168.200.11
200.11 IN PTR ns2.10x13.com. ; 192.168.200.11
200.10 IN PTR test1.10x13.com. ; 192.168.200.11
200.10 IN PTR test2.10x13.com. ; 192.168.200.11
200.10 IN PTR astraelementot.shadowbanegames.org. ; 192.168.200.10

I also have included part of the latest error log.

07-May-2018 16:11:00.170 general: info: managed-keys-zone: journal file is out of date: removing journal file

07-May-2018 16:11:00.170 general: info: managed-keys-zone: loaded serial 22
07-May-2018 16:11:00.170 general: info: zone 0.in-addr.arpa/IN: loaded serial 1
07-May-2018 16:11:00.170 general: info: zone 127.in-addr.arpa/IN: loaded serial 1
07-May-2018 16:11:00.171 general: error: /etc/bind/zones/db.11.200.168.192:1: no current owner name
07-May-2018 16:11:00.171 general: error: zone 11.200.168.192.in-addr.arpa/IN: loading from master file /etc/bind/zones/db.11.200.168.192 failed: no owner
07-May-2018 16:11:00.171 general: error: zone 11.200.168.192.in-addr.arpa/IN: not loaded due to errors.
07-May-2018 16:11:00.171 general: info: zone 255.in-addr.arpa/IN: loaded serial 1
07-May-2018 16:11:00.171 general: info: zone 10x13.com/IN: loaded serial 1
07-May-2018 16:11:00.171 general: info: zone localhost/IN: loaded serial 2
07-May-2018 16:11:00.171 general: error: /etc/bind/zones/db.shadowbanegames.org:3: no current owner name
07-May-2018 16:11:00.171 general: error: zone shadowbanegames.org/IN: loading from master file /etc/bind/zones/db.shadowbanegames.org failed: no owner
07-May-2018 16:11:00.171 general: error: zone shadowbanegames.org/IN: not loaded due to errors.
07-May-2018 16:11:00.171 general: notice: all zones loaded
07-May-2018 16:11:00.171 general: notice: running
07-May-2018 16:11:00.171 notify: info: zone 10x13.com/IN: sending notifies (serial 1)
07-May-2018 16:11:04.606 queries: info: client 192.168.200.11#41988 (cdn.syndication.twimg.com): query: cdn.syndication.twimg.com IN A + (192.168.200.11)
07-May-2018 16:12:04.614 queries: info: client 192.168.200.11#41988 (cdn.syndication.twimg.com): query: cdn.syndication.twimg.com IN A + (192.168.200.11)
07-May-2018 16:12:15.447 queries: info: client 192.168.200.10#38488 (detectportal.firefox.com): query: detectportal.firefox.com IN A + (192.168.200.11)
07-May-2018 16:12:15.447 queries: info: client 192.168.200.10#38488 (detectportal.firefox.com): query: detectportal.firefox.com IN AAAA + (192.168.200.11)
07-May-2018 16:12:16.212 queries: info: client 192.168.200.10#38488 (www.linuxmint.com): query: www.linuxmint.com IN A + (192.168.200.11)
07-May-2018 16:12:16.212 queries: info: client 192.168.200.10#38488 (www.linuxmint.com): query: www.linuxmint.com IN AAAA + (192.168.200.11)
07-May-2018 16:12:16.501 queries: info: client 192.168.200.10#38488 (getpocket.cdn.mozilla.net): query: getpocket.cdn.mozilla.net IN A + (192.168.200.11)
07-May-2018 16:12:16.501 queries: info: client 192.168.200.10#38488 (getpocket.cdn.mozilla.net): query: getpocket.cdn.mozilla.net IN AAAA + (192.168.200.11)
07-May-2018 16:12:16.700 queries: info: client 192.168.200.10#38488 (ocsp.int-x3.letsencrypt.org): query: ocsp.int-x3.letsencrypt.org IN AAAA + (192.168.200.$
07-May-2018 16:12:16.700 queries: info: client 192.168.200.10#38488 (ocsp.int-x3.letsencrypt.org): query: ocsp.int-x3.letsencrypt.org IN A + (192.168.200.11)
07-May-2018 16:12:16.867 queries: info: client 192.168.200.10#38488 (tiles.services.mozilla.com): query: tiles.services.mozilla.com IN AAAA + (192.168.200.11)
07-May-2018 16:12:16.867 queries: info: client 192.168.200.10#38488 (tiles.services.mozilla.com): query: tiles.services.mozilla.com IN A + (192.168.200.11)
07-May-2018 16:12:16.946 queries: info: client 192.168.200.10#38488 (www.google.com): query: www.google.com IN AAAA + (192.168.200.11)
07-May-2018 16:12:16.946 queries: info: client 192.168.200.10#38488 (www.google.com): query: www.google.com IN A + (192.168.200.11)
08-May-2018 10:24:06.333 general: info: managed-keys-zone: journal file is out of date: removing journal file
08-May-2018 10:24:06.334 general: info: managed-keys-zone: loaded serial 23
08-May-2018 10:24:06.336 general: info: zone 127.in-addr.arpa/IN: loaded serial 1
08-May-2018 10:24:06.339 general: info: zone 10x13.com/IN: loaded serial 1
08-May-2018 10:24:06.340 general: error: /etc/bind/zones/db.11.200.168.192:1: no current owner name
08-May-2018 10:24:06.340 general: error: zone 11.200.168.192.in-addr.arpa/IN: loading from master file /etc/bind/zones/db.11.200.168.192 failed: no owner
08-May-2018 10:24:06.340 general: error: zone 11.200.168.192.in-addr.arpa/IN: not loaded due to errors.
08-May-2018 10:24:06.341 general: info: zone localhost/IN: loaded serial 2
08-May-2018 10:24:06.342 general: error: /etc/bind/zones/db.shadowbanegames.org:3: no current owner name
08-May-2018 10:24:06.342 general: error: zone shadowbanegames.org/IN: loading from master file /etc/bind/zones/db.shadowbanegames.org failed: no owner
08-May-2018 10:24:06.343 general: error: zone shadowbanegames.org/IN: not loaded due to errors.
08-May-2018 10:24:06.419 general: info: zone 0.in-addr.arpa/IN: loaded serial 1
08-May-2018 10:24:06.466 general: info: zone 255.in-addr.arpa/IN: loaded serial 1
08-May-2018 10:24:06.466 general: notice: all zones loaded
08-May-2018 10:24:06.466 general: notice: running
08-May-2018 10:24:06.466 notify: info: zone 10x13.com/IN: sending notifies (serial 1)
08-May-2018 10:24:06.571 queries: info: client 192.168.200.11#48150 (0.ubuntu.pool.ntp.org): query: 0.ubuntu.pool.ntp.org IN A + (192.168.200.11)
08-May-2018 10:24:06.572 queries: info: client 192.168.200.11#48150 (0.ubuntu.pool.ntp.org): query: 0.ubuntu.pool.ntp.org IN AAAA + (192.168.200.11)
08-May-2018 10:24:06.603 queries: info: client 192.168.200.11#48150 (local): query: local IN SOA + (192.168.200.11)
08-May-2018 10:24:06.615 general: info: received control channel command ā€˜reconfigā€™
08-May-2018 10:24:06.615 general: info: loading configuration from ā€˜/etc/bind/named.confā€™
08-May-2018 10:24:06.615 general: info: reading built-in trusted keys from file ā€˜/etc/bind/bind.keysā€™
08-May-2018 10:24:06.615 general: info: initializing GeoIP Country (IPv4) (type 1) DB
08-May-2018 10:24:06.615 general: info: GEO-106FREE 20160408 Bu
08-May-2018 10:24:06.615 general: info: initializing GeoIP Country (IPv6) (type 12) DB
08-May-2018 10:24:06.616 general: info: GEO-106FREE 20160408 Bu
08-May-2018 10:24:06.616 general: info: GeoIP City (IPv4) (type 2) DB not available
08-May-2018 10:24:06.616 general: info: GeoIP City (IPv4) (type 6) DB not available

I am sorry for the long post but /i need to get this working as soon as possible.