Robert, the following snippet is used to retrieve current Xorg version
in http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ldm-
trunk/view/head:/screen.d/ldm:

X -version 2>&1 | grep "X.Org X Server" | sed -n 's/X.Org X Server //p'

Maybe you can use it in a new function e.g.
x_server_local_minimal_version (major, minor, bgufix):

if x_server_local_minimal_version (1, 17, 0) {
    // Do stuff for Xorg server >= 1.17.0
}

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to