A simple guide to running programs straight from your Linux workstation on a remote host. Windows included.

Image for post
Image for post
Photo by Sai Kiran Anagani on Unsplash

Background

My team uses Fedora in a Windows environment. Usually, it works okay, but VNC for pair programming was fraught with troubles. We run multiple monitors locally, but pairing on a large conference room TV required disabling monitors and lowering the screen resolution. After we finished, we had to switch it back. Don’t even get me started on the lag that VNC introduced.

X11 forwarding is a simple and battle-tested way to access our Linux workstations (and their remote data/programs) from a Windows machine. It’s a perfect solution for pair programming without having to install the entire stack of tools.

After you complete this guide, you should be able to use a Windows workstation to run your IDE directly from your Fedora workstation just like it was a native experience. …


Sublime Text is my go-to editor for system administration duties (since I automate configuration management, I don’t edit config files over SSH with vim too often.)

I was surprised to see just how much I missed syntax highlighting when I was managing systemd unit files. It turns out writing a sublime-syntax file isn’t too hard.

Feel free to drop this in your Sublime packages folder as Systemd.sublime-syntax and you should get some basic formatting help!

%YAML 1.2
---
name: Systemd
file_extensions: [service]
scope: source.c

contexts:
main:
- match: '^([A-Za-z]+(?=([\=][\-]?)))'
scope: keyword.other
- match: '^\[[A-Za-z]+\]'
scope: entity.name.section
- match: '(\\\w)?'
scope: entity.name
- match: '\\'
scope: constant.character.escape …

About

Dan Bowling

Solutioneer, PMP, ScrumMaster, and wannabe astronaut.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store