← Back to team overview

desktop-packages team mailing list archive

[Bug 1449282] Re: xserver-allow-tcp=true feature doesn't work with Xorg version 1.17.0

 

** Description changed:

- In order to enable X11 forwarding from an external host you must
- explicitly set the Xserver to listen by overriding the xserver-command.
- Previously you could set the xserver-allow-tcp=true and it would do this
- automatically.
+ [Impact]
+ xserver-allow-tcp=true option no longer works with X.org 1.17.
  
- I would have expected this change in behaviour to show up in
- README.Debian.gz but since it did not, perhaps the functionality of the
- "xserver-allow-tcp=true" is not working as expected.
+ [Test Case]
+ 1. Edit /etc/lightdm/lightdm.conf and set [SeatDefaults] xserver-allow-tcp=true
+ 2. Start LightDM
+ 3. Attempt to connect to the X server using TCP
  
- Below shows my before (no TCP listener on 6000) and after (TCP listener
- on 6000) lightdm.conf to re-enable the listener after the 15.04 upgrade.
+ Expected result:
+ Able to connect
  
- Before (14.10):
+ Observed result:
+ Unable to connect
  
- ~$ cat /etc/lightdm/lightdm.conf
- 
- [SeatDefaults]
- xserver-allow-tcp=true
- 
- After (15.04):
- 
- ~$ cat /etc/lightdm/lightdm.conf
- 
- [SeatDefaults]
- xserver-command=X -core -listen tcp
- xserver-allow-tcp=true
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 15.04
- Package: lightdm 1.14.0-0ubuntu2
- ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
- Uname: Linux 3.19.0-15-generic x86_64
- ApportVersion: 2.17.2-0ubuntu1
- Architecture: amd64
- CurrentDesktop: Unity
- Date: Mon Apr 27 17:33:26 2015
- InstallationDate: Installed on 2014-12-18 (130 days ago)
- InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
- LightdmConfig:
-  [SeatDefaults]
-  xserver-command=X -core -listen tcp
-  xserver-allow-tcp=true
- SourcePackage: lightdm
- UpgradeStatus: Upgraded to vivid on 2015-04-27 (0 days ago)
- 
- ###########################################
- i haven't /etc/lightdm/lightdm.conf
- when i tried to create it and write the lines above it was worse, my system didin't start.
- after a few experiment i have found something that works:
- i change my /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
- 
- before it was:
- [SeatDefaults]
- # Dump core
- xserver-command=X -core
- 
- now:
- [SeatDefaults]
- # Dump core
- xserver-command=X -core
- xserver-allow-tcp=true
- 
- and it works!
+ [Regression potential]
+ Low. X.org changed their default behaviour from listen by default to listen if "-listen tcp" is passed as a command line flag. This is just the equivalent change in LightDM. Since this is a new flag to X.org if a user was to use another X server there is a risk it would not understand that flag. However it seems unlikely since X.org is the only actively developed X server.

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

Title:
  xserver-allow-tcp=true feature doesn't work with Xorg version 1.17.0

Status in Light Display Manager:
  Triaged
Status in lightdm package in Ubuntu:
  Triaged
Status in lightdm source package in Vivid:
  Triaged
Status in lightdm source package in Wily:
  Triaged

Bug description:
  [Impact]
  xserver-allow-tcp=true option no longer works with X.org 1.17.

  [Test Case]
  1. Edit /etc/lightdm/lightdm.conf and set [SeatDefaults] xserver-allow-tcp=true
  2. Start LightDM
  3. Attempt to connect to the X server using TCP

  Expected result:
  Able to connect

  Observed result:
  Unable to connect

  [Regression potential]
  Low. X.org changed their default behaviour from listen by default to listen if "-listen tcp" is passed as a command line flag. This is just the equivalent change in LightDM. Since this is a new flag to X.org if a user was to use another X server there is a risk it would not understand that flag. However it seems unlikely since X.org is the only actively developed X server.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1449282/+subscriptions


References