Remote control Linux keyboard/mouse

Solution 1:

I would set up Synergy. It allows you to control multiple computers from a single keyboard. Simply move the mouse off the screen in the direction you choose and the input switches to that computer. I use it to control my Linux desktop and a Windows test box I have and it works great.

In your situation it would allow you to seamlessly control both the laptop and the desktop. This would make it great for surfing on the laptop while managing the media center on the TV.

The tool QuickSynergy will make setup as easy as typing in an IP address.