Discussion:
[blfs-support] Failed to init libxfconf: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Rob
2016-10-07 16:33:25 UTC
Permalink
BLFS-7.10 Systemd
XFCE desktop
The error in the subject is what I get when I try running
xfconf-query
for anything.
contents of
~/.local/share/xorg/Xorg.0.log
cd ~/.local/share/xorg
grep EE Xorg.0.log
[132079.009] (EE) systemd-logind: failed to get session: PID 15254 does not belong to any known session
[132079.015] (EE) Failed to load module "fbdev" (module does not exist, 0)
[132079.015] (EE) Failed to load module "vesa" (module does not exist, 0)
Those are the only
EE
lines in the file.
I found this thread:
https://bbs.archlinux.org/viewtopic.php?id=153165
but my video drivers are installed properly.
grep Intel Xorg.0.log
[132079.014] (==) Matched intel as autoconfigured driver 0
[132079.014] (==) Matched intel as autoconfigured driver 1
[132079.014] (II) LoadModule: "intel"
[132079.014] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
snip
I found this other thread:
http://stackoverflow.com/questions/8556777/dbus-php-unable-to-launch-dbus-daemon-without-display-for-x11
but I think this is just a leetle bit overkill.
Would it be, perhaps, more advisable to install
a desktop manager such as
lightdm
in order to resolve these issues?
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information p
Bruce Dubbs
2016-10-07 16:51:42 UTC
Permalink
Post by Rob
BLFS-7.10 Systemd
XFCE desktop
The error in the subject is what I get when I try running
xfconf-query
for anything.
contents of
~/.local/share/xorg/Xorg.0.log
cd ~/.local/share/xorg
grep EE Xorg.0.log
[132079.009] (EE) systemd-logind: failed to get session: PID 15254 does not belong to any known session
[132079.015] (EE) Failed to load module "fbdev" (module does not exist, 0)
[132079.015] (EE) Failed to load module "vesa" (module does not exist, 0)
Those are the only
EE
lines in the file.
https://bbs.archlinux.org/viewtopic.php?id=153165
but my video drivers are installed properly.
grep Intel Xorg.0.log
[132079.014] (==) Matched intel as autoconfigured driver 0
[132079.014] (==) Matched intel as autoconfigured driver 1
[132079.014] (II) LoadModule: "intel"
[132079.014] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
snip
http://stackoverflow.com/questions/8556777/dbus-php-unable-to-launch-dbus-daemon-without-display-for-x11
but I think this is just a leetle bit overkill.
Would it be, perhaps, more advisable to install
a desktop manager such as
lightdm
in order to resolve these issues?
We recently mad a change to the systemd book to omit a change to the
startx script. If you did:

sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' -i startx.cpp

You can undo it by editing /opt/xorg/bin/startx (or /usr/bin/xtartx if you
installed in /usr) and removing the ': #' that was inserted. It should be
around line 137.

Of course you can remove the fbdev and vesa errors by building those
drivers. Be sure to run ldconfig after building.

-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: S
Rob
2016-10-07 17:00:03 UTC
Permalink
Post by Bruce Dubbs
We recently mad a change to the systemd book to omit a change to the
sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' -i startx.cpp
You can undo it by editing /opt/xorg/bin/startx (or /usr/bin/xtartx if you
installed in /usr) and removing the ': #' that was inserted. It should be
around line 137.
I do not have that sed change made:
Contents of
/usr/bin/startx
starting around line 130

# if no vt is specified add vtarg (which may be empty)
have_vtarg="no"
for i in $serverargs; do
if expr match "$i" '^vt[0-9]\+$' > /dev/null; then
have_vtarg="yes"
fi
done
if [ "$have_vtarg" = "no" ]; then
serverargs="$serverargs $vtarg"
fi

I assume that is code block we are looking for?
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe:
Bruce Dubbs
2016-10-07 17:23:52 UTC
Permalink
Post by Rob
Post by Bruce Dubbs
We recently mad a change to the systemd book to omit a change to the
sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' -i startx.cpp
You can undo it by editing /opt/xorg/bin/startx (or /usr/bin/xtartx if you
installed in /usr) and removing the ': #' that was inserted. It should be
around line 137.
Contents of
/usr/bin/startx
starting around line 130
# if no vt is specified add vtarg (which may be empty)
have_vtarg="no"
for i in $serverargs; do
if expr match "$i" '^vt[0-9]\+$' > /dev/null; then
have_vtarg="yes"
fi
done
if [ "$have_vtarg" = "no" ]; then
serverargs="$serverargs $vtarg"
fi
I assume that is code block we are looking for?
Yes. That seems to be OK for you.

-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See t
Loading...