Make KDE greeter

Bug #593497 reported by Robert Ancell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
Wishlist
David Edmundson

Bug Description

lightdm is desktop agnostic. A KDE/QT greeter would make it suitable for KDE.

Changed in lightdm:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
David Edmundson (david.edmundson) wrote :

This is to be built as a Qt client library for lightdm and then a separate KDE greeter.

Changed in lightdm:
assignee: nobody → David Edmundson (david.edmundson)
status: Triaged → In Progress
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Thanks David!

Revision history for this message
David Edmundson (david.edmundson) wrote :

A preview is available here:
http://gitweb.kde.org/scratch/davidedmundson/lightdm-qt.git/tree

Currently what will be the library, and a demo application are all in the same folder in an unorganised mess.

It will be merged into the main lightdm tree in the near future.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Hi David,

I've merged the greeter library changes into the lightdm branch. Question: did you add some annotations to the dbus .xml files to make them work with qdbusxml2cpp?

Revision history for this message
David Edmundson (david.edmundson) wrote :

Yes, I had to tell qdbusxml2cpp my internal names for any complex types (any structures/arrays, which aren't just simple ints, strings etc.

My display.xml looked like:

    <!-- Method for greeter to start authenticating a user -->
    <method name="StartAuthentication">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg name="username" direction="in" type="s"/>
      <arg name="result" direction="out" type="i"/>
      <arg name="requests" direction="out" type="a(is)"/>
     <annotation name="com.trolltech.QtDBus.QtTypeName.Out1" value="QList&lt;LdmAuthRequest&gt;"/>
  </method>

    <!-- Method for greeter to provide secrets for a user -->
    <method name="ContinueAuthentication">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg name="secrets" direction="in" type="as"/>
      <arg name="result" direction="out" type="i"/>
     <arg name="requests" direction="out" type="a(is)"/>
     <annotation name="com.trolltech.QtDBus.QtTypeName.Out1" value="QList&lt;LdmAuthRequest&gt;"/>
    </method>

I'm not sure it's worth editing the original .xml files to have these in.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Closing as we now have the example Qt greeter. Sure, it needs fixing up but it at least exists.

Changed in lightdm:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.