My approach is a bit low tech but works fine: When I press the F8 key the VNC client (vncviewer on Fedora) show a popup menu where I can "Send F8". Doing this wakes up the N900 and brings up the volume control, just as if I had pressed the volume control keys on the device itself.