git: e4a0a54f3f - main - handbook: Update instructions for starting ConsoleKit

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 26 Dec 2023 19:02:20 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/doc/commit/?id=e4a0a54f3fc4215fe5aef21d3b175e09e989ba3f

commit e4a0a54f3fc4215fe5aef21d3b175e09e989ba3f
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-12-26 16:44:29 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-12-26 19:01:51 +0000

    handbook: Update instructions for starting ConsoleKit
    
    Differential Revision: https://reviews.freebsd.org/D43182
    
    Approved by:    carlavilla
---
 documentation/content/en/books/handbook/desktop/_index.adoc | 8 ++++----
 documentation/content/en/books/handbook/wayland/_index.adoc | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/documentation/content/en/books/handbook/desktop/_index.adoc b/documentation/content/en/books/handbook/desktop/_index.adoc
index a39d34f574..a78f439c31 100644
--- a/documentation/content/en/books/handbook/desktop/_index.adoc
+++ b/documentation/content/en/books/handbook/desktop/_index.adoc
@@ -188,7 +188,7 @@ For this to work, the following line is needed in ~/.xinitrc:
 
 [source,shell]
 ....
-% echo "exec ck-launch-session startplasma-x11" > ~/.xinitrc
+% echo "exec dbus-launch --exit-with-x11 ck-launch-session startplasma-x11" > ~/.xinitrc
 ....
 
 [[gnome-environment]]
@@ -397,7 +397,7 @@ For this to work, the following line is needed in `~/.xinitrc`:
 
 [source,shell]
 ....
-% echo "exec ck-launch-session mate-session" > ~/.xinitrc
+% echo "exec dbus-launch --exit-with-x11 ck-launch-session mate-session" > ~/.xinitrc
 ....
 
 [[cinnamon-environment]]
@@ -463,7 +463,7 @@ For this to work, the following line is needed in `~/.xinitrc`:
 
 [source,shell]
 ....
-% echo "exec ck-launch-session cinnamon-session" > ~/.xinitrc
+% echo "exec dbus-launch --exit-with-x11 ck-launch-session cinnamon-session" > ~/.xinitrc
 ....
 
 [[lxqt-environment]]
@@ -535,7 +535,7 @@ For this to work, the following line is needed in `~/.xinitrc`:
 
 [source,shell]
 ....
-% echo "exec ck-launch-session startlxqt" > ~/.xinitrc
+% echo "exec dbus-launch --exit-with-x11 ck-launch-session startlxqt" > ~/.xinitrc
 ....
 
 [[desktop-browsers]]
diff --git a/documentation/content/en/books/handbook/wayland/_index.adoc b/documentation/content/en/books/handbook/wayland/_index.adoc
index 97cf574661..f5fcf5bf60 100644
--- a/documentation/content/en/books/handbook/wayland/_index.adoc
+++ b/documentation/content/en/books/handbook/wayland/_index.adoc
@@ -75,7 +75,7 @@ And a few desktops are also available, such as the Compiz Fusion replacement, kn
 ====
 As of May, 2021, plasma5-kwin does support Wayland on FreeBSD.
 To use Plasma under Wayland, use the `startplasma-wayland` parameter to `ck-launch-session` and tie in dbus with:
-`ck-launch-session dbus-run-session startplasma-wayland`
+`dbus-launch --exit-with-x11 ck-launch-session startplasma-wayland`
 to get it working.
 ====