You are not logged in.
Pages: 1
ever since switching to arch, i have two xinitrc processes loaded for some reason when starting xfce4, ex:
27413 tty1     S      0:00 /bin/sh /home/sero/.xfce4/xinitrc
27417 tty1     S      0:00 /bin/sh /home/sero/.xfce4/xinitrci can always kill the second one with no effect, and my processes go down by one, and if i kill the first one, xfce4 is killed. so the second one isn't doing anything but taking up a process, and i'm wondering what it's doing there or if anyone else is getting that behavior. :?:
Offline
Looks like first xfce process is calling second xfce process. How do you start xfce? Do you have two screens defined in x config ?
My xfce process list looks like this:
-bash
_ xinit /opt/xfce4/etc/xfce4/xinitrc
_ X :0
_ sh /opt/xfce4/etc/xfce4/xinitrc
_ xftaskbar4
_ xfdesktop
_ /opt/xfce4/bin/xfce4-paneland I have 2 screens (crt and tv) on one nvidia card. Xfce4 starts automatically only on first one.
Offline
How do start xfce? do you run startxfce4 via command line? or is startxfce4 in ur .xinitrc and u startx?
If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing. 1 Corinthians 13:2
Offline
i have a ~/.bashrc alias called "gui" that runs startxfce4. only one screen in xorg.conf.
well, i guess it's not a huge deal, i just thought it was kind of strange. for a second i even had a paranoid flash that someone had hacked my box and was running xfce4 on some virtual desktop. 
Offline

what does your alias entry look like?
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline

 3231 vc/1     Ss     0:00 -bash
 3343 vc/1     S+     0:00  _ /bin/sh /usr/X11R6/bin/startx
 3354 vc/1     S+     0:00      _ xinit /home/damir/.xinitrc --
 3355 ?        S      0:55          _ X :0
 3395 vc/1     S      0:00          _ /bin/sh /home/damir/.xinitrc
 3396 vc/1     S      0:00              _ /bin/sh /opt/xfce4/etc/xfce4/xinitrc
 3400 vc/1     S      0:00                  _ /bin/sh /opt/xfce4/etc/xfce4/xinitrc
 3401 ?        S      0:00                  |   _ xscreensaver -no-splash
 3412 vc/1     S      0:00                  _ xftaskbar4
 3413 vc/1     S      0:00                  _ xfdesktop
 3414 vc/1     S      0:00                  _ xfcalendar
 3420 vc/1     S      0:21                  _ /opt/xfce4/bin/xfce4-panel3354 -> 3395
i start startxfce4 from ~/.xinitrc
The impossible missions are the only ones which succeed.
Offline
here's what i have:
  503 tty1     Ss     0:00 -bash
  561 tty1     S+     0:00  _ xinit /home/sero/.xfce4/xinitrc
  562 ?        S      0:01      _ X :0
  601 tty1     S      0:00      _ /bin/sh /home/sero/.xfce4/xinitrc
  605 tty1     S      0:00          _ /bin/sh /home/sero/.xfce4/xinitrci notice yours go to the xinitrc in /opt/xfce4/etc/xfce4, whereas mine go to the home directory. but you do have a duplicate extra one from /opt/xfce4/etc/xfce4, 3400. i guess maybe it just needs two when it's starting for some reason? though i don't get why 605/3400 still hang around when they're not needed.
my alias:
alias gui='startxfce4'
no big mystery there. 
Offline
I'm also using startxfce4 script but directly. This script calls other files. I think starting xfce "manually" from startx for example could reduce the number of processes. Check xfce4 docs http://www.xfce.org/index.php?page=docu … on&lang=en
Offline
cat /home/jlvsimoes/.xinitrc
#!/bin/sh
xsetroot -solid black -cursor_name watch
#nvidia-settings --load-config-only &
# fix broken $UID on some system...
if test "x$UID" = "x"; then
        UID=`id -u`
fi
# Those are my settings, change them as appropriate...
# Xft DPI: 96
# Xft.hintstyle: hintnone/hintslight/hintmedium/hintfull
# Xft hinting: 1/0
xrdb -nocpp -merge - << EOF
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
EOF
test -f $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
# Uncomment this if you want to load Xresources and/or Xdefaults
test -f $HOME/.Xresources && xrdb -merge $HOME/.Xresources/Xresources.txt
# test -f $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults
#xrdb -merge /home/jlvsimoes/.Xresources/Xresources. txt 
# Launch xscreensaver (if available), but only as non-root user
#test $UID -gt 0 && test -z $VNCSESSION && xscreensaver -no-splash &
# Run xfce4-session if installed
xfcesm=`which xfce4-session`
case "x$xfcesm" in
        x|xno*)
                ;;
        *)
                exec $xfcesm
                # Shouldn't get there, but anyway...
                exit
                ;;
esac
# or use old-fashioned startup script otherwise
#xfce-mcs-manager
xfwm4 --daemon
# Start-up stuff from ~/Desktop/Autostart directory, if it exists
# (as it seems to be the new standard)
if test -d "$HOME/Desktop/Autostart"; then
  for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do
    if test -x $HOME/Desktop/Autostart/$i; then
      $HOME/Desktop/Autostart/$i &
    fi
  done
fi
#xftaskbar4&
#xfdesktop&
rox -p xfce &
deskmenu &
#startkde
#xfcalendar&
panel=`which xfce4-panel`
case "x$panel" in
        x|xno*)
                ;;
        *)
                $panel
                ret=$?
                while test $ret -ne 0; do
                        xmessage -center -file - -timeout 20 -title Error <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
                        cat >&2 <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@moongroup.com list
Meanwhile the panel will be restarted
EOF
                        $panel
                        ret=$?
                done
                ;;
esac
xsetroot -bg white -fg red  -solid black -cursor_name watch
##end
ps aux | grep xinit
1000     16756  0.0  0.1  2324  516 vc/2     S+   01:08   0:00 xinit /home/jlvsimoes/.xinitrc -- /usr/X11R6/bin/X +xinerama -nolisten tcp
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+ 
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+ 
DI-- D- G-- e-- h! r++ z+ z* 
------END GEEK CODE BLOCK------
Offline
Pages: 1