Monthly Archives: August 2010

2 years and 7 months… my laptop’s finally saying goodbye…

I turned on my laptop yesterday and I noticed something different, the display’s not that smooth and the icons are grainy… I thought that maybe it’s nothing, just a software glitch or something. Realization (that the proble is quite serious) came later when I tried to watch a video. The display’s full of lines and the colors are off! Uh-oh…

Did a reboot and crossed my fingers… nope, same thing..

Did a reboot and went to BIOS, and this is what I got…

Definitely not a software problem… 😦

Hopefully, it’s the LCD (LCD can still be replaced)…

I hooked it up to an external display, a Samsung TV (it has an S-Video port)… and this what I’ve got…

Same thing… *sigh*…

Definitely not a software problem… definitely not an LCD problem… The only thing’s left is the video card.

Well, I can’t replace those, video card’s embedded to the motherboard… this can’t be fixed by a mere clean-up

It’s definitely a goodbye … 😦

Set-up a headless “file server”/”file burning station” with CentOS/RHEL 5 using VNC

I’m setting up a file server for my team that has to minimally comply with the following:

  • it has to cost NOTHING, parts have to be salvaged from old servers
  • it has to have a disk space of at least 1TB (must be RAID for good read/write performance)
  • it has to be headless (no monitor, keyboard and mouse), with GUI and accessible remotely
  • it has to have the ability to burn files using a USB DVD writer

setting up the disk space

I used (4) 500GB SATA drives and (2)  250 PATA drives (salvaged from our old servers) for this one. Deploying software RAID in CentOS is easy so I won’t elaborate on that.

Suffice to say my software RAID has this configuration:

going headless using VNC

I installed the GNOME desktop by default and accessed it remotely using VNC. Here’s a good guide [wiki.centos.org] on how to do it. Everything went well (at first…)

I hit a snag when I unplugged the monitor. After a reboot, the X server won’t load anymore. Last few lines of  /var/log/Xorg.0.log says “No screens found”. Apparently, installing the proprietary Nvidia driver has a side effect. The driver will try to “auto-detect” the monitor. But since no monitor is attached, the X server won’t load! (duh! so much for going headless…)

Reverting to the open-source driver fixed the problem. I opened /etc/X11/xorg.conf and changed “nvidia” to “nv“, then restarted X server.

burning files in CentOS?

Now, this one should be easy right. Well… apparently not… This got me baffled at first because I can’t access the DVD writer plugged in the system (got spoiled with Ubuntu). Eventually, I figured that it’s a file permission problem. The user must be added to the disk group. I added my username to the disk group by running this command as root:

$ usermod -aG disk pro

After a reboot I can now access the writer using k3b 🙂

Here’s a screenshot of the headless file server. I’m accessing it using Vinagre from my laptop running Ubuntu 10.04