Xlib extension "RANDR" missing on display ":1"

user2155370 picture user2155370 · Sep 22, 2013 · Viewed 33.1k times · Source

I'm using VPS and have installed vncserver on it.
When I run "midori" it always produces this error:

Xlib:  extension "RANDR" missing on display ":1".
1   0x7f28c1a3d9e5 /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3WTF11OSAllocator16reserveAndCommitEmNS0_5UsageEbbb+0xc5) [0x7f28c1a3d9e5]
2   0x7f28c1a3bf1f /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3JSC19ExecutableAllocator19initializeAllocatorEv+0x8f) [0x7f28c1a3bf1f]
3   0x7f28c1978af5 /usr/lib/libjavascriptcoregtk-1.0.so.0(_ZN3JSC19initializeThreadingEv+0x25) [0x7f28c1978af5]
4   0x7f28c20915ca /usr/lib/libwebkitgtk-1.0.so.0(webkitInit+0x7a) [0x7f28c20915ca]
5   0x7f28c20a37ef /usr/lib/libwebkitgtk-1.0.so.0(+0x3c47ef) [0x7f28c20a37ef]
6   0x7f28c5a24627 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_class_ref+0x4d7) [0x7f28c5a24627]
7   0x7f28c5a24595 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_type_class_ref+0x445) [0x7f28c5a24595]
8   0x7f28c5a0ccac /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_newv+0x85c) [0x7f28c5a0ccac]
9   0x7f28c5a0d1ec /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xec) [0x7f28c5a0d1ec]
10  0x7f28c5e8d4ed midori(+0x234ed) [0x7f28c5e8d4ed]
11  0x7f28c5e8eaff midori(main+0xd5f) [0x7f28c5e8eaff]
12  0x7f28c08c676d /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f28c08c676d]
13  0x7f28c5e905a1 midori(+0x265a1) [0x7f28c5e905a1]

Any ideas about what's going on?

Answer

Petesh picture Petesh · Oct 23, 2013

The vnc server you're using does not provide support for dynamically resizing/rotating the screen. midori seems to require this.

You should use a specific vnc server that supports this extension e.g. vnc4server, and the exception will not be thrown.