Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] fvwm and fvwm-crystal launched 2 times
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Fri Nov 11, 2016 8:34 pm    Post subject: [solved] fvwm and fvwm-crystal launched 2 times Reply with quote

Hi all,

After my last world update, I have a strange issue with fvwm-crystal: it is launched 2 times. This append both with startx and with lightdm. If, from inside fvwm-crystal, I launch a nested fvwm-crystal session, it is launched only 1 time. You can see the process tree of both the "regular" fvwm-crystal session launched by lightdm, and the session launched by xephyr here: https://s14.postimg.org/qkzj7tj8h/Screenshot_20161111_203140.png

We can see than fvwm-crystal is launched only one time with Xephyr, but with lightdm (and also with startx), lightdm start fvwm-crystal (the 'fvwm -f <config file>' command), which in turn start again fvwm-crystal.

This is a very strange behaviour, because if the fvwm-crystal start script was faulty, the second fvwm invocation should start a third one, which should start a forth one, and so on; and fvwm-crystal should also behave the same with Xephyr; and last but not least, this also should have been the case before my last world update.

I experimented a lot with .bash_profile and .xinitrc and nothing helped. Even with "startx /usr/bin/fvwm-crystal", crystal start a second fvwm instance. Which is very silly because it work as expected with Xephyr.

Any suggestion?
_________________
"Confirm You are a robot." - the singularity


Last edited by Dominique_71 on Thu Dec 08, 2016 1:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Sat Nov 12, 2016 11:22 am    Post subject: Reply with quote

Hi Dominique,

Very strange issue, and I don't have a clue. I can only say that it doesn't happen here. Latest tree, fvwm-crystal live ebuild. Tried wdm, and startx with ~/.xinitrc. I don't have a ~/.xsession file.

Code:
# ps axjf
(...)
    1 26076 26076 26075 ?           -1 S        0   0:00 /usr/bin/wdm
26076 26077 26076 26075 ?           -1 S        0   0:00  \_ /usr/bin/wdm
26077 26084 26084 26084 tty7     26084 Ss+      0   0:23      \_ /usr/bin/X -nolisten tcp vt7 -novtswitch -auth /etc/X11/wdm/authdir/authdir/authfiles/A:0-NfA9hj
26077 26089 26089 26075 ?           -1 S        0   0:00      \_ -:0         
26089 26100 26100 26075 ?           -1 S     1000   0:01          \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config
26100 26135 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 9 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonS
26100 26142 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmEvent 13 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Butto
26100 26242 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0
26100 26246 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmEvent 16 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0
26100 26282 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmEvent 21 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remem
26100 26300 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 17 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbna
26100 26451 26451 26075 ?           -1 S     1000   0:00              \_ /bin/bash /usr/bin/../share/fvwm-crystal/fvwm/scripts/UpdateInfoline 5 /usr/bin/../share/fvwm-crystal/fvw
26451 10664 26451 26075 ?           -1 S     1000   0:00              |   \_ sleep 5
26100 26477 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 17 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 FvwmButtons-Pa
26100 26479 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 23 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 FvwmButtons-Pa
26100 26485 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 25 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 FvwmButtons-Pa
26100 26488 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 27 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 FvwmButtons-Bo
26100 26494 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 30 27 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 -g 96x27+137-
26100 26497 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 31 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 FvwmButtons-Bo
26100 26499 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 33 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 FvwmButtons-Bo
26100 26503 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 35 6 /usr/bin/../share/fvwm-crystal/fvwm/recipes/Amiga 0 8 ApplicationPan
26100 26504 26504 26075 ?           -1 S     1000   0:00              \_ xscreensaver -nosplash
26100 26506 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmEvent 37 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnai
26100 26650 26650 26075 ?           -1 S     1000   0:00              \_ stalonetray --decorations none --window-type dock --transparent true --tint-color #000000 --tint-level 12
26100 26651 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmPager 37 4 none 0 8
26100 26653 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 39 4 none 0 8 FvwmButtons-TopMenuPanel
26100 26654 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 41 4 none 0 8 FvwmButtons-TopLogo
26100 26656 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 43 4 none 0 8 FvwmButtons-ApplicationMenu
26100 26657 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmIconMan 45 4 none 0 8 FvwmIconMan-Windows
26100 26659 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmButtons 47 4 none 0 8 FvwmButtons-Clock
26100 26664 26100 26075 ?           -1 S     1000   0:00              \_ /usr/lib/fvwm/2.6.5/FvwmScript 49 4 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmS
(...)
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Nov 12, 2016 7:21 pm    Post subject: Reply with quote

Maybe you have saved some session with a running Xephyr instance, and fvwm-crystal tries in the beginning to restore the state of that saved session?
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Mon Nov 14, 2016 1:16 pm    Post subject: Reply with quote

lost+found wrote:
Hi Dominique,

Very strange issue, and I don't have a clue. I can only say that it doesn't happen here. Latest tree, fvwm-crystal live ebuild. Tried wdm, and startx with ~/.xinitrc. I don't have a ~/.xsession file.


I do the same here, startx and fvwm-crystal-9999. My .xinitrc is:
Code:
#!/bin/sh
xrdb ~/.Xdefaults
exec fvwm-crystal 2>.errors.fvwm-crystal


Also, if, in the FvwmConsole, I run "Restart", fvwm restart only 1 time. But if I run the complete command as in /usr/bin/fvwm-crystal: "Restart fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config", it start 2 times. At least, it is a convenient way to reproduce that issue.

mv wrote:
Maybe you have saved some session with a running Xephyr instance, and fvwm-crystal tries in the beginning to restore the state of that saved session?

I don't think so. I try several other things, among them to start fvwm-crystal as another user, a new one, and that issue is the same.
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Tue Nov 15, 2016 7:30 am    Post subject: Reply with quote

How can you have 2 Xephyr instances on the same DISPLAY :1 (in the picture)? I get a fatal error if I try that.
BTW what program do you use in the picture, to produce the process tree? Does the `ps axjf` command give the same information?
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Sat Nov 19, 2016 10:21 am    Post subject: Reply with quote

lost+found wrote:
How can you have 2 Xephyr instances on the same DISPLAY :1 (in the picture)? I get a fatal error if I try that.

It is only one Xephyr session. The supplemented fvwm-crystal instance is not launched by Xephyr but by fvwm.

lost+found wrote:
BTW what program do you use in the picture, to produce the process tree? Does the `ps axjf` command give the same information?

Yes.
After fvwm-crystal session (without Xephyr session):
Code:
    1  4399  4399  4399 tty1     27055 Ss       0   0:00 /bin/login --
 4399  4413  4413  4399 tty1     27055 S     1001   0:00  \_ -bash
 4413 27055 27055  4399 tty1     27055 S+    1001   0:00      \_ /bin/sh /usr/bin/startx
27055 27071 27055  4399 tty1     27055 S+    1001   0:00          \_ xinit /home/dom/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/dom/.serverauth.27055
27071 27072 27072 27072 tty7     27072 S<sl+    0   0:07              \_ /usr/bin/X -nolisten tcp :0 -auth /home/dom/.serverauth.27055
27071 27076 27076  4399 tty1     27055 S     1001   0:03              \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config
27076 27091 27076  4399 tty1     27055 S     1001   0:02                  \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config
27091 27111 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 10 7 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonStuffs 0 8
27091 27126 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 11 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Buttons 0 8 FvwmEv
27091 27296 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmEvent 15 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-
27091 27307 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmEvent 17 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-
27091 27395 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 19 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remember-SloppyFoc
27091 27424 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmEvent 23 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnails 0 8 FvwmE
27091 27846 27846  4399 tty1     27055 S     1001   0:00                  |   \_ /bin/bash /usr/bin/../share/fvwm-crystal/fvwm/scripts/DesktopCheckMounts 4
27846 28335 27846  4399 tty1     27055 S     1001   0:00                  |   |   \_ sleep 4
27091 27870 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmButtons 18 7 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Top
27091 27910 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmButtons 26 7 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 ApplicationPanel
27091 27916 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmButtons 29 26 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 -g 60x90+0-+150 FvwmStalon
27091 27927 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmScript 31 26 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crys
27091 27930 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmScript 33 26 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crys
27091 27932 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmButtons 34 7 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Bottom
27091 27957 27957  4399 tty1     27055 S     1001   0:00                  |   \_ stalonetray --decorations none --window-type dock --transparent true --tint-color #32bdc6 --tint-level 220 --no-shrink
27091 27970 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmScript 23 5 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmScript-Clock
27091 27973 27076  4399 tty1     27055 S     1001   0:00                  |   \_ /usr/lib/fvwm/2.6.5/FvwmPager 34 5 none 0 8
27076 27104 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 9 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonStuffs 0 8
27076 27122 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 13 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Buttons 0 8 FvwmEvent-
27076 27288 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 27298 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 16 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 27394 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 21 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remember-SloppyFocus 0
27076 27422 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 17 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnails 0 8 FvwmEvent
27076 27847 27847  4399 tty1     27055 S     1001   0:00                  \_ /bin/bash /usr/bin/../share/fvwm-crystal/fvwm/scripts/DesktopCheckMounts 4
27847 28339 27847  4399 tty1     27055 S     1001   0:00                  |   \_ sleep 4
27076 27872 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 17 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Top
27076 27902 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 29 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 ApplicationPanel
27076 27906 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 32 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 -g 60x90+0-+150 FvwmStalonePan
27076 27917 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 34 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076 27922 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 36 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076 27926 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 37 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Bottom
27076 27943 27943  4399 tty1     27055 S     1001   0:00                  \_ stalonetray --decorations none --window-type dock --transparent true --tint-color #32bdc6 --tint-level 220 --no-shrink tru
27076 27949 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 22 4 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmScript-Clock
27076 27950 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmPager 24 4 none 0 8


After 'kill 27091':
Code:
    1  4399  4399  4399 tty1     27055 Ss       0   0:00 /bin/login --
 4399  4413  4413  4399 tty1     27055 S     1001   0:00  \_ -bash
 4413 27055 27055  4399 tty1     27055 S+    1001   0:00      \_ /bin/sh /usr/bin/startx
27055 27071 27055  4399 tty1     27055 S+    1001   0:00          \_ xinit /home/dom/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/dom/.serverauth.27055
27071 27072 27072 27072 tty7     27072 R<sl+    0   0:11              \_ /usr/bin/X -nolisten tcp :0 -auth /home/dom/.serverauth.27055
27071 27076 27076  4399 tty1     27055 S     1001   0:03              \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config
27076 27104 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 9 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonStuffs 0 8
27076 27122 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 13 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Buttons 0 8 FvwmEvent-
27076 27288 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 27298 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 16 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 27394 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 21 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remember-SloppyFocus 0
27076 27422 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 17 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnails 0 8 FvwmEvent
27076 27872 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 17 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Top
27076 27902 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 29 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 ApplicationPanel
27076 27917 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 34 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076 27922 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 36 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076 27926 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 37 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Bottom
27076 27949 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 22 4 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmScript-Clock
27076 27950 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmPager 24 4 none 0 8
27076 28806 28806  4399 tty1     27055 S     1001   0:00                  \_ urxvt -name QuakeConsoleNeedsUniqueName -geometry +0+0
28806 28807 28807 28807 pts/4    28834 Ss    1001   0:00                      \_ -bash
28807 28834 28834 28807 pts/4    28834 S+    1001   0:01                          \_ htop


With a Xephyr session:
Code:
    1  4399  4399  4399 tty1     27055 Ss       0   0:00 /bin/login --
 4399  4413  4413  4399 tty1     27055 S     1001   0:00  \_ -bash
 4413 27055 27055  4399 tty1     27055 S+    1001   0:00      \_ /bin/sh /usr/bin/startx
27055 27071 27055  4399 tty1     27055 S+    1001   0:00          \_ xinit /home/dom/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/dom/.serverauth.27055
27071 27072 27072 27072 tty7     27072 R<sl+    0   0:13              \_ /usr/bin/X -nolisten tcp :0 -auth /home/dom/.serverauth.27055
27071 27076 27076  4399 tty1     27055 S     1001   0:04              \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config
27076 27104 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 9 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonStuffs 0 8
27076 27122 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 13 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Buttons 0 8 FvwmEvent-
27076 27288 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 27298 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 16 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 27394 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 21 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remember-SloppyFocus 0
27076 27422 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 17 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnails 0 8 FvwmEvent
27076 27872 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 17 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Top
27076 27902 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 29 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 ApplicationPanel
27076 27917 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 34 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076 27922 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 36 29 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076 27926 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 37 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Bottom
27076 27949 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 22 4 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmScript-Clock
27076 27950 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmPager 24 4 none 0 8
27076 28806 28806  4399 tty1     27055 S     1001   0:00                  \_ urxvt -name QuakeConsoleNeedsUniqueName -geometry +0+0
28806 28807 28807 28807 pts/4    28834 Ss    1001   0:00                  |   \_ -bash
28807 28834 28834 28807 pts/4    28834 S+    1001   0:02                  |       \_ htop
27076 29337 29337  4399 tty1     27055 S     1001   0:00                  \_ /bin/sh /usr/bin/../share/fvwm-crystal/fvwm/scripts/launchwm 1600 900 /usr/share/xsessions/fvwm-crystal.desktop
29337 29346 29337  4399 tty1     27055 Sl    1001   0:01                      \_ Xephyr -ac -reset -nolisten tcp -title fvwm-crystal -screen 1600x900 :1
29337 29354 29337  4399 tty1     27055 S     1001   0:01                      \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config
29354 29376 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 9 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonStuffs 0 8
29354 29383 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmEvent 13 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Buttons 0 8 Fv
29354 29467 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEve
29354 29471 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmEvent 16 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEve
29354 29524 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmEvent 21 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remember-Slopp
29354 29544 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 17 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnails 0 8 F
29354 29756 29756  4399 tty1     27055 S     1001   0:00                          \_ /bin/bash /usr/bin/../share/fvwm-crystal/fvwm/scripts/DesktopCheckMounts 4
29756 29984 29756  4399 tty1     27055 S     1001   0:00                          |   \_ sleep 4
29354 29757 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmButtons 24 17 /home/dom/.fvwm-crystal/tmp/DesktopIcons 0 8 DesktopIcons
29354 29767 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmButtons 17 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Top
29354 29795 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmButtons 25 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 ApplicationPanel
29354 29800 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmButtons 28 25 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 -g 60x90+0-+150 FvwmSt
29354 29805 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmScript 30 25 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-
29354 29808 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmScript 32 25 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-
29354 29810 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmButtons 33 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Bottom
29354 29816 29816  4399 tty1     27055 S     1001   0:00                          \_ stalonetray --decorations none --window-type dock --transparent true --tint-color #32bdc6 --tint-level 220 --no-sh
29354 29817 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmScript 33 4 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmScript-Clo
29354 29818 29337  4399 tty1     27055 S     1001   0:00                          \_ /usr/lib/fvwm/2.6.5/FvwmPager 35 4 none 0 8


Without Xephyr session and after a fvwm 'Restart' (fvwm-crysal get confused when it start 2 times and 1 instance is terminated, so it need a restart to show up properly):
Code:
    1  4399  4399  4399 tty1     27055 Ss       0   0:00 /bin/login --
 4399  4413  4413  4399 tty1     27055 S     1001   0:00  \_ -bash
 4413 27055 27055  4399 tty1     27055 S+    1001   0:00      \_ /bin/sh /usr/bin/startx
27055 27071 27055  4399 tty1     27055 S+    1001   0:00          \_ xinit /home/dom/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/dom/.serverauth.27055
27071 27072 27072 27072 tty7     27072 R<sl+    0   0:58              \_ /usr/bin/X -nolisten tcp :0 -auth /home/dom/.serverauth.27055
27071 27076 27076  4399 tty1     27055 S     1001   0:10              \_ fvwm -f /usr/bin/../share/fvwm-crystal/fvwm/config -s
27076 28806 28806  4399 tty1     27055 S     1001   0:01                  \_ urxvt -name QuakeConsoleNeedsUniqueName -geometry +0+0
28806 28807 28807 28807 pts/4    28807 Ss+   1001   0:00                  |   \_ -bash
27076 32439 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmCommandS 9 6 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/LoadCommonStuffs 0 8
27076 32446 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 13 10 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Buttons 0 8 FvwmEvent-
27076 32533 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 14 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 32537 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 16 9 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Fullscreen 0 8 FvwmEvent-Windo
27076 32584 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 21 18 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Window-Remember-SloppyFocus 0
27076 32604 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmEvent 22 17 /usr/bin/../share/fvwm-crystal/fvwm/components/functions/Icon-Thumbnails 0 8 FvwmEvent
27076   348   348  4399 tty1     27055 S     1001   0:00                  \_ /bin/bash /usr/bin/../share/fvwm-crystal/fvwm/scripts/DesktopCheckMounts 4
  348   440   348  4399 tty1     27055 S     1001   0:00                  |   \_ sleep 4
27076   349 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 24 17 /home/dom/.fvwm-crystal/tmp/DesktopIcons 0 8 DesktopIcons
27076   356 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 17 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Top
27076   375 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 25 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 ApplicationPanel
27076   379 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 28 25 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 -g 60x90+0-+150 FvwmStalonePan
27076   384 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 30 25 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076   387 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 32 25 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 /usr/bin/../share/fvwm-crystal/
27076   389 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmButtons 33 6 /home/dom/.fvwm-crystal/recipes/LapLeft with ACPI 0 8 FvwmButtons-Bottom
27076   395   395  4399 tty1     27055 S     1001   0:00                  \_ stalonetray --decorations none --window-type dock --transparent true --tint-color #32bdc6 --tint-level 220 --no-shrink tru
27076   396 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmScript 33 4 none 0 8 /usr/bin/../share/fvwm-crystal/fvwm/components/scripts/FvwmScript-Clock
27076   401 27076  4399 tty1     27055 S     1001   0:00                  \_ /usr/lib/fvwm/2.6.5/FvwmPager 35 4 none 0 8

_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Tue Nov 22, 2016 9:42 am    Post subject: Reply with quote

Very very odd. 8O It feels like some race condition showing up in fvwm. Maybe it's worth an upstream bug report?

On the other hand, there is a new version of fvwm in bugzilla waiting to be added to portage.
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Thu Dec 08, 2016 1:06 pm    Post subject: Reply with quote

I try with fvwm from the git, and get the same issue. But I found the real problem. Even when starting fvwm without config file, it started 2 times.

With
Code:
xinit /usr/bin/fvwm -- /usr/bin/X :1

fvwm start 2 times.
With
Code:
xinit /usr/bin/fvwm -s -- /usr/bin/X :1

fvwm start 1 time.
What is strange is with
Code:
xinit /usr/bin/fvwm -- /usr/bin/X :1.0

fvwm start 2 times when xrandr tell me the second screen is not connected.

The fix was to comment out the second Screen instance of the ServerLayout section in the xorg.conf file.

EDIT: I commented out everything in my xorg.conf file and followed https://wiki.gentoo.org/wiki/Xorg/Guide#Multiple_monitors
Now it work fine without external monitor and xrandr find a third output, a HDMI one. :D
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum