! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
slim in /etc/ttys causes xfdesktop to core dump.
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfdesktop
Component:
General

Comments

Description Anthony Howe 2010-02-28 11:20:46 CET
slim in /etc/ttys causes xfdesktop to core dump.

NetBSD 5.0.2

I'm trying to configure SLiM to start at boot time using /etc/ttys.
This does work fine without issue when using xdm. I suspect this is
a slim environment problem that is affecting xfdesktop adversely.

Below is how to duplicate the problem and additional information as
to state:

1. Assert xfce4

cd
# For slim
ln -s /usr/pkg/bin/startxfce4 .xinitrc
# For xdm
ln -s /usr/pkg/bin/startxfce4 .xsession


2. Edit /etc/ttys

ttyE4 "/usr/bin/slim" vs100 on secure

The type field can be anything it appears (unknown, vs100, vt220, ...)

3. kill -s HUP 1

slim login window should appear.

4. Login as user.

At this point a dialogue appears with the message:

Unable to contact settings server.
Failed to connect to socket /tmp/dbus-gumhMXZrvl:
Connection refused

In a separate ssh or console login, it can be seen that the following
processes related to X are running:

/usr/pkg/bin/xfce4-session
/usr/bin/ssh-agent -s
/usr/pkg/bin/dbus-launch --sh-syntax --exit-with-session
pickup -l -t fifo -u
xscreensaver
/usr/bin/slim ttyE4
/bin/sh /usr/pkg/etc/xdg/xfce4/xinitrc
/usr/X11R7/bin/X -auth /var/run/slim.auth (Xorg)
/usr/pkg/bin/dbus-daemon --fork --print-pid 6 --print-address 8 --session


Also ls -la /tmp/dbus* shows

srwxrwxrwx  1 achowe  wheel  0 Feb 28 11:46 /tmp/dbus-VsXHFy2vVE

5. Click Close.

~/xfdesktop.core is created. /var/log/slim.log shows lots of errors.
See attached.

6. At this point the following are running:

/bin/sh /usr/pkg/etc/xdg/xfce4/xinitrc
/usr/pkg/bin/dbus-daemon --fork --print-pid 6 --print-address 8 --session
/usr/bin/slim ttyE4
/usr/X11R7/bin/X -auth /var/run/slim.auth (Xorg)
/usr/pkg/libexec/xfce4/panel-plugins/xfce4-menu-plugin socket_id name id display_name size screen_position
xscreensaver
pickup -l -t fifo -u
/usr/bin/ssh-agent -s
/usr/pkg/bin/xfce4-session
Thunar
/usr/pkg/bin/dbus-launch --sh-syntax --exit-with-session
xfce4-panel

Desktop is missing, window manager, and other things. It is possible to
start terminal window and get the shell environment:

_=/usr/bin/env
PAGER=more
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-VsXHFy2vVE,guid=32400b8619a05e8a3c3edc374b8a4d80
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/pkg/share
SHELL=/bin/ksh
EDITOR=vi
GLADE_MODULE_PATH=:
LIBGLADE_MODULE_PATH=:/usr/pkg/lib/libglade/2.0
USER=achowe
MAIL=/var/mail/achowe
GLADE_CATALOG_PATH=:
GTK_PATH=:/usr/pkg/lib/gtk-2.0
DISPLAY=:0.0
HOME=/home/achowe
SSH_AUTH_SOCK=/tmp/ssh-00007357aa/agent.7357
PWD=/home/achowe
SSH_AGENT_PID=7198
TERM=xterm
COLORTERM=Terminal
XAUTHORITY=/home/achowe/.Xauthority
WINDOWID=23068675
GLADE_PIXMAP_PATH=:
SESSION_MANAGER=local/chippy.snert.com:/tmp/.ICE-unix/7298
EXINIT=set autoindent
ENV=/home/achowe/.shrc
LOGNAME=achowe

7. Exit terminal, logout of window session.

a) I presume this is a SLiM environment setup issue, though the xfdesktop.core
would indicate a problem.

b) why is the dbus socket connection being refused?

c) is there a work around for this until SLiM and/or xfce4 have fixes?

Thank you for your time and attention.
Comment 1 Anthony Howe 2010-02-28 11:22:24 CET
Created attachment 2865 
slim.log related to initial bug description
Comment 2 Eric Koegel editbugs 2014-07-24 18:54:09 CEST
This isn't a bug in xfdesktop, your configuration isn't setup correctly it seems. All those error messages about dbus and permissions point to something more. Does this still happen?
Comment 3 Anthony Howe 2014-07-25 00:18:00 CEST
This bug is 4 years old!  I don't use XFCE on any current machine at this time.
Comment 4 Eric Koegel editbugs 2014-07-27 21:49:33 CEST
I'm just trying to clean up the bug tracker and hunt down any problems that we still can fix. Marking resolved.

Bug #6265

Reported by:
Anthony Howe
Reported on: 2010-02-28
Last modified on: 2014-07-27

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Version:
Unspecified

Attachments

slim.log related to initial bug description (17.42 KB, text/plain)
2010-02-28 11:22 CET , Anthony Howe
no flags

Additional information