bsodmike's photostream @ www.flickr.com

Archive of articles classified as' "Linux and Mac"

Back home

Installing NVIDIA driver in Ubuntu via SSH with X11 Forwarding

28/01/2010

Since my Ubuntu box has been running since 2006 (on the same install of 8.10!) as a headless terminal, I never bothered to install proper NVIDIA drivers…well, until today that is.

michaeldesilva@Ubuntu:~$ uname -ar
Linux Ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

I therefore downloaded NVIDIA-Linux-x86_64-190.53-pkg2.run, the 64-bit version of the driver and ‘chmod +x’ed it to make it an executable.

GDM needed to be stopped, and was easily taken care of with a ’sudo /etc/init.d/gdm stop’. This is where I ran into a problem. I am using an Apple keyboard, and could not perform a ‘ctrl-alt-F1′ to get to VT1 from VT7, since VT7 has no prompt.

This is where I had the idea of firing up terminal on my Mac Pro and SSHed in with X11 forwarding. I needed to access root quickly, so ’sudo bash’ came in rather handy. The rest was quite straightforward where I ran the executable and I was able to interact with the installer from my Mac.

Upon exiting from root, I simply restarted GDM and all was well.

No Comments

Mobile Colloquy: Best iPhone IRC Client

31/10/2009

By far, one of the best IRC clients I’ve used on the iPhone platform. It also just so happens that I switched from irssi over to Colloquy for IRC in OS X.

Today I stumbled upon a really awesome side product of running Colloquy on my Mac, especially since it is connected to the same network through which WiFi is supplied to the rest of the house.

*drum roll please…*…. inbuilt BNC, or what most people know as ‘IRC Proxies’. Simply connect to your Mac’s IP address (best to keep a static IP on your server anyway, and I’ve done this for my Mac Pro), enter the BNC username and password and you can instantly access all the networks and channels your Mac is connected to, seamlessly, in real time.

Responding via the iPhone gives you the same nick as that on your Mac, and as far are people in the channels are concerned – you are one and the same entity. That is essentially the purpose of BNC.

One could also setup a DynDNS (if you have a dynamic IP assigned by your ISP) to allow you to connect over 3G and still access your BNC when on the move. Right now, I’m going to use this to track IRC while I’m in different parts of the house.

No Comments

About

For the past couple years I lived in the UK, reading in BEng (Hons) Electronic and Computer Engineering at The University of Leeds and MSc (Dist) Mechatronics at King's College London.

My interests and hobbies include writing with Fountain Pens on various ink and paper, Swiss and German wristwatches, authoring articles in Mathematics, Physics, and Engineering, and Gundam modeling.

I have been following much Anime over the years as well as TV Shows with the likes of 24, Smallville, Dexter, and NCIS becoming favourites.