[arch-general] [draft] xorg-server 1.16 is now available

Leonid Isaev lisaev at umail.iu.edu
Sat Jul 26 16:57:54 EDT 2014


On Sat, Jul 26, 2014 at 08:54:21AM +0200, Laurent Carlier wrote:
> Le samedi 26 juillet 2014, 03:11:45 Karol Blazewicz a écrit :
> > I can start only one rootless X session at a time. If I want to start
> > a second one while the first one is running, I have to use 'sudo
> > startx'.
> > I'm logging into tty and starting X as a user.
> > 
> > Did I mis-configure something or is it a "feature'? Can you start
> > multiple X sessions simultaneously with xorg 1.16?
> 
> I have not yet found how to do this with xorg 1.16 in rootless mode. Multiple 
> X sessions should work flawlessly with root rights.

Not really, in general. For me, Xserver 1.16 with root rights works only on
KMS-less systems. In other setups I have tested, X simply segfaults if running
as root. This happens on real hw as well as in vmware player (which provides
KMS). In the latter case I had to downgrade to xorg-server 1.15 to get my
desktop back (also, I do not use proprietary vmware tools).

Here are the errors on a real machine with hybrid AMD/Intel graphics:
------
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor
Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus
XT [Radeon HD 8870M / R9 M270X] (rev ff)

$ grep "(EE)" /var/log/Xorg.0.log
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2484.378] (EE) systemd-logind: failed to take device /dev/dri/card0: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[  2485.302] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  2485.305] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  2485.305] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2485.305] (EE) Failed to load module "vesa" (module does not exist, 0)
[  2485.376] (EE) systemd-logind: failed to take device /dev/dri/card0: Device already taken
[  2485.376] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[  2491.936] (EE) 
[  2491.936] (EE) Backtrace:
[  2491.937] (EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x56) [0x5938f6]
[  2491.937] (EE) 1: /usr/bin/Xorg.bin (0x400000+0x197af9) [0x597af9]
[  2491.937] (EE) 2: /usr/lib/libc.so.6 (0x7f88e4e55000+0x33df0) [0x7f88e4e88df0]
[  2491.937] (EE) 3: /usr/lib/libc.so.6 (0x7f88e4e55000+0x128696) [0x7f88e4f7d696]
[  2491.937] (EE) 4: /usr/bin/Xorg.bin (0x400000+0xa14e8) [0x4a14e8]
[  2491.937] (EE) 5: /usr/lib/libdbus-1.so.3 (dbus_connection_dispatch+0x3f1) [0x7f88e69055b1]
[  2491.937] (EE) 6: /usr/lib/libdbus-1.so.3 (0x7f88e68f5000+0x10805) [0x7f88e6905805]
[  2491.937] (EE) 7: /usr/bin/Xorg.bin (0x400000+0x9ae09) [0x49ae09]
[  2491.937] (EE) 8: /usr/bin/Xorg.bin (WakeupHandler+0x6b) [0x43c3ab]
[  2491.937] (EE) 9: /usr/bin/Xorg.bin (WaitForSomething+0x1c7) [0x590d27]
[  2491.937] (EE) 10: /usr/bin/Xorg.bin (0x400000+0x374f1) [0x4374f1]
[  2491.937] (EE) 11: /usr/bin/Xorg.bin (0x400000+0x3b866) [0x43b866]
[  2491.937] (EE) 12: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f88e4e75000]
[  2491.937] (EE) 13: /usr/bin/Xorg.bin (0x400000+0x25d0e) [0x425d0e]
[  2491.937] (EE) 
[  2491.937] (EE) Segmentation fault at address 0x0
[  2491.937] (EE) 
[  2491.937] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  2491.937] (EE) 
[  2491.937] (EE) 
[  2491.937] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2491.937] (EE) 
[  2493.888] (EE) systemd-logind: ReleaseControl failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[  2493.888] (EE) Server terminated with error (1). Closing log file.
------

Somehow, I can not make sense of the above error (X runs as root, so it can
write to /var/log/ but lacks permissions for a device?). Any ideas?

Thanks,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20140726/d043c49f/attachment.asc>


More information about the arch-general mailing list