On Mon, Nov 28, 2011 at 17:19, Leonid Isaev <lisaev@umail.iu.edu> wrote:
On Mon, 28 Nov 2011 16:49:21 -0600 Myra Nelson <myra.nelson@hughes.net> wrote:
Leonid:
The solution is on the wiki ( https://wiki.archlinux.org/index.php/Xinitrc), I read it the other night, I didn't read far enough, and I applied the fix backwards because I didn't read the xfce manually page. It has to do with https://bugs.archlinux.org/task/25031, for which you have a
comment.
I crafted my .xinitrc file like this
[ numlockx & autocutsel -fork & autocutsel -selection PRIMARY -fork &
# Source scripts in /etc/X11/xinit/xinitrc.d/ if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi exec openbox-session ]
Instead of like this:
[ numlockx & autocutsel -fork & autocutsel -selection PRIMARY -fork &
# Source scripts in /etc/X11/xinit/xinitrc.d/ #if [ -d /etc/X11/xinit/xinitrc.d ]; then # for f in /etc/X11/xinit/xinitrc.d/*; do # [ -x "$f" ] && . "$f" # done # unset f #fi exec ck-launch-session dbus-launch openbox-session ]
The first way udisks also fails for a normal user on the console. The second way everything works right. My bad. Meaculpa. Sorry for the noise.
before change
[myra@gandalf /media]:/usr/bin/ck-list-sessions | ps -e u | grep xinitrc myra 3680 0.0 0.0 15732 836 tty1 S+ 11:49 0:00 xinit /home/myra/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.RnDioa9aqT
after change [myra@gandalf ~]:/usr/bin/ck-list-sessions | ps -e u | grep xinitrc myra 1866 0.0 0.0 15732 832 tty1 S+ 16:24 0:00 xinit /home/myra/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.ijpyBJwqre
Myra
In any normal desktop, the job of the starter scripts is to setup the session by calling dbus-launsh with appropriate arguments. However, openbox is quite limited in this sense and does none of the above. That is why you need dbus-launch in your .xinitrc. And that is also why the wiki is completely wrong.
Finally, why on earth did you pipe ck-list-sessions to ps??? I meant these as separate commands. I just wanted to see whether you have dbus-launch running, like this:
$ ps -e u | gr dbus dbus 769 0.0 0.0 13124 1084 ? Ss 09:27 0:00 /usr/bin/dbus-daemon --system
lisaev 26173 0.0 0.0 20000 584 pts/0 S 09:38 0:00 dbus-launch --sh-syntax --exit-with-session
lisaev 26174 0.0 0.0 13264 1304 ? Ss 09:38 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
-- Leonid Isaev GnuPG key ID: 164B5A6D Key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
Leonid Please forgive my error on the commands. I don't always sort things out right. I'm still recovering from a long hospital stay from CO2 poisioning, self inflicted from copd and I simply forget to breathe. It's been almost a year and I still not right. I was thinking after my last post that I don't seem to communicate my thoughts well anymore, unless it's one of my rants. It may be a generational thing, I'm not sure, since my golden (lol) years have arrived. It may be my adhd coupled with early onset dementia from the CO2 episode. I know all I can do is keep trying until I get it right. That may be too much info for the ml. I know I sometimes seem muddled but there is a reason for it. I'm only hoping it goes away or I'll be back to using an os that does everything for me, UGH. Thanks for everyone's patienence. Myra -- Life's fun when your sick and psychotic!