Review Request 115717: Do not require to have a DISPLAY env variable if WAYLAND_DISPLAY is set

Kevin Ottens ervin at kde.org
Tue Mar 4 20:14:44 UTC 2014



> On Feb. 19, 2014, 2:07 p.m., Alex Merry wrote:
> > I don't think papering over the X11-ness of kdesu like this is the right approach.  Of course, what this framework really needs is a test app; maybe a simple port of the kdesu app from kde-runtime?
> 
> Kevin Ottens wrote:
>     This kind of "papering over" can only be temporary indeed. Just wondering if Martin has the possibility to clean that up better at that stage?
>     
>     As for the test app: hell yes, definitely needed.
> 
> Martin Gräßlin wrote:
>     well yes if there's a testapp and that works I can implement it properly. But IIRC kdesu never worked on my setup (not having a password for root).

You can use it for other users than root you know. ;-)


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115717/#review50240
-----------------------------------------------------------


On Feb. 13, 2014, 9:41 a.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115717/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2014, 9:41 a.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kdesu
> 
> 
> Description
> -------
> 
> Do not require to have a DISPLAY env variable if WAYLAND_DISPLAY is set
> 
> If kdesu is compiled with X11 it required the DISPLAY variable to be
> set. This is no longer correct as it might have been compiled with
> X11 but is run on Wayland. Thus the code checks now also for
> WAYLAND_DISPLAY in the HAVE_X11 ifdef blocks. The Wayland support
> should become more complete, I do not know how it behaves if we compile
> without X11 support. Unfortunately there are no autotests and no test
> applications which one could use.
> 
> 
> Diffs
> -----
> 
>   src/client.cpp 91bfd78fbca6e5d8d365d924c0260087e3937948 
>   src/kcookie.cpp 59448351696c503b34b7507e9c3fa8efc53139f9 
> 
> Diff: https://git.reviewboard.kde.org/r/115717/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140304/affb9f8c/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list