[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2021-05-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

Nate Graham  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||02459d3e1c20fc0b9c503e84d18
   ||2f1504bd26a74
 Resolution|--- |FIXED

--- Comment #12 from Nate Graham  ---
Git commit 02459d3e1c20fc0b9c503e84d182f1504bd26a74 by Nate Graham.
Committed on 26/05/2021 at 01:58.
Pushed by ngraham into branch 'master'.

Set up DBus stuff properly in install-sessions.sh script

This is an extremely fiddly procedure well-suited for being automated
rather than documented.

The approach taken here should work for all distros, even those that
freak out if system DBus files are modified or symlinked into a home
directory.

M  +20   -0login-sessions/install-sessions.sh.cmake

https://invent.kde.org/plasma/plasma-workspace/commit/02459d3e1c20fc0b9c503e84d182f1504bd26a74

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2021-05-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=425272

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #11 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/884

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2021-05-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

Nate Graham  changed:

   What|Removed |Added

 CC||kyle.de...@mykolab.com

--- Comment #10 from Nate Graham  ---
*** Bug 436776 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2021-04-28 Thread Alex
https://bugs.kde.org/show_bug.cgi?id=425272

Alex  changed:

   What|Removed |Added

 CC||alex...@protonmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2021-02-21 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #9 from David Edmundson  ---
This is relevant https://github.com/sddm/sddm/pull/1370  effectively the option
2 in my list above.


It would solve session bus issues.
It would not solve polkit, but it's still in the right direction

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-12-06 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=425272

Andrey  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #8 from Andrey  ---
I wasn't aware about PolKit as it doesn't mentioned in the Wiki, only DBus
does:
https://community.kde.org/Get_Involved/development#Plasma

Maybe that's the reason I don't have Spectacle working in Wayland session.

As a least measure, shall we update the Wiki to mention all the required parts?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-11-03 Thread Andrey
https://bugs.kde.org/show_bug.cgi?id=425272

Andrey  changed:

   What|Removed |Added

 CC||butir...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-10-12 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #7 from Claudius Ellsel  ---
Alright, then.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-10-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #6 from Nate Graham  ---
No, because it's kind of a hack. It could overwrite system files and mess up
your dist-provided session.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-10-11 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #5 from Claudius Ellsel  ---
Do you plan to include it in the install script?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-10-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #4 from Nate Graham  ---
I use a bash function that does the following now:

function install-dbus-stuff {
echo "Let's install stuff!"
sudo ls > /dev/null
echo "Installing actions from ~/kde/usr/share/polkit-1/actions/ to
/usr/share/polkit-1/actions/"
sudo cp -r ~/kde/usr/share/polkit-1/actions/* /usr/share/polkit-1/actions/
echo "Installing everything from ~/kde/usr/share/dbus-1/ to
/usr/share/dbus-1/"
sudo cp -r ~/kde/usr/share/dbus-1/ /usr/share/
}

Seems to work fine in the absence of an automated solution to this problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-09-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=423953

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-09-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=425268

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-08-22 Thread Claudius Ellsel
https://bugs.kde.org/show_bug.cgi?id=425272

Claudius Ellsel  changed:

   What|Removed |Added

 CC||claudius.ell...@live.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-08-13 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #3 from David Edmundson  ---
For polkit system actions the important folders are:

polkit-1/actions
dbus-1/system.d   (sometimes clients also use /etc/dbus-1/system.d )
dbus-1/system-services

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-08-13 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=425272

--- Comment #2 from David Edmundson  ---
>install-sessions should also do whatever is needed to get DBus, PolKit, and 
>Kauth stuff working too. Then that stuff is transformed from a pain point into 
>an effortless non-issue, just like it did for making your built-from-source 
>Plasma desktop to appear in SDDM.

DBus has two parts; user and system. IMHO the user setup isn't too hard -
except for this new potential issue with /home. Personally I would solve that
by installing into /opt/kde5 rather than /home especially as it's useful to
test multiple users with your self-build setup.

One challenge to note is that if you set up DBus and Polkit correctly to use
your dev ones you have to apply something systemwide, which means any distro
session also will use any dev polkit things.
You can't make that change at runtime and you can't skip some root involvement.

-

For the sake of brainstorming, here's some other ideas:

 - We have a script/cron job to symlink some parts from your install into
/etc/. Effectively what I do for my polkit and system bus . It'll break setups
for people who install alongside distro KDE. 

 - We could use a pam hook to set up the session instead of the .desktop file.
At the time we run pam auth modules we know what session we will be loading.
This would allow us to manipulate XDG_DATA_DIRS before the user dbus-daemon is
started, which saves the session bus problem.

 - Some unionfs to mount a directory read-only on top of /usr at boot? Then all
system stuff would just work. Would require it to be done very early in the
boot before polkit. Probably a horrific idea.

 - We use something like checkinstall in kdesrc-build and then we can install
into /usr as packages. Would work for the neon case and I'm sure there's some
equivalent.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-08-12 Thread Gregor Mi
https://bugs.kde.org/show_bug.cgi?id=425272

Gregor Mi  changed:

   What|Removed |Added

 CC||codestr...@posteo.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 425272] install-sessions.sh should set up dbus/polkit/kauth stuff for your built-from-source Plasma desktop

2020-08-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=425272

Nate Graham  changed:

   What|Removed |Added

 CC||aleix...@kde.org,
   ||k...@davidedmundson.co.uk,
   ||tum...@gmail.com

--- Comment #1 from Nate Graham  ---
CCing a few people:
- David who apparently knows how to make this stuff work
- Tomaz who recently wrestled with this and maybe came up with a solution that
worked?
- Aleix who wrote install-sessions.sh

-- 
You are receiving this mail because:
You are watching all bug changes.