Actual Statistics: Seeing Through The Partisan “Gun Violence” Haze

So, just to be clear (though it’s not really relevant), I’m a gun owner.  I have a single pistol.  I don’t really understand why people often seem to own huge numbers of firearms, as it only seems to increase risk and administrative overhead, but whatever.  So while I’m not against firearm ownership, I’m also not in favor of keeping firearm laws as they are.  I don’t like the nanny state, and I really want to move carefully with such matters, but it does seem to me that firearms are becoming increasingly lethal and, as such, regulation ought to be revisited and adjusted accordingly.  We can’t let everyone have Flak Cannons and ASMD Shock Rifles, after all.

I am, however, against false-claim-driven alarmism.  Every time a horrifying thing happens, it seems, Americans (especially our media) largely just can’t seem to help themselves from betraying just how poor they are at reasoning under even the slightest degree of duress (which might explain our current President, but I digress..) by immediately demanding agreement with their often ill-informed views and ostracizing those who disagree (which also might explain our current President).

So even though I’ve been greatly enjoying my time away from public discourse, this particular issue is one about which I’m fairly well-informed as a result of my attraction to statistics and reason.  This issue, in fact, is a truly excellent example of how statistical sleight-of-hand works and how prevalent it is.  Allow me to demonstrate by taking apart a highly representative article from Vox:

Answers to Obvious Questions Up Front

So, I’ll use 2016 as a benchmark year, here, since it’s the last year for which we have fully processed FBI data.   I will consider only homicides for which supplemental data exists; this rules out about 2,000 homicides from consideration, but this will not likely adversely impact the import of the statistical determinations below (except for Alabama, which doesn’t seem to report adequate supplemental data to the FBI).

How many firearm-facilitated homicides occured in the United States during the year of 2016?

  1. Firearms facilitated 11,004 out of 15,070 total homicides.
  2. Of those, 435 were justifiable homicides by law enforcement officers.
  3. Additionally, 331 were justifiable homicides by private citizens.


  • 10,338 murders facilitated by firearms took place in 2016.
    • Using a population size of 323,127,513, that means any given citizen in the United States, disregarding other relevant factors, has a 0.0031994% chance of being murdered with a firearm each year.
  • 331 aggressors were successfully defeated by private citizens in 2016.

What kinds of firearms are used in these murders?

Screenshot from 2018-03-04 08-49-02

So, immediately, we can see that “assault rifles” aren’t the primary concern, here.

Where do firearm-facilitated murders take place in the United States?

Screenshot from 2018-03-04 08-41-36

Clearly there is not an even distribution across states.  Let’s control for population size to compare rates of such murders’ occurrence between states:

Screenshot from 2018-03-04 10-00-18

So there’s yer problem areas.

What does that look like if we control for population size and sort states by gun legislation grades given by gun control advocates?

So let’s take the scores for those states and sort by that:

Screenshot from 2018-03-04 09-03-16

Well then.  There doesn’t appear to be much of a trend when it comes to tight gun control regulations and firearm-facilitated murders.  California, ranked as the best state for gun control legislation, leads the pack in murders.  Now, granted, California also has one of the largest population sizes, so let’s control for population size:

Screenshot from 2018-03-04 09-45-44

So, while California is a lot safer than the absolute numbers make it appear to be, there is still no obvious correlation between gun control stringency and firearm-facilitated murders.  In fact, New Jersey, Maryland, New York, and Illinois all have gun control law rankings of B+ or above, and yet, they are four of the top seven states for firearm-facilitated homicide rates.

What About Mass Shootings?

Using the FBI’s definition of an “active shooter” incident (which best describes the kind of event we’re interested in, here; read more below for details), here’s a count (which is presently off by 18 shooting incidents because I had to parse out state counts from an FBI PDF file – I’ll try to fix that later) of incidents in each state, ordered by gun control legislation ratings and normalized on a per-million-capita basis:

Screenshot from 2018-03-04 10-58-30

Again, according to gun control advocates, one would expect to see a trend in which states nearer to the bottom of the list have greater numbers of incidents, but that does not appear to be the case.

What Qualities Might Best Explain Active Shooter Incidents?

Well, here’s my initial stab at it:

Screenshot from 2018-03-04 11-34-11.png

That’s a lot more trendy now, ain’t it?  I’m guessing that some better controls and measurements will show a pretty convincing correlation between (my guess: socioeconomic) quality of life and active shooter incidents.

Which is what everyone should expect, really.  Everyone should be aware that they’re fighting over the wrong things here.  America routinely convinces itself that silly answers to obvious problems should be pursued, when in reality, our quality of life, particularly in terms of the amount of work we do for such little compensation, is diminishing and people are going nuts.  We are an extraordinarily wealthy nation which is increasingly dominated by a very, very few gluttons among us, and this is destroying society in many, many ways.  Politicians are all too happy to have these distractions bandied about as the primary concern of the American people, ’cause actually addressing the incredible income disparity in America (with the disgustingly gluttonous top 1% of income-earners taking 50% of all income – just think about that) is going to run afoul of their political income generators.

Anyhoo, this section is still a work in progress, so I’ll update it as I have time.

So Back To All Those Misleading Stats…

Now, let’s proceed to scrutinize common claims thrown about in the debate over gun laws:

Claim 1:  “America has six times as many firearm homicides as Canada, and nearly 16 times as many as Germany”

The source being used to make this claim is The United Nation’s Office on Drugs and Crimes’ Small Arms Survey, as reported upon by The Guardian.

One initial point to make, though it may be a bit premature, is that statistical sleight-of-hand often occurs by cherry-picking conclusions from separate sources.  That is, when one dataset fails to prove an assertion (or even offers evidence against it), simply find another source and use it instead.  A good piece of advice is: beware of arguments which make several related points by drawing from entirely different datasets; always ask the question “Why didn’t they just use the same dataset to make that claim?”  It’s not that there are never valid reasons to do this, of course, but that it should be a little red flag for you when you see it.

Another sleight-of-hand method often employed (as seen here) is to portray data using an order of magnitude which represents it to suit the argument at hand.  The data says that the United States sees 29.7 firearm homicides per million people.  That means, excluding all other relevant facts about you, your chance of being murdered by a firearm-wielding assailant on account of your living in the United States of America is 0.00297 out of one hundred, or 0.00297%. 

That’s probably a hell of a lot less bad than you thought, eh?  It certainly is a lot less bad than I thought it would be before I saw the data, myself.

So, is the number correct?  Yeah, it’s probably in the ballpark.  Is it alarming given relevant facts about life in the US as compared to the other nations on that list?  Call me a pessimist, but I actually think it’s impressively low, myself.

Claim 2:  America has 4.4 percent of the world’s population, but almost half of the civilian-owned guns around the world

This is a great example of another pair of common sleight-of-hand methods: 

  1. Use the same queries against datasets of fundamentally dissimilar qualities.  You see, we already know that the majority of the world’s citizens don’t have access to firearms in the same way that the United States citizens do.  So, asking “How many civilian-owned guns are in the United States” and then “How many civilian-owned guns are in the world?” is a pretty dishonest strategy, as the billions of people living in absolute squalor (and thereby made disproportionately likely to own firearms on that account, alone) by the United States’ living conditions standards are being dishonestly used to drive home a point.  Here are some relatively important considerations:
    1. In many other countries, citizens are explicitly forbidden the right to own firearms.  In those countries where weapon ownership is permitted, the citizenry is often comparatively disadvantaged when it comes to the financial capacity and availability of social infrastructure which would permit gun ownership on the same scale as the United States.
    2. In many other countries (for example, Israel and Sweden), citizens keep firearms at home which are technically owned by the military, and therefore these firearms are discounted from the statistics provided.  That doesn’t really help us when it comes to determining whether or not access to weapons drives mass shooting incidents, as these military-owned weapons could just as easily be used in such events.
  2. Use aggregate numbers to describe distribution where distribution is not normal.  When asking the question of how thoroughly firearms are distributed among the American population, one is most likely to intuitively ask a good question: “How many people own guns?”  Notice that this question is conspicuously unanswered by the Vox piece.  Instead, the figure in Claim 2 is offered: WE HAZ HALF ALL WORLD GUNZ!  In reality, only 30% of Americans own firearms.   Obviously, many of them have what I would consider to be serious problems (or at least very strange proclivities) and own a huge number of them.  At Pew Research (linked above), you can see that about 10% of Americans own more than five firearms.  So really, in America, that objective count of civilian-owned firearms does not give a good idea of how proliferate firearms are in America.

Claim 3:  There have been more than 1,500 mass shootings since Sandy Hook

Ah, a classic.  If you want to be completely intellectually dishonest, use misleading definitions.  I will say that I am pleased to see Vox at least admitting that dishonestly in the plain print (despite publishing in bold the misleading claim):

The tracker uses a fairly broad definition of “mass shooting”: It includes not just shootings in which four or more people were murdered, but shootings in which four or more people were shot at all (excluding the shooter).

Even under this broad definition, it’s worth noting that mass shootings make up a tiny portion of America’s firearm deaths, which totaled more than 33,000 in 2014.

(Be sure to read on below about that “firearm deaths” number)

Yes, when discussing “mass shootings” after a gunman has killed 17 people and wounded 15, and including all shootings where four or more people were struck by gunfire, you are being incredibly intellectually honest to the point where your statistic is meaningless.  But how dramatic is this intellectual dishonesty?  Well, let’s start by establishing a more reasonable defintion of “mass shooting”, like so:

Federal agencies define a mass casualty shooting as the murder of three or more individuals. Due to the rarity of these events, federal agencies do not collect data on mass shootings, but they do collect data on “active shooters.” Active shooter incidents are defined as incidents where “one or more individuals actively engage in killing or attempting to kill people in a populated area.”A This definition does not include gang- or drug-related incidents, the accidental discharge of a firearm, or family- and intimate partner-related shootings

Ok, that sounds more like what we want to know.  How many of those incidents occurred in 2016?

Six.  From 2000 through 2016, a period of 16 years (including the majority of the timeframe used by Vox’s resource), there have been 220.  Vox’s (and basically every major news network’s) intellectual dishonesty is this dramatic.  Without looking up the exact difference, I can confidently say the claim that there have been 1,500 mass shootings since Sandy Hook (December 14, 2012) is off by about 1,400 (that’d be an error margin of 93%).

That number proclaimed by Vox includes EVERY INCIDENT wherein four people were struck by gunfire (not even murdered, necessarily).  When whittled down to the more reasonable definition of what we understand as a “mass shooting” (that is given by the National Center for Victims of Crime above), it’s down to under 20 per year.

Is that great?  No.  Is that number rising?  Yes.  Does something need to be done?  Absolutely.  Is lying one’s ass off about it one of the things that might plausibly help?  No.  Is the real data unbelievably staggering for a country of 323 million people where it’s lawful to own firearms?  Not even close, in my book.

Claim 4:  On average, there is more than one mass shooting for each day in America

As with the above claim, this is obviously an enormous lie.  Notice that the only “mass shootings” directly referenced beneath this claim in the Vox article is an actual mass shooting (perpetrated by Dylann Roof).  In fact, the kind of shooting which makes up the extreme bulk of the numbers peddled in that article (that’d be the kind where a family member or intimate partner kills multiple relatives and them himself) isn’t even mentioned once.  For all their claims to care sooo much, they sure don’t seem to give a crap when it won’t net them those precious, precious Interwebs clicks.

Actual fact:  In 2015 (the year shown in the Vox article), there were 20 active shooter incidents (or what we think of when we say “mass shootings”), not 355.

Claim 5:  States with more guns have more gun deaths

Well, it looks like the dishonesty continues.  Fortunately, perhaps they’re running out of new methods, as this is just another example of using a misleading definition.  You see, they now say “gun deaths”.  Nice.  I’ll give you a single guess as to what driving factor most massively inflates the numbers they will now use.

Yes, it’s suicide.  And yes, though we’re talking about mass shootings, Vox is now throwing suicides at you in their numbers.  Why?  Probably because actual victim counts from mass shootings would make absolutely zero sense when compared with the outrageous counts they’ve offered of those incidents.  I guess just using firearms-based homicide counts (see the FBI link below) isn’t impressive enough, so you gotta rope in the suicide rate.  It does, after all, roughly double the numbers.  Even the CDC is in on this one, using the term “Firearm Mortality” as though they are unaware of the real answer being sought.  Finding the actual data from them is proving difficult at the moment (though I believe I saw it before), so I’ll just go with a Time article which cites the figures:

In 2016, there were more than 38,000 gun-related deaths in the U.S. — 4,000 more than 2015, the new CDC report on preliminary mortality data shows. Most gun-related deaths — about two-thirds —in America are suicides

So yeah, firearms-based homicides alone are around 12,000 per year (out of roughly 323,100,000, meaning about 0.0037% of the population is murdered with firearms annually).  It’s a lot better for Vox and co.’s arguments if they quietly triple that figure.  I mean, it’s still extremely small, but most people don’t seem to do any math, so I guess it works anyway.  In fact, given that apparent fact, why do they bother with the deceit, at this point, really?


Whelp, I lasted longer than I thought I would based on my unwillingness to allow dumbassery to persist unabated on the Interwebs (as you can see, I allow myself to indulge in the fantasy that what I say or do here will in any way mitigate said dumbassery), but I think I’m done for now.  Maybe I’ll come back and do the rest of these things, but at least I’ve hopefully provided any readers there may be out there with at least an understanding of the gravity and proliferation of this sort of intellectual dishonesty at work in this particular debate.  Maybe anyone who was unaware of this (at least specifically how it works) can use this information to provoke future discretion where they may have been too lax in the past.

I dunno, whatever.  </rant>

(and yes, I’m leaving my rant stanza malformed on account of lacking an open tag.  I’m that done.)

Important Sources:



Posted in Brief Issue Analyses, Politics | Leave a comment

Installing Discord on Fedora 27

This guy solved the blank screen issue.

Just thought I’d throw another pointer out there on the Interwebs.

Posted in Information Technology | Tagged , | Leave a comment

Works and Days

So my blog has been rather silent for some time.  Basically, I was suddenly catapulted to a more prestigious and labor-intensive position at work, and I have been working to a degree that is unprecedented in my life, both professionally and at home.

I do want to report back with the templates and timelines I have followed to earn this success, as the originating and constant impetus for this blog is to share with fellow men of God those ways of success which I have discovered in this world, but that time will have to wait a bit more.

I will say this: it has done me extreme good to avoid the outrages of the day entirely.  Historically, I worried that it is my responsibility to tend to the news and affairs of politics lest I reduce myself to idiocy, but I will say to those who are interested: turn your focus to your life exclusively, and you will impress yourself with your achievements.  They will, one day, render a base of operations for you whose stability will allow a measured and effective return to societal matters.  But I expect that a man in his 30s owes his efforts more exclusively and directly to his work and his family.

This glossed passage from Hesiod has led me well:

“…listen to right and do not foster violence; for violence is bad for a poor man. Even the prosperous cannot easily bear its burden, but is weighed down under it when he has fallen into delusion. The better path is to go by on the other side towards Justice; for Justice beats Outrage when she comes at length to the end of the race. But only when he has suffered does the fool learn this…lay up these things within your heart and listen now to right, ceasing altogether to think of violence.”

“Badness can be got easily and in shoals; the road to her is smooth, and she lives very near us. But between us and Goodness the gods have placed the sweat of our brows; long and steep is the path that leads to her, and it is rough at the first; but when a man has reached the top, then is she easy to reach, though before that she was hard.”

“But do you at any rate, always remembering my charge, work…that Hunger may hate you, and venerable Demeter richly crowned may love you and fill your barn with food; for Hunger is altogether a meet comrade for the sluggard.”

“whatever be your lot, work is best for you, if you turn your misguided mind away from other men’s property to your work and attend to your livelihood as I bid you.”

“So do: and avoid the talk of men. For Talk is mischievous, light, and easily raised, but hard to bear and difficult to be rid of. Talk never wholly dies away when many people voice her: even Talk is in some ways divine.”

I recommend the practice wholeheartedly.  After six months of this practice, my home and professional life have never before been so well ordered. For a brief list to provide a general sense of the direction in which my efforts have moved:

  1. The Home Server
    1. Off-Site Backup for All Family Documents:  The process is working consistently and without need for my intervention.  I am using RaspBSD and a Raspberry Pi 3 with a Seagate 4TB Desktop USB disk at a remote site to receive differential snapshots from my OpenZFS zpool every night, as facilitated by a short and easy zsh script which I hope to make public soon.
    2. A Paperless Home:  I purchased an Epson ES-400 scanner and fully digitized all paperwork in the home, storing related documents in single PDF files (e.g. each vehicle, appliance, etc., has its purchase documents, title, and maintenance documents concatenated in chronological order in a single, easily searched file).  A nice little inbox is placed in a central location in the home from which documents are processed into our digital storage solution.
      1. Combined with item 1.1, these documents’ integrity is fully protected by OpenZFS and their availability is assured even in the event of a disaster which consumes my home.
    3. Home videos and pictures are well organized and tagged on the home server, allowing for engaging reviews of our family time which brings joy and a sense of order and progress to my children and myself.  The inspiration to further engage with one’s family which can be had with such documentation and reviews should not be underestimated, in my opinion.
      1. I have found that these pictures also provide the extreme benefit of allowing one to document and let go of possessions which only have sentimental value insofar as they were the sole documentation of important memories.  By documenting them with pictures and videos (say, of the children playing with particular toys or whatnot), it is that much easier to process those items out of the home when the time comes.  Not everything must go, of course, but many items are, as I said, without real value aside from that documentation which is better had in video form, anyhow.
  2. Professional IT Work
    1. CISSP Certification:  In my new position, it became critical to achieve this certification.  I intend to finalize and publish a personal reading list to give others an idea of the material which I covered, as I was able to pass this examination with only two weeks of dedicated study (my historical work made this possible, so I believe I could offer a very clear path to certification for others).
    2. Splunk:  I have personally constructed a mid-sized Splunk cluster (seven index nodes, two search heads, about 200 GB of data processed and indexed daily).  I have installed and configured proprietary Apps and Apps which I developed for data sources without such offerings as well as custom Data Models, Lookup tables, Dashboards, and Alerts for our organization.
    3. Other Projects have been undertaken as well, keeping me extremely busy, but it is rewarding work.
  3. Miscellaneous Home Logistics
    1. Processed out underutilized valuables in the home:  It is truly remarkable what can be accomplished with a persistent digital yard sale (eBay); I was able to sell (often within 24 hours of posting the item!) old IT components for which I have no present use (the Intel Core i3 and Core i5 processors which once drove the home server, now using a Core i7 processor) and other items (my middle school trombone!), converting senseless burdens into hundreds of dollars.
    2. Home storage has been optimized: we have reduced our attic storage from some 30 boxes worth of hastily-packed junk, keepsakes, and valuables into a mere 8 well-labeled and indexed boxes.  Everything else was either digitized (lots of papers crammed into boxes…), sold, donated, or thrown away.  It is a massive relief to know we do not have all of that stuff awaiting our attention should it become again necessary (but hopefully we won’t move from this house until far, far into the future).
    3. Clutter has been removed:  All of our daily items have been reduced to a near-optimal state through the process above (3.2).  There is little lying around which we do not actually use on a regular basis.

Without alleviating the pressures and wasted time incurred by the daily outrage factory that is our society as of late, I could not have done these things, and I would be in a dramatically inferior position when it comes to assisting with any genuine disaster whose occurrence does legitimately seem to be more plausible given our current political situation.

The fruit of this labor is, indeed, a constant sense of peace that has hitherto been irregularly periodic at best.

Posted in Governing the Body, Information Technology, Politics, Religious Studies, Scorpionfish | Leave a comment

Fedora, Firefox 52, and NPAPI Plug-Ins

Quick Fix Up Front:

  1. Open up Firefox 52, navigate to about:config.
  2. Right click and add a boolean configuration variable named “plugin.load_flash_only” and set it to False.
  3. Restart Firefox 52

A Brief Write-Up:

So, Firefox 52 was just pushed to Fedora 25 and it immediately broke my F5 extension which I use to access my place of employment’s VPN on my Fedora 25 systems.

Ever so nicely, the update to Firefox doesn’t come with any useful information informing you why you are now being continually prompted for reinstallations of your NPAPI extensions.  If you look in your “Add-Ons” menu in Firefox, it appears the extension is properly installed and in good shape.  However, any attempt to use a site which requires it will cause the site to prompt you for reinstallation.

As it turns out, this is because Firefox 52 is attempting to remove all support for NPAPI extensions.  This is theoretically a good thing due to the security risks of the NPAPI framework, but of course not every vendor out there will necessarily update their code accordingly (at least quickly enough to be helpful), and if you’re like me and relying on one of these extensions, you’ll need a work-around.

Very lamely, Firefox is still allowing the Adobe Flash NPAPI extension, but only that one (since they know removing support for it would kill their browser usage).  So, that explains the name of the hidden configuration parameter you have to manually add into your about:config page to get this to work.

The proper solution here is, of course, for Firefox to permit explicitly-designated NPAPI extensions to be used for a good while.  I understand that they’re trying to increase security with some tough love here, but it really just adversely impacts Linux-based end users rather than coerce organizations with little incentive to provide Linux distribution support in the first place.

I don’t know how this will pan out; hopefully F5 will up their game, but if they don’t, I guess I’ll have to have a back-versioned Firefox browser on my system just for my VPN..

Posted in Information Technology | Tagged , | Leave a comment

FreeBSD and OpenZFS Enable Scientific Discovery: How Long Do Seagate Hard Disks Live?

Ok, I don’t usually post little “yay for me” articles ’round here, but I’ve been buried in work to the point of not being able to post much at all so at the risk of taking a solid step in a bad direction for the blog, I’ll provide some evidence of the value in running an arrangement as described in the Engineering Walden Technical Reference Model:

It’s pretty incredible to think that I’m typing this post on a GNU/Linux/KVM/QEMU-driven (Fedora, of course) Windows 10 guest domain which is sharing hardware with the FreeBSD guest domain which is using IOMMU-based PCI-passthrough to access and manage four 3 TB Seagate Barracuda hard disks arranged in a OpenZFS zpool as a striped set of mirrored pairs.

Right now, I am comfortably typing a blog post and gaming (Elite Dangerous is amazing, btw) in a Windows 10 guest domain hosted on the same rig which is simultaneously rebuilding my home server’s principal storage pool and hosting a home media server which is streaming Futurama to my now-sleeping family.  Its uptime is relatively uninterrupted (I powered it down for the disk replacement just to be safe) thanks to the extreme awesomeness of OpenZFS on FreeBSD.

And today’s stalwart servant sent to that bitbucket in the sky, the great /dev/null from which all arise and to which all shall return, a Seagate Barracuda Desktop Edition who lived a long and steadfast life of service at 28,811 hours of uptime.

He will join his brother, who arrived before him after a staggering 38,000 hours of uptime.

So, anecdotally, these are some pretty good drives, I’d say.

More demonstrably, we have some amazing machines in these homes of ours, I’d say.

But most importantly: with OpenZFS, my data integrity is monitored by associated checksum values so I know the age of my disks isn’t causing me to lose any data.  Because OpenZFS is designed to operate without trusting the individual underlying block devices, I can get the most time possible out of my consumer-grade hardware without worrying that the files I store with them are being corrupted.

And tranquility ensues.  Engineering is a fine spiritual venture.

Posted in Information Technology | Tagged , , , , , | Leave a comment

Fedora, NFS Home Directories, and You: Proprietary NVidia Driver Edition

Well that was one hell of a circuitous problem solving tale of woe.  So here’s the rundown:

After some upgrades, I ran into the following slew of errors on reboot (in reverse chronological order):

Jan 31 23:31:48 gdm[1217]: GLib: g_hash_table_find: assertion ‘version == hash_table->version’ failed
Jan 31 23:31:48 login[2729]: pam_systemd(login:session): Failed to release session: Interrupted system call
Jan 31 23:31:48 gnome-session-binary[1417]: GLib-GObject-CRITICAL: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
Jan 31 23:31:48 gdm-x-session[1658]: GLib-GObject: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
Jan 31 23:31:48 gdm-x-session[1658]: GLib-GIO: g_task_return_boolean: assertion ‘task->result_set == FALSE’ failed

Jan 31 22:22:16 gnome-settings-daemon.desktop[1896]: lock: No locks available

Jan 31 22:10:29 pulseaudio[2540]: Daemon already running.
Jan 31 22:08:37 abrt-hook-ccpp[1899]: Process 1888 (gnome-session-failed) of user 1000 killed by SIGSEGV – dumping core
Jan 31 22:08:37 gnome-session-binary[1678]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jan 31 22:08:23 pulseaudio[1865]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote appl
Jan 31 22:08:23 pulseaudio[1865]: [pulseaudio] core-util.c: lock: No locks available
Jan 31 22:07:33 pulseaudio[1865]: [pulseaudio] core-util.c: lock: No locks available

Looking a little closer, I found:

Jan 31 22:20:07 gnome-shell[1857]: cogl-sampler-cache.c:200: GL error (1280): Invalid enumeration value

Jan 31 22:20:06 gnome-shell[1857]: clutter_input_device_get_device_id: assertion ‘CLUTTER_IS_INPUT_DEVICE (device)’ failed
Jan 31 22:20:06 gnome-shell[1857]: STACK_OP_ADD: window 0x1200001 already in stack

Jan 31 22:08:37 kernel: gnome-session-f[1888]: segfault at 0 ip 00007fe59d2e1899 sp 00007ffc1269b3f0 error 4 in[7fe59d003000+6f6000]

Though I fixated on that segmentation fault like a narrow-minded fool, I also noted what I should have considered immediately as abnormal and important:

Jan 31 22:15:39 kernel: lockd: server OK
Jan 31 22:15:39 kernel: lockd: server not responding, still trying

And the reason that’s so abnormal and important, in particular, is not only that my lockd service is having trouble contacting my NFS server, but that I use NFSv4…which doesn’t use lockd.

After banging my head against these errors by reinstalling my NVidia drivers, attempting the use of KDE Plasma rather than GNOME, and the like, all to no avail.  Finding the issue to be common to GNOME and KDE Plasma (which doesn’t make use of the segfaulting libgtk, obviously), and running down a bug report on bugzilla that shows the error is actually a failure of GDM which likely occurs long after the real culprit, I actually took note of the fact that a number of services (gnome-settings-daemon, pulseaudio above) were citing the absence of locks as problems.

And that, my friends, was the issue.  I had been messing around with my NFS server, trying to get the Windows NFS client to make proper use of file locking, and in the course of doing so, I had inadvertently caused the NFSv4 service to stop, leaving only NFSv3 and a busted-up lockd arrangement for my poor Fedora system.  It automatically downgraded to NFSv3 when it found NFSv4 to fail, and being stuck without file locking, this actually caused the entire problem.

So, the moral of the story is:  When using NFS-mounted home directories, sometimes NFS problems can even look like graphics driver problems.

Now, I firmly believe the benefits of NFS-mounted home directories outweigh the added potential for issues such as the above, so I’ll be keeping mine, thanks, but just know you should check on that stuff at the first sign of trouble and make sure all is well.  The issues that can be caused by a file system problem with your home directory can look like just about anything.

Posted in Information Technology | Tagged , , , | Leave a comment

Potential Resolution for Remmina Error ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x2000D]

If you attempt to connect to a Windows 7 workstation using the RDP protocol TLS security, you may encounter the following error information from Remmina:

Dec 30 21:25:00 hostname remmina.desktop[4836]: [21:25:00:443] [4836:5478] [ERROR][com.freerdp.core] – freerdp_set_last_error ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x2000D]
Dec 30 21:25:00 hostname remmina.desktop[4836]: [21:25:00:443] [4836:5478] [ERROR][com.freerdp.core.transport] – BIO_read returned an error: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error

To resolve the issue, you may simply need to edit the connection in Remmina, head to the Advanced tab, and choose TLS for Security (by default, it is “Negotiate”).  I don’t know why the security negotiation appears to be failing in my case, but that resolved the issue for me.


Posted in Information Technology | Tagged , , | Leave a comment