Skip to main content

5 posts tagged with "Linux"

View All Tags

Running Python With Graphics Support in Windows Subsystem for Linux (WSL)

· 6 min read

Prompted by a class I'm taking, I decided to try running Python from Windows Subsystem for Linux (WSL; actually, WSL2 to be specific). Installing Python in Ubuntu on Windows was relatively easy, though I did run into a couple of little problems with running poetry. Bigger challenge: running graphical user interfaces (GUIs) from WSL. Here are some quick notes from my experience.

Screenshot showing a small program displaying the operating system name

Screenshot shows that I'm running Windows 10, and shows a small GUI window opened from both Powershell and from Bash using the same Python script.

Securing and Optimizing Linux, pt. 1: Services

· 3 min read

I find that Red Hat Linux (dead link removed; SF 2025) is fairly secure by default, but could use a bit of tweaking. This is the first of a series of notes on optimizing and improving security in Linux. Some items may be specific to Red Hat, but most of these notes will be applicable to all systems. In part 1, we look at runlevel services.

Grad School and The Linux Guru

· 2 min read

Okay, so this is a slight tangent from my intentions with this site, but I must share the following quote from Neal Stephenson's Cryptonomicon, neatly summarizing (with only slight exaggeration to reality) my experience as a graduate student in physics.

Configuring RP-PPPOE in Red Hat Linux 9

· 3 min read

I finally got DSL again a few months ago, after 2 years of dial-up. Worked like a charm on my iBook, but not so on the Linux box. Actually, it wasn't so bad at first, but the DNS lookups were taking forever. Then it started dropping carrier. Often. To the point where, after a few minutes of using the computer, it was dropping every few seconds. Here's how I fixed it.

safnet logo