I have setup ubuntu desktop on an AWS EC2 instance with the following config file:


export XDG_MENU_PREFIX="gnome-flashback-"
vncconfig -nowin &
autocutsel -fork
gnome-session --session=gnome-flashback-metacity -- 
disable-acceleration-check &

I can start vncserver now and connect to the instance using tightvnc, for example. I get my ubuntu GUI, but I am not able to start gnome-control-center. I get the following error on terminal:

(gnome-control-center:3308): Gdk-ERROR **: 20:07:22.389: The program 'gnome-control-center' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 104 error_code 1 request_code 149 (RANDR) minor_code 8)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

Any idea how I can fix this issue? I am also open to other gnome gui options other than gnome-flashback-metacity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.