Subject: FVWM: xlock & fvwmbuttons

From: Alexander Sorg <[email-masked]>
Date: Thu, 29 Feb 1996 16:03:33 -0500

ho,

the following has been a problem ever since i used fvwm (2.0.3x-2.0.41).
(SunOS 5.4, Generic July 1994, Sparc 1000)

i have xlock bound to a button in fvwmbutons:

   *FvwmButtons - lock.xpm Exec "" exec xlock -mode random 

i also have it as a menu item in my standard menu:

   + "XLock%mini.lock.xpm%" Exec nice /usr/openwin/bin/xlock -mode flame

which is actually copied from one of the .fvwmrc posted to this list 
so i guess it worked there. in my .cshrc i have set:

   alias xlock "xlock -mode random"

and this works fine whenever i call it from an xterm.
however, if i use either the button or the menu to call 
xlock i get the following on stderr:

   xlock: can't get the user password. Exiting ...
          You need to run xlock in setuid root mode on your local machine.
          Contact your system administrator.

but the permissions are as follows:

   (sorg) ~ % ls -l /usr/openwin/bin/xlock
   -rwsrwxr-x  1 root        87808 Jun 24  1994 /usr/openwin/bin/xlock*

any ideas??

about another bug/feature i reported earlier (but got no response):

whenever i move an icon in fvwmbuttons with the middle mousebutton
the module (fvwmbuttons) crashes. the following is from stderr:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  3972
  Current serial number in output stream:  3973
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Resource id in failed request:  0x180000a
  Serial number of failed request:  686
  Current serial number in output stream:  707
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  62 (X_CopyArea)
  Resource id in failed request:  0x2800015
  Serial number of failed request:  1904
  Current serial number in output stream:  1908
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  65 (X_PolyLine)
  Resource id in failed request:  0x200000a
  Serial number of failed request:  634
  Current serial number in output stream:  641

this may not all be related to the module crash as i tend to get
really a lot of these failed requests during any fvwm session.

what i'd like to know is: am i the only one seeing this or does this 
happen with all fvwmbuttons?

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