April 2017

9101112 131415

Style Credit

Expand Cut Tags

No cut tags

May. 14th, 2009

orinoco77: (Default)
I've been able to spend some time tinkering with my aging iBook recently and one thing that's really starting to bother me is the ridiculously cramped screen. 800x600 just doesn't cut it anymore. So, I decided to see what I could do to change that. There are some published hacks whereby you can swap out the old LCD for one that's capable of a higher res, but having taken one of these things apart in the past, I'm in no particular hurry to do it again, so I thought I'd see what was possible with software. Turns out it's perfectly possible to get yourself an acceptable desktop on standard iBook hardware with nothing more than good old VNC.

If you're running linux on an old iBook like me, or if you've got one of those new-fangled eee-pc gizmos or similar, this might be of use to you. Basically, the idea is to use two VNC servers to firstly give yourself a desktop your hardware isn't capable of, then shrink it to fit. You'll actually need two different VNC servers to accomplish this, but it's not too much trouble and if you're using Debian or Ubuntu, they're both apt-getable. The recipe goes something like this:

Run your first VNC server to give yourself a larger than life desktop:
$ vncserver :2 -geometry 1024x768 -depth 16

Then run your second VNC server to shrink and re-present the first for your client:
$ x11vnc -display :2 -rfbport 5903 -scale 600/768

Finally, connect to the second server to see your scaled desktop:

vncviewer :3 -fullscreen

So, to recap, that's run me a new VNC server on display 2, at 1024x768, attach a new VNC server to that display, scale it to 800x600 and present it on display 3, and finally connect the viewer to display 3 to view the results.

It works pretty well. I'm typing this on my iBook, running the display at 1600x1200 and it's still readable and reasonably responsive (as much as this machine ever is).
Page generated Sep. 25th, 2017 03:09 pm
Powered by Dreamwidth Studios