[gdm-list] gdm-3.4.1: is patching gdm-server.c for extra command line arguments safe for this use case?
- From: Leho Kraav <leho kraav com>
- To: gdm-list gnome org
- Subject: [gdm-list] gdm-3.4.1: is patching gdm-server.c for extra command line arguments safe for this use case?
- Date: Tue, 29 May 2012 23:18:29 +0300
Hi all
I'm trying to obtain fast user switching functionality for my secondary
video card. Currently I'm using xdm to just run an Xorg instance on the
second card:
/etc/X11/xdm/Xservers:
:0 local /usr/bin/X :0 -nolisten tcp -config xorg-6600.conf -novtswitch
-sharevts -isolateDevice PCI:0:2:0 vt8
But I don't have a user-friendly user switching UI with xdm. It is
widely documented on the interwebs that somewhere between IIRC 2.20 and
3.0 gdm lost the ability to accept user-configured Xorg parameters. I
understand 3.4 landed some udev-based multi-seat support, but I'm not
sure if this is applicable to my situation at all.
So in the meanwhile I'd just like to try for something simple:
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c
index d0d8ff9..df89555 100644
--- a/daemon/gdm-server.c
+++ b/daemon/gdm-server.c
@@ -320,7 +320,7 @@ gdm_server_init_command (GdmServer *server)
fallback:
#endif
- server->priv->command = g_strdup_printf (X_SERVER " -br
-verbose%s", logverbose);
+ server->priv->command = g_strdup_printf (X_SERVER " :0 -br
-nolisten tcp -config xorg-6600.conf -novtswitch -sharevts
-isolateDevice PCI:0:2:0 -verbose%s vt8", logverbose);
}
static gboolean
Is this destined to fail for either or both:
a) just switching from xdm to gdm
b) being able to use fast user switching on the second display adapter
Thanks for any information.
--
Leho Kraav, M.Sc.
http://leho.kraav.com
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]