[PATCH RFC] Xorg: Add a suid root wrapper

2014-03-05 Thread Hans de Goede
With the recent systemd-logind changes it is possible to install the Xorg binary without suid root rights and still have everything working as it should *if* the user only has cards which are supported by kms. This commit adds a little suid root wrapper, which is a bit weird, first we strip the

[PATCH RFC 0/1] Xorg: Add a suid root wrapper

2014-03-05 Thread Hans de Goede
Hi All, Let me repeat the commit msg here as that explains it all: With the recent systemd-logind changes it is possible to install the Xorg binary without suid root rights and still have everything working as it should *if* the user only has cards which are supported by kms. This commit adds a

Re: Wrong virtualX when using vesa driver with no shadowFB

2014-03-05 Thread Adam Jackson
On Fri, 2014-02-14 at 11:47 +, Stefano Panella wrote: The reason why the problem happen is that in the vesa driver, as it is now, has no way to detect the needed alignment of the framebuffer unless using the shadowFB. I'd say more like doesn't than has no way to. The VBE (as I

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-05 Thread Alan Coopersmith
On 03/ 4/14 11:18 PM, Hans de Goede wrote: Beginner question: Are the more consumers of xtrans then just the xserver ? Yes - we wouldn't have it as a separate module if there weren't. % grep -il xtrans */*/configure.ac app/lbxproxy/configure.ac app/proxymngr/configure.ac

Re: [PATCH 4/5] miinitext: avoid allocating a sentinel ExtensionModule

2014-03-05 Thread Adam Jackson
On Mon, 2014-02-24 at 22:17 +, Emil Velikov wrote: Hello gents, Can someone take a look at this patch please. Keith already covered the rest of the series but this patch went below his radar. Reviewed-by: Adam Jackson a...@redhat.com - ajax

Re: glamor: Enabling xephyr and Xorg.

2014-03-05 Thread Adam Jackson
On Mon, 2014-02-24 at 17:47 -0800, Eric Anholt wrote: Here's a short series to make the server glamor stuff actually testable. I'm now running glamor for my normal desktop, and the xephyr bits work too. I pulled out changes that would have required more from the intel 2d driver: now it's

Re: Switching between a software and a hardware mouse cursor

2014-03-05 Thread Adam Jackson
On Thu, 2014-02-27 at 15:46 +0100, Michael Thayer wrote: Another would be to add a return value to the DDX CRTC functions load_cursor_argb, so that if the KMS driver failed to set the cursor, modesetting could pass this on to the X server. Actually we really should make load_cursor_argb

Re: Detecting whether the X server VT is the active one

2014-03-05 Thread Adam Jackson
On Thu, 2014-02-27 at 16:01 +0100, Michael Thayer wrote: Hello, Another problem that I am running into is that the X11 client part of our Guest Additions needs to know whether or not the X server VT is currently the active one, for example so that it can disable our seamless windows

Re: Communicating with the x-server

2014-03-05 Thread Adam Jackson
On Tue, 2014-03-04 at 12:45 +0100, Thomas Sondergaard wrote: My own thought was simply to have the x-server watch a property, say OPEN_URI, on the root window. Would that be the way to go? Well, that or add another request to the VNC extension. I'm not sure if there's a private namespace

Re: Communicating with the x-server

2014-03-05 Thread Thomas Sondergaard
Hi Adam, On 2014-03-05 20:10, Adam Jackson wrote: On Tue, 2014-03-04 at 12:45 +0100, Thomas Sondergaard wrote: My own thought was simply to have the x-server watch a property, say OPEN_URI, on the root window. Would that be the way to go? Well, that or add another request to the VNC

[PULL] glamor xephyr and xorg changes

2014-03-05 Thread Eric Anholt
The following changes since commit b634e909895f6001e7d9543e1350b20c82c8c01c: hw/xwin: More closely follow ICCCM for setting input focus (2014-03-03 14:33:09 +) are available in the git repository at: git://people.freedesktop.org/~anholt/xserver glamor-pull-request for you to fetch

Re: [PATCH RFC] Xorg: Add a suid root wrapper

2014-03-05 Thread Alan Coopersmith
On 03/ 5/14 07:51 AM, Hans de Goede wrote: This commit adds a little suid root wrapper, which is a bit weird, first we strip the suid-root bit of the Xorg binary, and then we add a wrapper ? Have you looked at Debian's Xwrapper and considered adopting it, or at least some of its functionality?