I have a Virtual Private Network (VPN) setup so that I can connect to my home network and use things such as my Synology file server when I’m not at home. This works most of the time when the IP address network of the local (e.g., Wi-Fi hotspot, etc.) doesn’t conflict with my home’s IP address network (10.x.y.0/24). However, I have come across some Wi-Fi hotspots which use a subnet of 10.0.0.0/8. The default route through the hotspot network is then used when I try to access my home resources, instead of going through the VPN.Continue Reading
XDMCP Login from Mac to Lubuntu 11.10
My old desktops run Lubuntu (Ubuntu but lightweight!) 11.10, which just became part of the official Ubuntu release. Life is a lot zippier in Lubuntu compared to Ubuntu when you’re on Pentium III and Celeron machines.
I wanted to be able to login to these computers remotely with a GUI, sort of like Microsoft’s Remote Desktop but Linux style. I didn’t want VNC because I wanted to be able to create a new login session instead of using the main console. Luckily XDMCP does exactly that and most of it is built into Ubuntu.
Following one question previously posted on AskUbuntu, I proceeded to add the following snippet to /etc/lightdm/lightdm.conf:
Then following the procedures posted by David Winter, I opened Terminal on my Mac, and typed in:
/usr/X11R6/bin/X -query 192.168.0.1 (replace 192.168.0.1 with the IP address of your Lubuntu computer). After a few moments the Ubuntu login screen showed up. Perfect!
I made myself an alias so that I wouldn’t have to remember the complicated command line. In ~/.bash_profile, I added:
alias xdmcp="/usr/X11R6/bin/X -query"
So now I can start a XDMCP session by typing in