tightvnc sends bad request causing rdesktop and/or remmina to crash with Unity

Bug #1080006 reported by jan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tightvnc (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have now set up a local precise machine.
I use xrdp to connect to the new box.
On the old machine, I use tsclient in lucid.

All is fine and dandy till I try to launch an application in the precise screen.
At that moment, tsclient stops, and tries a reconnect.

Below the logging after starting tsclient from the command line.

** (tsclient:11817): WARNING **:
Autoselected keyboard map en-us
ERROR: channel_register
WARNING: Initializing sound-support failed!
X Error of failed request: BadAtom (invalid Atom parameter)
  Major opcode of failed request: 23 (X_GetSelectionOwner)
  Atom id in failed request: 0x0
  Serial number of failed request: 29974
  Current serial number in output stream: 29974

** (tsclient:11817): WARNING **:
Autoselected keyboard map en-us
ERROR: channel_register
WARNING: Initializing sound-support failed!
X Error of failed request: BadAtom (invalid Atom parameter)
  Major opcode of failed request: 23 (X_GetSelectionOwner)
  Atom id in failed request: 0x0
  Serial number of failed request: 30804
  Current serial number in output stream: 30804

(tsclient:11817): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2390: instance `0x965f8e0' has no handler with id `1162'

** (tsclient:11817): WARNING **:
Autoselected keyboard map en-us
ERROR: channel_register
WARNING: Initializing sound-support failed!
X Error of failed request: BadAtom (invalid Atom parameter)
  Major opcode of failed request: 23 (X_GetSelectionOwner)
  Atom id in failed request: 0x0
  Serial number of failed request: 33698
  Current serial number in output stream: 33698

(tsclient:11817): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2390: instance `0x965f9c0' has no handler with id `2388'

jan (jan-ubuntu-h-i-s)
affects: tsclient (Ubuntu) → rdesktop (Ubuntu)
Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

rdesktop shipped with precise crashes in a similar fashion on using rdp4

Autoselected keyboard map en-us
X Error of failed request: BadAtom (invalid Atom parameter)
  Major opcode of failed request: 23 (X_GetSelectionOwner)
  Atom id in failed request: 0x0
  Serial number of failed request: 39220
  Current serial number in output stream: 39220

on using rdesktop of precise to log in to precise with rdp5 (the default), rdesktop stops without logging just after the unity screen is built up on the screen.

Afterthought: If the atom ID of 0 is indeed an illegal value, this bus should not be filed against the rdesktop, but rather against the server in precise.

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

And so it is :the vnc server in precise / 12.04 sends a request that breaks clients.
I installed remmina on both the 10.04 and the 12.04 system, and remmina crashes just like rdesktop from tsclient.

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

Changed the add-on in xdrp on the server in precise / 12.04 from tightvncserver to vnc4server, and the problem disappeared. Thus it was tightvncserver causing the error.

affects: rdesktop (Ubuntu) → tightvnc (Ubuntu)
summary: - lucid tsclient channel_register error on connecting to precise
+ tightvnc sends bad request causing rdesktop and/or remmina to crash with
+ Unity
Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

Note that ~/.xsession contains
gnome-session --session=ubuntu-2d
otherwise crashes are immediate, before a screen is shown

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.