It's a mouse server for Linux console. (BTW, touchpads are supported too).
In Debian (and its derivatives like Ubuntu), it's very easy to start using it by simple installation from package repositories:
# apt-get install gpm
In case it gets stuck, you can try restarting the gpm service:
# service gpm restart