--- Em qui, 8/11/12, lux-integ <[email protected]> escreveu:

> De: lux-integ <[email protected]>
> Assunto: [blfs-support] xorg7.7 openbox xinitrc
> Para: "BLFS Support List" <[email protected]>
> Data: Quinta-feira, 8 de Novembro de 2012, 19:34
> Greetings,
> 
> I have installed xorg-7.7 and openbox-3.5.0.  
> startx  runs ok (Xwindows with
> twm)   but attempts to run xinitrc is proving
> 
> problemtic.

I use XORG_PREFIX=/usr, but what served to me, probably will for you.
 
>  I have the executible file $XORG_PREFIX/bin/xinit but no
> shell-script 
> $XORG_PREFIX/lib/X11/xinit/xinitrc.

Same for me.

> I  tried  a line like this in a created
> /root/.xinitrc:-
> exec dbus-launch  --exit-with-session 
> openbox-session  

If I remember correctly, you have been trying LXDE, when I was using
OpenBox. Funny, because for some months I switched back to LXDE, because 
lxpanel crashed a lot in OB.


> It did not work (X would not start)  in fact the mere
> existance of the file
> (root/.xinitrc  ) even an empty
> file   seemed to stop X starting.
> 

> I tried on the command line
> exec dbus-launch  --exit-with-session 
> openbox-session
> 
> and   system returns to login prompt.

Have you done that with normal user, or root?

> Help/advice would be appreciated.

I have just run OB in a VM, where I use LXDE, using the following (from
Andrew Benton) in /home/fernando/.xinitrc:

eval $(dbus-launch --auto-syntax --exit-with-session)
lxpanel &
exec openbox-session

Xinitrc is called from /home/fernando/.bash_profile:

xinit ~/.xinitrc &> ~/.x-session-errors

Actually, I use

if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
  while true; do
    read -p 'Do you want to start X? (y/n): '
    case $REPLY in
      [Yy]) xinit ~/.xinitrc &> ~/.x-session-errors ;;
      [Nn]) break ;;
      *) printf '%s\n' 'Please answer y or n.' ;;
    esac
  done
fi

[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to