FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 01-10-2008, 06:27 PM
Patrice Dumas
 
Default Dropping Base X group?

On Thu, Jan 10, 2008 at 02:29:00PM -0500, Adam Jackson wrote:
> On Thu, 2008-01-10 at 19:43 +0100, Patrice Dumas wrote:
>
> Eew. Don't do it that way.
>
> atropine:~% xprop -root | grep VT
> XFree86_VT(INTEGER) = 7

And the device? How can it be obtained from the X server?

--
Pat

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-10-2008, 06:29 PM
Adam Jackson
 
Default Dropping Base X group?

On Thu, 2008-01-10 at 19:43 +0100, Patrice Dumas wrote:
> On Tue, Nov 06, 2007 at 07:10:53PM +0000, Kevin Kofler wrote:
> > Patrice Dumas <pertusus <at> free.fr> writes:
> > > I am a small desktop user. For the display managers, there are wdm,
> > > xdm and slim (but they lack integration with consolekit). For the
> >
> > I think my KDM ConsoleKit patch should be fairly easy to adapt to any
> > XDM-derived display manager, as KDM is also derived from XDM. The only caveat
>
> I have looked at both and, even though maybe kdm is derived from xdm
> they have diverged too much. Using libck-connector allows to achieve what
> the kdm consolekit does, however. And there is an equivalent of
> d->serverVT in xdm which would allow to set the X display device like
>
> sprintf(device, "/dev/tty%d", d->serverVT);

Eew. Don't do it that way.

atropine:~% xprop -root | grep VT
XFree86_VT(INTEGER) = 7

- ajax

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-10-2008, 06:34 PM
Patrice Dumas
 
Default Dropping Base X group?

On Thu, Jan 10, 2008 at 02:29:00PM -0500, Adam Jackson wrote:
>
> Eew. Don't do it that way.
>
> atropine:~% xprop -root | grep VT
> XFree86_VT(INTEGER) = 7

Also looking at the xdm code, looks like it does about that:
prop = XInternAtom(d->dpy, "XFree86_VT", False);
XGetWindowProperty(d->dpy, DefaultRootWindow(d->dpy), prop, 0, 1,
False, AnyPropertyType, &actualtype, &actualformat,
&nitems, &bytes_after, &buf)

--
Pat

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-10-2008, 07:57 PM
Kevin Kofler
 
Default Dropping Base X group?

Patrice Dumas <pertusus <at> free.fr> writes:
> device since X is all about hiding the hardware. I am currently
> discussing that with the xdm upstream maintainer, did you contact the
> kde upstream for the patch inclusion?

Yes: http://bugs.kde.org/show_bug.cgi?id=147790

The KDM maintainer rejected it. :-( For pretty unconvincing reasons at that: he
doesn't agree with the design (but it's the one which is advocated by the
ConsoleKit developers and which would allow implementing true fast user
switching in KDM later) and he doesn't want GPL (as opposed to X11-licensed)
code in the KDM backend (which makes no sense because the frontend is already
GPL and because merges back to XDM aren't going to happen anyway, because as
you said, the code has diverged a lot). (Part of the code is GPL because it's
derived from the GDM implementation.)

That said, several other distributions picked it up, for example in OpenSUSE,
it was applied to their packages by none other than Dirk Müller, the upstream
KDE release manager.

Kevin Kofler

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-10-2008, 09:46 PM
Christopher Aillon
 
Default Dropping Base X group?

On 01/10/2008 09:57 PM, Kevin Kofler wrote:

Patrice Dumas <pertusus <at> free.fr> writes:

device since X is all about hiding the hardware. I am currently
discussing that with the xdm upstream maintainer, did you contact the
kde upstream for the patch inclusion?


Yes: http://bugs.kde.org/show_bug.cgi?id=147790

The KDM maintainer rejected it. :-( For pretty unconvincing reasons at that: he
doesn't agree with the design (but it's the one which is advocated by the
ConsoleKit developers and which would allow implementing true fast user
switching in KDM later) and he doesn't want GPL (as opposed to X11-licensed)
code in the KDM backend (which makes no sense because the frontend is already
GPL and because merges back to XDM aren't going to happen anyway, because as
you said, the code has diverged a lot). (Part of the code is GPL because it's
derived from the GDM implementation.)


That said, several other distributions picked it up, for example in OpenSUSE,
it was applied to their packages by none other than Dirk Müller, the upstream
KDE release manager.


This makes me feel all warm and tingly about KDE...

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-10-2008, 10:05 PM
Patrice Dumas
 
Default Dropping Base X group?

On Thu, Jan 10, 2008 at 08:57:07PM +0000, Kevin Kofler wrote:
> Patrice Dumas <pertusus <at> free.fr> writes:
> > device since X is all about hiding the hardware. I am currently
> > discussing that with the xdm upstream maintainer, did you contact the
> > kde upstream for the patch inclusion?
>
> Yes: http://bugs.kde.org/show_bug.cgi?id=147790
>
> The KDM maintainer rejected it. :-( For pretty unconvincing reasons at that: he
> doesn't agree with the design (but it's the one which is advocated by the
> ConsoleKit developers and which would allow implementing true fast user
> switching in KDM later) and he doesn't want GPL (as opposed to X11-licensed)
> code in the KDM backend (which makes no sense because the frontend is already
> GPL and because merges back to XDM aren't going to happen anyway, because as
> you said, the code has diverged a lot). (Part of the code is GPL because it's
> derived from the GDM implementation.)

I think he is right on one point, libck-connector should be used instead
of picking the gdm code, it is under the MIT, and it is better to use a
lib to reuse code instead of cut and paste. gdm should certainly also
use libck-connector.

--
Pat

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 12:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org