I have the same problem:
[EMAIL PROTECTED]:~$ xrandr
X Error of failed request: BadRequest (invalid request code or no such
operation)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 6 ()
Serial number of failed request: 9
Current serial number in output
I'm using a Lenovo R61i Thinkpad, and I have the same problem.
$ cat /etc/issue
Ubuntu 7.10 \n \l
$ xrandr
X Error of failed request: BadRequest (invalid request code or no such
operation)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 6 ()
Serial number