Every now and then I feel the need to spark up an application from my Linux machine and view it on my Mac laptop. The process is quite simple — I just always forget it and end up trawling through search results for it.
- X11 for Mac — this package provides an X server for the Mac, while not completely integrated into the desktop it's "good enough".
- 1 Linux box with an X server installed
Next we need to add an entry into the allowable X hosts on the Mac. The best way to do this is to start X11.app found in /Applications/Utilities, when the xterm appears type into it:
Now we can ssh from the mac into our Linux box with the -X flag that will set the DISPLAY variable in the ssh session :
xhost +[ip address of linux box]
Once you have successfully logged in, you can start X apps from the ssh session and they will appear on the Mac.
ssh -X [user]@[ip address of linux box]
Now next time xf86-input-evdev +dbus + hal-info makes your wireless mouse move only in the vertical direction, you can still use Evolution for your mail albeit from another machine.
Some would say that it is a long way from software engineering to journalism, others would correctly argue that it is a mere 10 metres according to the floor plan.During his first five years with CBS Interactive, Chris started his journalistic adventure in 2006 as the Editor of Builder AU after originally joining the company as a programmer.Leaving CBS Interactive in 2010 to follow his deep desire to study the snowdrifts and culinary delights of Canada, Chris based himself in Vancouver and paid for his new snowboarding and poutine cravings as a programmer for a lifestyle gaming startup.Chris returns to CBS in 2011 as the Editor of TechRepublic Australia determined to meld together his programming and journalistic tendencies once and for all.In his free time, Chris is often seen yelling at different operating systems for their own unique failures, avoiding the dreaded tech support calls from relatives, and conducting extensive studies of internets — he claims he once read an entire one.