Subject: Notification: incoming/1284

From: [email-masked]
Date: Sun, 23 May 2004 08:50:13 -0500 (CDT)

FVWM Bug Tracking notification

new message incoming/1284

Message summary for PR#1284
	From: [email-masked]
	Subject: FvwmTaskBar & FvwmButtons crashes when managing remote display
	Date: Sun, 23 May 2004 08:47:57 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From [email-masked] Sun May 23 08:47:58 2004
Date: Sun, 23 May 2004 08:47:57 -0500
From: [email-masked]
To: [email-masked]
Subject: FvwmTaskBar & FvwmButtons crashes when managing remote display

Full_Name: Norbert Buchmuller
Version: snap-20040522
CVS_Date: 
OS: Debian GNU/Linux testing
X_Server: Xserver-XFree86 (driver: s3virge)
Submission from: (NULL) (217.65.98.17)

When managing a remote X display, FvwmTaskBar and FvwmButtons fail to start
(on a local display works well). The error message from
~~/.xsession-errors:

FvwmButtons: Cause of next X Error.
   Error: 169 (BadShmSeg (invalid shared segment parameter))
   Major opcode of failed request:  146 (Unknown: 146)
   Minor opcode of failed request:  2 
   Resource id of failed request:  0xc00002 
 Leaving a core dump now
*FvwmTaskBar: Cause of next X Error.
   Error: 169 (BadShmSeg (invalid shared segment parameter))
   Major opcode of failed request:  146 (Unknown: 146)
   Minor opcode of failed request:  2 
   Resource id of failed request:  0xe0001b 
 Leaving a core dump now

Relevant portions from the configuration file:

# *** FvwmTaskBar settings ***
DestroyModuleConfig FvwmTaskBar:*
*FvwmTaskBar: StatusFont -adobe-helvetica-medium-r-*-*-12-*
*FvwmTaskBar: Colorset 8
#*FvwmTaskBar: FocusColorset 9
*FvwmTaskBar: FocusColorset 8
*FvwmTaskBar: IconColorset 10
*FvwmTaskBar: TipsColorset 11
*FvwmTaskBar: NoBrightFocus
*FvwmTaskBar: AutoStick
*FvwmTaskBar: Rows 1
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: PageOnly
*FvwmTaskBar: UseIconNames
*FvwmTaskBar: Action Click1 raise-lower-and-deiconify-and-unrollup
*FvwmTaskBar: Action Click2 Menu Window-Ops
*FvwmTaskBar: Action Click3 Iconify on
*FvwmTaskBar: ButtonWidth 90
*FvwmTaskBar: ShowTips
*FvwmTaskBar: BellVolume 0
*FvwmTaskBar: MailBox None
*FvwmTaskBar: ClockFormat %a, %b %e 
*FvwmTaskBar: MailCommand Mail
*FvwmTaskBar: IgnoreOldMail
*FvwmTaskBar: StartMenu Main

..

*FvwmButtonsGeometry -0-21
*FvwmButtonsRows 3
*FvwmButtonsColumns 10
*FvwmButtonsBoxSize smart
*FvwmButtonsBack grey60
*FvwmButtonsFore black
*FvwmButtonsFont None
*FvwmButtonsFrame 3
*FvwmButtonsPadding 2 2

# first container (space for three buttons)

*FvwmButtons(1x3+0+0, Container(Columns 1))
*FvwmButtons(Title Top/Bottom, Icon mini-up-down.xpm, \
                Action (Mouse 1) FvwmButtons-toggle-pos 1, \
                Action (Mouse 2) FvwmButtons-toggle-pos 2, \
                Action (Mouse 3) FvwmButtons-toggle-pos 3)
*FvwmButtons(Swallow(UseOld) "xpostit+" \
                'Exec exec xpostit+ -sv -sb -geometry +-1000+-1000')
*FvwmButtons(Title "menu", Icon mini-menu.xpm, \
                Action (Mouse 1) Popup Main, \
                Action (Mouse 2) Popup Window-Ops, \
                Action (Mouse 3) WindowList)
*FvwmButtons(End)

# second container: xclock and xload with double height:

*FvwmButtons(5x2+1+0, Container(Rows 1))
*FvwmButtons(1x1+0+0, Swallow(UseOld) "xclock-fvwm" \
                        'Exec exec xclock -analog -norender -padding 0 \
                                -bg grey70 -fg blue -hands black \
                                -title xclock-fvwm -geometry
+-1000+-1000')
*FvwmButtons(2x1+1+0, Swallow(UseOld) "xload-fvwm" \
                        'Exec exec xload -update 5 -jumpscroll 1 \
                                -nolabel -bg grey70 \
                                -title xload-fvwm -geometry +-1000+-1000')
*FvwmButtons(End)

# third container: Pager with triple height:

*FvwmButtons(4x3-0-0, Container(Rows 1))
*FvwmButtons(-0-0, Swallow(UseOld) "FvwmPager" 'FvwmPager *')
*FvwmButtons(End)

# fourth container (space for five buttons):

*FvwmButtons(5x1+1-0, Container(Rows 1))
*FvwmButtons(Title "xterm", Icon mini-term.xpm, \
                Action 'Xterm')
#*FvwmButtons(Title "xcalc", Icon mini-calc.xpm, \
#               Action 'Exec "xcalc" exec xcalc')
*FvwmButtons(Title "bc", Icon mini-calc.xpm, \
                Action 'Exec "bc" exec ~/bin/xbc')
*FvwmButtons(Title "xmag", Icon mini.xmag.xpm, \
                Action 'Exec "Xmag" exec xmag')
*FvwmButtons(Title "sylpheed", Icon mini-mail.xpm, \
                Action 'Mail')
*FvwmButtons(Title "lock", Icon mini-lock.xpm, \
                Action 'Exec sleep 1 ; exec xscreensaver-command -lock')
*FvwmButtons(End)

# functions used only by FvwmButtons:

# things that should be done on init or restart:
DestroyFunc FvwmButtons-Init-Restart
AddToFunc FvwmButtons-Init-Restart
+ "I" Exec echo default >${HOME}/.fvwm/FvwmButtonsPos

# toggling the position:
DestroyFunc FvwmButtons-toggle-pos
AddToFunc FvwmButtons-toggle-pos
+ "I" Current PipeRead "$HOME/.fvwm/scripts/FvwmButtonsTogglePos.sh '$*'"

..

DestroyFunc StartFunction
AddToFunc StartFunction
+ "I" FvwmCommandS
+ "I" Module FvwmButtons
+ "I" Module FvwmTaskBar
+ "I" FvwmButtons-Init-Restart
+ "I" Set-Background

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]