Public bug reported: Steps to reproduce:
(1) As a certain user (userX), launch xvfb using xinit (successfully) thus: $ /usr/bin/xinit /usr/bin/xterm -- /usr/bin/Xvfb :40 -screen 0 1280x1024x24 -cc 4 -nolisten tcp [dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list! /usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1 (2) As another user (userY), launch xvfb using xinit *unsuccessfully*: $ /usr/bin/xinit /usr/bin/xterm -- /usr/bin/Xvfb :41 -screen 0 1280x1024x24 -cc 4 -nolisten tcp [dix] Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list! [xkb] Can't rename /tmp/fileHBWEE2 to /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm, error: Operation not permitted [xkb] Can't rename /tmp/fileOBPSkE to /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm, error: Operation not permitted XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. Fatal server error: Failed to activate core devices. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: No such file or directory /usr/bin/xinit: server error (3) The reason is that /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm already exists and is owned by userX, as detailed here on the same system: $ ls -l /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm -rw------- 1 userX groupX 11252 Oct 17 16:49 /tmp/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm ** 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/1067917 Title: Cannot launch more than one xvfb instance as different users To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1067917/+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