On Tue, Aug 27, 2019 at 03:12:05PM -0500, Bruce Dubbs via blfs-dev wrote:
> On 8/27/19 2:41 PM, Ken Moffat via blfs-dev wrote:
> > 
> >   So, beforeI rip elogind out of my
> > builds, can anyone please offer .xinitrc scripts (hopefully,
> > minimal: mine are anything but) which work with rootless X using
> > elogind, plus a note of which video driver (and I suppose input,
> > i.e. full libinput or just evdev) is being used ?
> 
> 
> $ ll /opt/xorg/libexec/
> total 17820
> -rwxr-xr-x 1 root root 18206928 Aug 16 15:09 Xorg
> -rwsr-xr-x 1 root root    30728 Aug 16 15:09 Xorg.wrap
> drwxr-xr-x 2 root root     4096 Aug 16 15:24 libinput
> 
> Fri 16 Aug 2019 03:20:59 PM CDT
> /usr/src/xc/drivers/libevdev/libevdev-1.7.0.tar.xz
> Fri 16 Aug 2019 03:21:53 PM CDT /usr/src/mtdev/mtdev-1.1.5.tar.bz2
> Fri 16 Aug 2019 03:23:07 PM CDT
> /usr/src/xc/drivers/evdev/xf86-input-evdev-2.10.6.tar.bz2
> Fri 16 Aug 2019 03:24:07 PM CDT
> /usr/src/xc/drivers/libinput/libinput-1.14.0.tar.xz
> Fri 16 Aug 2019 03:26:33 PM CDT
> /usr/src/xc/drivers/input-libinput/xf86-input-libinput-0.29.0.tar.bz2
> Fri 16 Aug 2019 03:28:32 PM CDT
> /usr/src/xc/drivers/fbdev/xf86-video-fbdev-0.5.0.tar.bz2
> Fri 16 Aug 2019 03:29:20 PM CDT
> /usr/src/xc/drivers/nouveau/xf86-video-nouveau-1.0.16.tar.bz2
> 
> $ cat /etc/X11/xorg.conf.d/nvidia.conf
> Section "Device"
>         Identifier "nvidia"
>         Driver "nouveau"
>         #Option "AccelMethod" "glamor"
> EndSection
> 
> $ ps -ef|grep elog
> root      1069     1  0 Aug25 ?        00:00:00 elogind-daemon
> 
> $ cat .xinitrc
> session=${2:-xfce}
> 
> dbus="dbus-launch --exit-with-session"
> 
> case $session in
>     fluxbox     ) exec startfluxbox                ;;
>     icewm       ) exec icewm-session               ;;
>     openbox     ) exec openbox-session             ;;
>     sawfish     ) exec sawfish                     ;;
>     kde5|plasma ) exec /opt/kf5/bin/startkde       ;;
>     xfce|xfce4  ) exec $dbus startxfce4            ;;
>     lxde        ) exec startlxde                   ;;
>     gnome       ) $dbus /usr/bin/gnome-session     ;;
> 
>     twm         ) xterm  -g 80x40+0+0   &
>                   xclock -g 100x100-0+0 &
>                   twm
>                   ;;
> 
>    # No known session, just say so
>     *) echo "Cannot run $1" ;;
> esac
> 
>   -- Bruce

Thanks, I'll try this within the next couple of hours on intel
(haswell), also modesetting on my old phenom (my current
expectation is that modesetting is not going to work, stiartx fails),
and then install radeon on the phenom and retry.  The intel uses
libinput, I think the phenom uses just evdev.

Details will follow.

The only significant difference I see is that I have
 export $(dbus-launch)
in all cases, going back to when I tried to build libreoffice using
its kde option (so that was a very long time ago!).

Yeah, I got the phenom back to giving a larger tty than 1024x768:
when I moved it to check the mouse cable was still plugged in, the
adaptor on vga-female to vga-female came askew.

Later, ĸen
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to