Re: [E-devel] Evas FB engine PAGE_MASK fix

2006-12-12 Thread Falko Schmidt
On Mon, 2006-12-11 at 12:28 -0600, Nathan Ingersoll wrote:
 I submitted a patch a while back to use getpagesize(), which I believe
 is the more portable version since there are a few variations on
 _SC_PAGE_SIZE.
 

You're right! :)

Is there any reason for keeping this from being commited?

 On 12/11/06, Falko Schmidt [EMAIL PROTECTED] wrote:
  Hi all,
 
  while compiling Evas for powerpc I've encountered a problem with
  PAGE_MASK being undefined. The proper way to detect the kernel page size
  at runtime is through _SC_PAGE_SIZE, if I'm not mistaken.
 
  If noone objects I'll commit the attached patch.
 
 
  Falko
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] e17 screen lock

2006-12-12 Thread Nikolas Arend
Hi,

I know that screen locking had or maybe still has some known issues, but I 
thought I should mention this nonetheless... After locking the screen I can't 
unlock it again by typing in my password. All that helps is sending the 
enlightenment process a -HUP from console. This looks like the opposite from 
what others reported recently, that every password (or just pressing ENTER) 
would work to unlock the screen.
My distro is opensuse 10.1 and I'm using e17 cvs from yesterday (approx 12 pm 
CET).

Best regards,   Nick.
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Aleksej Struk
On Tue, Dec 12, 2006 at 03:01:22PM +0100, Nikolas Arend wrote:
 Hi,
 
 I know that screen locking had or maybe still has some known issues, but I 
 thought I should mention this nonetheless... After locking the screen I can't 
 unlock it again by typing in my password. All that helps is sending the 
 enlightenment process a -HUP from console. This looks like the opposite from 
 what others reported recently, that every password (or just pressing ENTER) 
 would work to unlock the screen.
 My distro is opensuse 10.1 and I'm using e17 cvs from yesterday (approx 12 pm 
 CET).

Screen lock uses PAM to check the correctness of the password.
E checks if one of the following PAM services exists and then uses it:

* login
* enlightenment
* xscreensaver
* kscreensaver
* system-auth

Maybe that your problem is in PAM configuration.

 
 Best regards,   Nick.
 -- 
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
 Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas FB engine PAGE_MASK fix

2006-12-12 Thread Nathan Ingersoll
I believe I had some feedback that it fixed the build, but wasn't sure
if it actually worked for the FB. I don't have a PowerPC Linux system
installed right now to test on.

On 12/12/06, Falko Schmidt [EMAIL PROTECTED] wrote:
 On Mon, 2006-12-11 at 12:28 -0600, Nathan Ingersoll wrote:
  I submitted a patch a while back to use getpagesize(), which I believe
  is the more portable version since there are a few variations on
  _SC_PAGE_SIZE.
 

 You're right! :)

 Is there any reason for keeping this from being commited?

  On 12/11/06, Falko Schmidt [EMAIL PROTECTED] wrote:
   Hi all,
  
   while compiling Evas for powerpc I've encountered a problem with
   PAGE_MASK being undefined. The proper way to detect the kernel page size
   at runtime is through _SC_PAGE_SIZE, if I'm not mistaken.
  
   If noone objects I'll commit the attached patch.
  
  
   Falko
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share 
   your
   opinions on IT  business topics through brief surveys - and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
  
  
  
  
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Nikolas Arend
Aleksej Struk wrote:
 Screen lock uses PAM to check the correctness of the password.
 E checks if one of the following PAM services exists and then uses it:

 * login
 * enlightenment
 * xscreensaver
 * kscreensaver
 * system-auth

 Maybe that your problem is in PAM configuration

I thought about that too, but it seemed unlikely to me since both 
xscreensaver-command -lock and xlock work. As far as I remember, KDE's screen 
locking also works. I have xscreensaver and login in /etc/pam.d/, containing

cat /etc/pam.d/login
#%PAM-1.0
auth required   pam_securetty.so
auth includecommon-auth
auth required   pam_nologin.so
account  includecommon-account
password includecommon-password
session  includecommon-session
session  required   pam_lastlog.so nowtmp
session  required   pam_resmgr.so
session  optional   pam_mail.so standard

cat /etc/pam.d/xscreensaver
#%PAM-1.0
auth includecommon-auth
account  includecommon-account
password includecommon-password
session  includecommon-session

Is there anything unusual with this configuration? I haven't fiddled with the 
pam settings either.

Best,   Nick.
-- 
Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread David Seikel
When I was using SuSE I could never get desklock to work with it.  I
copied the PAM file for entrance to enlightenment, but that didn't work
either.  Entrance works fine with it, and it's config file was itself
copied from the GDB one supplied by SuSE.


signature.asc
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Aleksej Struk
On Tue, Dec 12, 2006 at 03:28:01PM +0100, Nikolas Arend wrote:
 Aleksej Struk wrote:
  Screen lock uses PAM to check the correctness of the password.
  E checks if one of the following PAM services exists and then uses it:
 
  * login
  * enlightenment
  * xscreensaver
  * kscreensaver
  * system-auth
 
  Maybe that your problem is in PAM configuration
 
 I thought about that too, but it seemed unlikely to me since both 
 xscreensaver-command -lock and xlock work. As far as I remember, KDE's screen 
 locking also works. I have xscreensaver and login in /etc/pam.d/, containing
 
 cat /etc/pam.d/login
 #%PAM-1.0
 auth required   pam_securetty.so
 auth includecommon-auth
 auth required   pam_nologin.so
 account  includecommon-account
 password includecommon-password
 session  includecommon-session
 session  required   pam_lastlog.so nowtmp
 session  required   pam_resmgr.so
 session  optional   pam_mail.so standard
 
 cat /etc/pam.d/xscreensaver
 #%PAM-1.0
 auth includecommon-auth
 account  includecommon-account
 password includecommon-password
 session  includecommon-session

Both PAM services that you've listed uses common-auth service. I do
not have such service on my gentoo machine. I suspect thatit is called
system-auth and is configured as follows:


auth   required pam_env.so
auth   sufficient   pam_unix.so likeauth nullok
auth   required pam_deny.so

accountrequired pam_unix.so

password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
ocredit=2 retry=3
password   sufficient   pam_unix.so nullok md5 shadow use_authtok
password   required pam_deny.so

sessionrequired pam_limits.so
sessionrequired pam_unix.so

Does your common-auth is similar to that I've listed above ?

 
 Is there anything unusual with this configuration? I haven't fiddled with the 
 pam settings either.
 
 Best,   Nick.
 -- 
 Ein Herz f?r Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
 Unser Dankesch?n: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Nikolas Arend
David Seikel wrote:
 When I was using SuSE I could never get desklock to work with it.  I
 copied the PAM file for entrance to enlightenment, but that didn't work
 either.  Entrance works fine with it, and it's config file was itself
 copied from the GDB one supplied by SuSE.

Hmpf. Is anybody else using SuSE and managed to get screen lock working?

Thanks,

Nick.
-- 
Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Nikolas Arend
Aleksej Struk wrote:

 Both PAM services that you've listed uses common-auth service. I do
 not have such service on my gentoo machine. I suspect thatit is called
 system-auth and is configured as follows:


 auth   required pam_env.so
 auth   sufficient   pam_unix.so likeauth nullok
 auth   required pam_deny.so

 accountrequired pam_unix.so

 password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
 ocredit=2 retry=3
 password   sufficient   pam_unix.so nullok md5 shadow use_authtok
 password   required pam_deny.so

 sessionrequired pam_limits.so
 sessionrequired pam_unix.so

 Does your common-auth is similar to that I've listed above 

Mine looks like

cat /etc/pam.d/common-auth
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
authrequiredpam_env.so
authrequiredpam_unix2.so


This is what else resides in /etc/pam.d/:

ls -l /etc/pam.d | grep ^-r | sed 's/^.* //g'
atd
chage
chfn
chsh
common-account
common-auth
common-password
common-session
crond
cups
enlightenment
entrance
gdm
gdm-autologin
gnome-passwd
gnome-screensaver
gnomesu-pam
imap
login
netatalk
other
passwd
pop
pop3
ppp
quagga
radiusd
rpasswd
samba
shadow
smtp
squid
sshd
su
sudo
useradd
vlock
vsftpd
xdm
xdm-np
xlock
xscreensaver


Although I'm developing software myself and are relatively familiar with *nices 
and system administration, I have to admit that I never cared to get deeper 
into the whole pam stuff (I never had problems with Fedora in this respect). So 
please be patient with me.

Thanks,  Nick.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Michael Jennings
On Tuesday, 12 December 2006, at 16:44:21 (+),
Aleksej Struk wrote:

 Both PAM services that you've listed uses common-auth service. I do
 not have such service on my gentoo machine.

Gentoo is hardly an authoritative source for PAM...or anything else,
for that matter.

 I suspect thatit is called system-auth and is configured as follows:

No, it is not.  SuSE uses include files (note the include directive
which is very clearly different from auth, account, password,
and session).  They call them common-, one to match each
keyword.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 I'd like to live just long enough to be there when they cut off your
  head and stick it on a pike as a warning to the next ten generations
  that some favors come with too high a price.  I want to look up into
  your lifeless eyes and wave  Can you and your associates arrange
  that for me, Mr. Morden? -- Vir Cotto, Babylon Five

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread Ag. System Administrator
Hi,

Can confirm, sometimes it is impossible to unlock screen.  CentOS 4.3 i386.
It's looks like focus is still remains at main screen windows layer,
because Alt-Tab is moving mouse on windows.
You see Enter your password but all input goes to last selected window :(
But i can't reproduce it on home pc, FC3 x86_64.

Thanks,
Dan

Nikolas Arend wrote:

Aleksej Struk wrote:
  

Both PAM services that you've listed uses common-auth service. I do
not have such service on my gentoo machine. I suspect thatit is called
system-auth and is configured as follows:


auth   required pam_env.so
auth   sufficient   pam_unix.so likeauth nullok
auth   required pam_deny.so

accountrequired pam_unix.so

password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
ocredit=2 retry=3
password   sufficient   pam_unix.so nullok md5 shadow use_authtok
password   required pam_deny.so

sessionrequired pam_limits.so
sessionrequired pam_unix.so

Does your common-auth is similar to that I've listed above 



Mine looks like

cat /etc/pam.d/common-auth
#
# /etc/pam.d/common-auth - authentication settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authentication modules that define
# the central authentication scheme for use on the system
# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
# traditional Unix authentication mechanisms.
#
authrequiredpam_env.so
authrequiredpam_unix2.so


This is what else resides in /etc/pam.d/:

ls -l /etc/pam.d | grep ^-r | sed 's/^.* //g'
atd
chage
chfn
chsh
common-account
common-auth
common-password
common-session
crond
cups
enlightenment
entrance
gdm
gdm-autologin
gnome-passwd
gnome-screensaver
gnomesu-pam
imap
login
netatalk
other
passwd
pop
pop3
ppp
quagga
radiusd
rpasswd
samba
shadow
smtp
squid
sshd
su
sudo
useradd
vlock
vsftpd
xdm
xdm-np
xlock
xscreensaver


Although I'm developing software myself and are relatively familiar with 
*nices and system administration, I have to admit that I never cared to get 
deeper into the whole pam stuff (I never had problems with Fedora in this 
respect). So please be patient with me.

Thanks,  Nick.

  



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread David Seikel
On Wed, 13 Dec 2006 00:16:55 +0200 Ag. System Administrator
[EMAIL PROTECTED] wrote:

 Can confirm, sometimes it is impossible to unlock screen.  CentOS 4.3
 i386. It's looks like focus is still remains at main screen windows
 layer, because Alt-Tab is moving mouse on windows.
 You see Enter your password but all input goes to last selected
 window :( But i can't reproduce it on home pc, FC3 x86_64.

That's a different problem from the one you get on SuSE.  There you can
enter the password fine, it just never unlocks.

Desk lock needs some loving.


signature.asc
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] e17 screen lock

2006-12-12 Thread The Rasterman
On Tue, 12 Dec 2006 15:46:06 +0100 Nikolas Arend [EMAIL PROTECTED]
babbled:

 David Seikel wrote:
  When I was using SuSE I could never get desklock to work with it.  I
  copied the PAM file for entrance to enlightenment, but that didn't work
  either.  Entrance works fine with it, and it's config file was itself
  copied from the GDB one supplied by SuSE.
 
 Hmpf. Is anybody else using SuSE and managed to get screen lock working?

does it work if you run e as root?

 Thanks,
 
 Nick.
 -- 
 Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
 Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel