Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-01-19 08:02:02

winnieryl
Member
Registered: 2018-01-19
Posts: 8

logout reports error with xfce 4.12

Hi experts,

I am having trouble logout from my session using logout button or using command "xfce4-session-logout --logout", it pops up a window says:

Unable to contact D-Bus session bus
Failed to connect to socket /tmp/dbus-****, Connection refused

Any clue on this issue?


Thanks.

Offline

#2 2018-01-19 10:25:45

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: logout reports error with xfce 4.12

Are you using Arch Linux? Sounds similar to this bug...

Offline

#3 2018-01-19 10:36:16

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

nope, its a system based on debian called pardus

Offline

#4 2018-01-19 10:55:12

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: logout reports error with xfce 4.12

What about this one?

Sorry, I'm obviously no expert, just trying to help...

Offline

#5 2018-01-19 11:03:14

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

@alcornoqui,

Thanks for your information, I will check the link out(:

Offline

#6 2018-01-19 12:00:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: logout reports error with xfce 4.12

winnieryl wrote:

Hi experts,

I am having trouble logout from my session using logout button or using command "xfce4-session-logout --logout", it pops up a window says:

Unable to contact D-Bus session bus
Failed to connect to socket /tmp/dbus-****, Connection refused

Any clue on this issue?


Thanks.

Just to add to alcornoqui's reply and link to the Debian bug report...
How do you start Xfce?

If you use a dispaly manager, which one and which version?
If not, what does your .xinitrc or X startup look like?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2018-01-22 02:46:52

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

I use a script to call /etc/X11/Xsession to start the session. Didnt change anything in the script.

Offline

#8 2018-01-22 03:08:33

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

And when I use /usr/bin/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.login1/ org.freedesktop.login1.Manager.ReleaseSession, it reports:
dbus[479]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.985" (uid=16777216 pid=11874 comm="login -display :440 ") interface="org.freedesktop.login1.Manager" member="ReleaseSession" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=421 comm="/lib/systemd/systemd-logind ")

Last edited by winnieryl (2018-01-22 03:10:20)

Offline

#9 2018-01-22 17:16:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: logout reports error with xfce 4.12

winnieryl wrote:

I use a script to call /etc/X11/Xsession to start the session. Didnt change anything in the script.

Try starting Xfce via "startx" and the following ~/.xinitrc file:

#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec startxfce4

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2018-01-29 07:20:44

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

ToZ wrote:
winnieryl wrote:

I use a script to call /etc/X11/Xsession to start the session. Didnt change anything in the script.

Try starting Xfce via "startx" and the following ~/.xinitrc file:

#!/bin/sh

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec startxfce4

sorry for the very late response, been busy with my work. i tried your code, but during logging out, it reports another error:
Could not get owner of name 'org.xfce,SessionManager': no such name.

Offline

#11 2018-01-30 04:15:19

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: logout reports error with xfce 4.12

Something is wrong with your dbus setup.

Which version of Xfce are you running:

xfce4-about -V

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#12 2018-01-30 08:56:36

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

ToZ wrote:

Something is wrong with your dbus setup.

Which version of Xfce are you running:

xfce4-about -V

xfce4-about 4.12.1 (Xfce 4.12)

Copyright (c) 2008-2015
    The Xfce development team. All rights reserved.

Please report bugs to <http://bugzilla.xfce.org/>.
Translators list from 2015-03-15 16:44:46.

Offline

#13 2018-01-30 11:41:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: logout reports error with xfce 4.12

To rule out a system issue, create a second user account on your system. Start Xfce using the command "startxfce4" and see if everything works properly.

Out of curiosity, why are you not using the display manager that comes with Pardus to login?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#14 2018-01-30 11:51:44

winnieryl
Member
Registered: 2018-01-19
Posts: 8

Re: logout reports error with xfce 4.12

ToZ wrote:

To rule out a system issue, create a second user account on your system. Start Xfce using the command "startxfce4" and see if everything works properly.

Out of curiosity, why are you not using the display manager that comes with Pardus to login?

The machine joins to a AD domain, local users dont have this isuue, it happens when I use domain users to login with my company's product..

Offline

#15 2018-01-31 01:11:13

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: logout reports error with xfce 4.12

winnieryl wrote:

The machine joins to a AD domain, local users dont have this isuue, it happens when I use domain users to login with my company's product..

It would then appear that your issue is with the AD configuration.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB