Public bug reported: When the Xmir server is run on a device or desktop under Unity 8 it fails to start with the following error messages.
[xkb] Can't rename /run/user/32011/confined/com.ubuntu.sdk/fileSgDXpU to /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm, error: Invalid cross-device link XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. (EE) Fatal server error: (EE) Failed to activate core devices.(EE) We traced the problem down to the fact that the $TMPDIR is set in the environment and points to a confined location in the /run filesystem, and x.org uses the hardcoded path of /tmp which is a different filesystem. A Ubuntu-specific patch to the x.org server attempts to rename the .xkm file across filesystems (which is not allowed). To avoid this error the Ubuntu-speicific patch to cache the xkb file should also patch the hardcoded /tmp to use $TMPDUR if it is set. ** Affects: xorg-server (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1564920 Title: x.org server fails to start when $TMPDIR is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1564920/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp