← Back to team overview

desktop-packages team mailing list archive

[Bug 1440570] Re: VNC'ing into gnome-session-flashback (Metacity) in non-shared desktop mode causes Super+KEY pressed behavior

 

** Branch linked: lp:ubuntu/trusty-proposed/metacity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to metacity in Ubuntu.
https://bugs.launchpad.net/bugs/1440570

Title:
  VNC'ing into gnome-session-flashback (Metacity) in non-shared desktop
  mode causes Super+KEY pressed behavior

Status in metacity package in Ubuntu:
  Fix Released
Status in metacity source package in Trusty:
  Fix Released
Status in metacity source package in Utopic:
  Confirmed
Status in metacity source package in Vivid:
  Fix Released

Bug description:
  [Impact]
  When VNC'ing into gnome-session-flashback (Metacity) with either tightvncserver or vnc4server configured for non-shared desktop mode, when one opens a terminal for example, and types the "s" key, it acts as if the Super key is also pressed along with it. Hence, this appears to be a gnome-* issue.

  [Test Case]
  Vivid new install setup for tightvncserver:
  sudo apt-get update && sudo apt-get -y dist-upgrade && sudo apt-get -y install xrdp gnome-session-flashback && sudo apt-get -y remove vino && nano .xsession
  #START
  export XDG_CURRENT_DESKTOP='GNOME-Flashback:Unity'
  exec gnome-session --session=gnome-flashback-metacity --disable-acceleration-check
  #END

  sudo nano /etc/xrdp/xrdp.ini

  change to:
  #START
  [globals]
  bitmap_cache=yes
  bitmap_compression=yes
  port=3389
  crypt_level=high
  channel_code=1
  max_bpp=24
  #black=000000
  #grey=d6d3ce
  #dark_grey=808080
  #blue=08246b
  #dark_blue=08246b
  #white=ffffff
  #red=ff0000
  #green=00ff00
  #background=626c72

  [xrdp1]
  name=sesman-Xvnc
  lib=libvnc.so
  username=ask
  password=ask
  ip=127.0.0.1
  port=-1
  #END

  Log out, log back in, and RDP in via either Windows Remote Desktop
  Connection or Remmina.

  
  [Regression Potential]
  This patch adds an additional check for modmask. It is already in upstream metacity.

  
  WORKAROUND: Applications > System Tools > System Settings > Keyboard > Shortcuts > Disable all shortcuts containing the Super key.

  WORKAROUND: Don't use the .xsession file with tightvncserver, but this
  then creates a shared desktop experience, instead of ones own, not
  seen by the user at the local console.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: vnc4server 4.1.1+xorg4.3.0-37.3ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
  Uname: Linux 3.19.0-12-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME-Flashback:Unity
  Date: Sun Apr  5 13:10:40 2015
  InstallationDate: Installed on 2014-12-14 (112 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141213)
  SourcePackage: vnc4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1440570/+subscriptions