On Wed, Mar 16, 2016 at 02:35:50PM +0100, Solène Rapenne wrote:
> Hello,
> 
> I am using xdm with window manager (window maker) and I can't get
> gnome-terminal to works.
> 
> My full /etc/rc.conf.local:
> 
> apmd_flags="-A"
> pkg_scripts=messagebus avahi_daemon avahi_dnsconfd cupsd
> xdm_flags=
> 
> 
> My full ~/.xsession:
> 
> if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ];
> then
>         eval `dbus-launch --sh-syntax --exit-with-session`
> fi
> LANG=fr_FR.UTF-8
> LC_ALL=fr_FR.UTF-8
> LC_MESSAGES=fr
> LC_CTYPE=fr_FR.UTF-8
> export LANG
> export LC_ALL
> export LC_MESSAGES
> export LC_CTYPE
> xrdb ~/.Xresources
> startxfce4
> 
> 
> `locale` output :
> 
> LANG=fr_FR.UTF-8
> LC_COLLATE="C"
> LC_CTYPE="fr_FR.UTF-8"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_MESSAGES="fr_FR.UTF-8"
> LC_ALL=fr_FR.UTF-8
> 
> 
> When starting "gnome-terminal" (from a xterm) I get the following error :
> 
> Error constructing proxy for
> org.gnome.Terminal:/org/gnome/Terminal/Factory0: Erreur lors de l'appel de
> StartServiceByName pour org.gnome.Terminal :
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.gnome.Terminal exited with status 8
> 
> 
> If I use another desktop environment like xfce4 started with xdm, it does
> the same error.
> If I use xfce4 started from gdm, gnome-terminal works as expected.
> 
> I am using -CURRENT (OpenBSD 5.9-current (GENERIC.MP) #1931: Mon Mar 14
> 22:16:38 MDT 2016).
> 
> I don't want to use gdm, I would like to keep xdm because I am happy with it
> and gnome-terminal should works "out of the box" or need a pkg-readme file
> if something is needed to get it working.

I think you need to have a look at Xfce's README
(/usr/local/share/doc/pkg-readmes/xfce-4.12*) - the way you start xfce
is 'sort of fine' but im not sure manually launching a session d-bus
like this works fine.
The 'blessed way' (to get shutdown/restart working among other things)
is to use 'startxfce4 --with-ck-launch' without manually launching a
session d-bus.
It *should* fix you gnome-terminal issue. At least here i have no issue,
but using slim instead of xdm.
Also, why not just using xfce4-terminal ? :)

Landry

Reply via email to