Re: [gentoo-user] XFCE4: How cab I disable Restart and Shut down buttons?

2014-08-13 Thread Johannes Geiss
On Tue, 12 Aug 2014 18:33:21 -0500
Canek Peláez Valdés can...@gmail.com wrote:

 Assuming you want to disable the functionality for one user, this
 disables both the functionality *AND* the buttons (they show up grayed
 out):
 
 $ cat /etc/polkit-1/rules.d/10-no-restart-shutdown.rules
 polkit.addRule(function(action, subject) {
 if (subject.user == myuser) {
 if (action.id.match(org.freedesktop.login1.power-off) ||
 action.id.match(org.freedesktop.login1.reboot)) {
 return polkit.Result.NO;
 }
 }
 });
 
 Of course, change myuser for the user you want to disable this. You
 can also use groups (subject.isInGroup(group)), or use suspend or
 hibernate instead of reboot.
 

That worked. Thank you very much. Now I have disabled (greyed out) the
buttons for certain users. That's what I have looked for.

Bye
Johannes
-- 

 --//--
  //Johannes R. Geiss   Mac mini server and
  \\ //OpenPandora user
 --\X/-



[gentoo-user] XFCE4: How cab I disable Restart and Shut down buttons?

2014-08-11 Thread Johannes Geiss
Hello there,

I have XFCE4 and Systemd running and I want to know if it is possible
to disable or remove the buttons Restart and Shut down at the
logout dialog (xfce4-session-logout).

If so, how?

Thanks for any information.

Bye
Johannes
-- 

 --//--
  //Johannes R. Geiss   Mac mini server and
  \\ //OpenPandora user
 --\X/-



Re: [gentoo-user] OpenLDAP works only at localhost, not from outside

2011-09-04 Thread Johannes Geiss
On Fri, 02 Sep 2011 08:50:46 +0200
Joost Roeleveld jo...@antarean.org wrote:

 What do you mean with, outside?

I meant from another place via the Internet through my router to my
computer.


 [...]

 Hope this helps.

Yes, your suggestions helped. Thank you very much. Though it doesn't
solve the problem. Now I know I did everything right at my
LDAP-server, but the problem is my router (Speedport W 503V Typ C).
It's blocking some (not all) of the communication. I forwarded all
ports to my computer (ie. it's in the DMZ), but LDAP is not working
correctly. 

Bye
Johannes
-- 

--//--
 // PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
 \\ //Johannes R. GeissPandora, Zaurus, Pegasos, Amiga and C64
--\X/-


signature.asc
Description: PGP signature


[gentoo-user] OpenLDAP works only at localhost, not from outside

2011-08-31 Thread Johannes Geiss
Hi there,

I want to access my LDAP-data from anywhere on the internet but I only
get it working on localhost.

I installed OpenLDAP 2.4.24, and tried to do the tutorial at

http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html

The LDAP database works fine from localhost with

ldapsearch -vLx -b o=stooges (sn=Fine) -h localhost

but if I try to do it from the outside (ie. the IP address my router
gave me via DHCP)

ldapsearch -vLx -b o=stooges (sn=Fine) -h xxx.xxx.xxx.xxx

I get the output ldap_initialize( ldap://xxx.xxx.xxx.xxx ) and the
client hangs.

The slapd server prints

slap_listener_activate(6):
 slap_listener(ldap:///)
connection_get(17): got connid=1000
connection_read(17): checking for input on id=1000
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
op tag 0x60, time 1314787890
ber_get_next
conn=1000 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
 dnPrettyNormal: 
 dnPrettyNormal: , 
do_bind: version=3 dn= method=128
send_ldap_result: conn=1000 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 17
do_bind: v3 anonymous bind

and hangs at this point until I Ctrl-C the client or wait approx. 5
Minutes.

Does anybody successfully installed an LDAP-service with access from
the outside? What is the content of slapd.conf?

Did I miss anything else?

Thank you for any suggestions
Johannes
-- 

--//--
 // PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
 \\ //Johannes R. GeissPandora, Zaurus, Pegasos, Amiga and C64
--\X/-


signature.asc
Description: PGP signature


[gentoo-ppc-user] Are there any Pegasos users?

2011-03-22 Thread Johannes Geiss
Hi here,

are there any Pegasos users using Gentoo?

Especially the hardware platform Pegasos II?

I am looking for experiences about building an own kernel for this
architecture. I compile them by myself for some years, but I think I could
be better if I find someone else who is building kernels for Pegasos
II. I am interested to exchange/talk about config files and so on.

Unfortunately Gentoo seems to have dropped kernel support for Pegasos
for some years. No installation disk contains a kernel for this
hardware.

Bye
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //  PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
--\X/-


signature.asc
Description: PGP signature


[gentoo-user] Problems starting OpenLDAP

2011-03-22 Thread Johannes Geiss
Hi there,

I try to start an LDAP-service for managing by eMail-Addresses
centralised on my server. Unfortunately I constantly fail to start
slapd. I tried a lot of documentations I've found on the web, including
Gentoo's non-official doc at

http://www.gentoo.org/doc/en/ldap-howto.xml

as well as

http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html

but to no avail.

The daemon slapd only starts as root and connecting to it via

ldapadd -f stooges.ldif -xv -D cn=StoogeAdmin,o=stooges \
-h 127.0.0.1 -w secret1

always fails with

ldap_initialize( ldap://127.0.0.1 )
ldap_bind: Invalid credentials (49)

I suspect something is wrong with my backend database.

Has anybody installed and started OpenLDAP successfully on Gentoo?
I am interested in config files and which components/use flags are
involved.

I have installed cyrus-sasl-2.1.23-r1, openldap-2.4.24

Bye
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //  PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
--\X/-


signature.asc
Description: PGP signature


[gentoo-user] net-mail/cyrus-imapd-2.3.14-r3: cannot create saslpasswd

2011-02-20 Thread Johannes Geiss
Hi Gentoo-users,

I have a problem. After installing net-mail/cyrus-imapd-2.3.14-r3
portage tells me

You have to add user cyrus to the sasldb2. Do this with:
saslpasswd2 cyrus

But when I try to do this, I get the following error:

Password: [password]
Again (for verification): [same password]
saslpasswd2: generic failure

and the syslog says

Feb 20 14:04:10 polaris saslpasswd2: auxpropfunc error invalid parameter
supplied
Feb 20 14:04:10 polaris saslpasswd2: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: ldapdb
Feb 20 14:04:10 polaris saslpasswd2: sql_select option missing
Feb 20 14:04:10 polaris saslpasswd2: auxpropfunc error no mechanism
available
Feb 20 14:04:10 polaris saslpasswd2: _sasl_plugin_load failed on
sasl_auxprop_plug_init for plugin: sql

What could be wrong?

Thanks for any help
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //  PGP at https://pegasos.dnsalias.org/~jgeiss/pgpkey.txt
--\X/-


[gentoo-ppc-user] Pegasos II + Radeon 9000: No DRI and wrong colours for OpenGL

2009-06-10 Thread Johannes Geiss
Hi there,

I updated my xorg-server to the latest version 1.5.3-r6 and now my X11
performance for OpenGL (Mesa 7.3-r1) is bad and has wrong colours (eg.
glxgears).

grep -e \[drm\] Xorg.0.log

(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEON(0): [drm] framebuffer handle = 0xc000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [drm] register handle = 0x2900
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] failure adding irq handler, there is a device
already using that irq
[drm] falling back to irq-free operation
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf1076000 at
0x48024000
(II) RADEON(0): [drm] Closed DRM master.

grep -e ^(EE) Xorg.0.log

(EE) Failed to load module fbdev (module does not exist, 0)
(EE) Failed to load module vesa (module does not exist, 0)
(EE) AIGLX error: drmOpenOnce failed (Operation not permitted)
(EE) AIGLX: reverting to software rendering
(EE) PreInit returned NULL for MOSIC  SPEED-LINK Competition Pro
(EE) config/hal: NewInputDeviceRequest failed
(EE) PreInit returned NULL for MOSIC  USB 2A4K  GamePad
(EE) config/hal: NewInputDeviceRequest failed

It seems to be a problem with AIGLX (drmOpenOnce failed). But I have

Section DRI
Mode 0666
EndSection

and

Option  BusType   PCI

in my xorg.conf

Does anybody have a suggestion?

Thanks for any help
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-


signature.asc
Description: This is a digitally signed message part


[gentoo-user] How to list every installed package?

2009-06-10 Thread Johannes Geiss
Hi there,

how can I list every installed package in Gentoo? The
file /var/lib/portage/world shows some installed packages, but how can I
see all other packages which have been installed automatically?

Thanks for any help
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] How to list every installed package?

2009-06-10 Thread Johannes Geiss
On Wed, 2009-06-10 at 15:48 +0300, Arttu V. wrote:

 On 6/10/09, Johannes Geiss johannes.ge...@web.de wrote:
  Hi there,
 
  how can I list every installed package in Gentoo? The
  file /var/lib/portage/world shows some installed packages, but how can I
  see all other packages which have been installed automatically?
 
 qlist
 
 And I often use it with -CISL, but your needs may differ.

Thank you all for your answers, that is exactly I was looking for.

Bye
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-


signature.asc
Description: This is a digitally signed message part


[gentoo-user] Gallery slideshow Java applet: certificate expired

2009-03-14 Thread Johannes Geiss
Hi all,

I am using the lighttpd (1.4.20) web-server and gallery (2.3). When I
want to view the full screen java applet
com.gallery.GalleryRemote.GRAppletSlideshow, I get the following
message:

com.ibm.security.validator.ValidatorException: PKIX path validation
failed: java.security.cert.CertPathValidatorException: The certificate
expired at Fri Mar 06 00:59:59 CET 2009; internal cause is: 
java.security.cert.CertificateExpiredException: NotAfter: Fri Mar 06
00:59:59 CET 2009
(and much more...)

We see an expired certificate (expired at Fri Mar 06), but I cannot
figure out where this certificate is stored on my computer. I think it's
part of the gallery package but I didn't find it.

Any suggestions?

Could it be a bug in gallery?

Bye
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-



signature.asc
Description: This is a digitally signed message part