(esxi) lubuntu, rdp + guis

Soldato
Joined
13 Feb 2003
Posts
6,157
I'm trying to set up a *nix vm for some C++ stuff.

I have a Lubuntu vm configured and also installed xrdp so I can remote into it from my windows desktop. However, it seems several apps have issues bringing up their UIs. E.g. the included abiword doesn't work:

(abiword:1884): Gdk-ERROR **: The program 'abiword' 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 154 error_code 1 request_code 153 minor_code 19)
(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.)

I have just installed Qt creator and that just doesn't do anything at all.

However, if instead of using mstsc.exe (win rdp), I use the console from the vSphere client then these both work ok.

Does anyone have any idea how I can get rdp and display working? The vsphere console is too small and impractical to use.
 
hmm, gfx memory was only set to 4MB. I bumped it up to 128MB - the maximum configurable.

Just installed vmware tools, but unfortunately I still have the same problem:

Code:
:~$ abiword

** (abiword:4711): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(abiword:4711): Gdk-ERROR **: The program 'abiword' 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 99 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)

qtcreator:
Code:
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
 
Last edited:
oh, that looks interesting - please could you give a bit more info? I've installed xming and changed some /etc/ssh/ssh_config settings but I haven't got it working. Not really sure what I'm doing with this.

I checked the box for x11 forwarding in putty and set the location to 127.0.0.1:10

ssh config:
Code:
ForwardX11 yes
X11UseLocalhost yes
AllowTcpForwarding yes
X11DisplayOffset 10
X11Forwarding yes

Code:
@lubuntu-1-virtual-machine:~$ abiword

** (abiword:1262): WARNING **: Could not open X display
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

** (abiword:1262): WARNING **: clutter failed 0, get a life.
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
No DISPLAY: this may not be what you want.
 
Last edited:
Ah! I had to match the displayoffset with an option in xming launcher - abiword is working! :D Now to reinstall qtcreator and try that.

Thanks so much.
 
hmm, it's a bit... wonky.

eTtVD1E.jpg


The file menu is displayed quite strangely
 
Back
Top Bottom