Re: [arch-general] outdated packages

2009-10-08 Thread Juan Diego
a, thats really nice!!, I didnt see it before, thanks for the tip :)

On Thu, Oct 8, 2009 at 5:09 PM, Jan Spakula teat...@gmx.com wrote:
 Excerpts from Juan Diego's message of Do Okt 08 07:12:55 +0200 2009:
 is it possible to have something similar for core, extra and community repos?

 There is a 'flag package out of date' link to click for core, extra and
 community repo packages when you view the package on the main website.



Re: [arch-general] outdated packages

2009-10-08 Thread Tom K

Juan Diego wrote:

Good day everyone

I have a suggestion.

if you take a look at the packages in aur, most of them are always up
to date, the reason that I can find is the flag out-of-date feature,
this is very interesting because in aur you also have the possibility
to propose a new PKGBUILD ( in the comments) that would set the
package as up to date and usually the maintainer just have to check
that everything is ok with the PKGBUILD and do copy-paste.

is it possible to have something similar for core, extra and community repos?

I know you can submit a bug, but at least in my case I got lazy to do
that because is not a simple process, but in aur I do it frequently
because you just have to press a simple button.

Have a nice day

  


Actually, you can't submit a bug. Submit bugs for broken packages only - 
out-of-date does not mean broken.


Flag the package out-of-date, and if you wish, submit an updated 
PKGBUILD to the maintainer by email (unless you're too lazy for that too).


T.


Re: [arch-general] perl 5.10.1-3 broken ?

2009-10-08 Thread Firmicus
Ashish SHUKLA a écrit :
 Hi everyone,

 I've noticed that the recent perl update (5.10.1-3) has not installed any PODs
 which are required by 'perldoc' for displaying documentation. Are PODs moved
 to some different package ?

 #v+
 % pacman -Ql perl |fgrep .pod
 % pacman -Q perl
 perl 5.10.1-3
 #v-

 Thanks in advance
 Ashish SHUKLA
   

See http://bugs.archlinux.org/task/16488

But please, broken is too strong! Perl is not broken. It's just that
because of the purge options in makepkg.conf, all pods have been
deleted. But ALL the documentation is still there in the form of manpages.

FC




Re: [arch-general] perl 5.10.1-3 broken ?

2009-10-08 Thread Giovanni Scafora
2009/10/8, Firmicus firmi...@gmx.net:
 See http://bugs.archlinux.org/task/16488

  But please, broken is too strong! Perl is not broken. It's just that
  because of the purge options in makepkg.conf, all pods have been
  deleted. But ALL the documentation is still there in the form of manpages.

Hi Firmicus,

I guess that you should fix this issue about all pods.
Please, see the following lines:

ff0...@regulus:~$ perl -Mdiagnostics -e 'exit 0'
couldn't find diagnostic data in
/usr/share/perl5/core_perl/pods/perldiag.pod
/usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1
/usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
/usr/share/perl5/core_perl /usr/lib/perl5/current
/usr/lib/perl5/site_perl/current . -e at
/usr/share/perl5/core_perl/diagnostics.pm line 268, POD_DIAG line
647.
Compilation failed in require, POD_DIAG line 647.
BEGIN failed--compilation aborted, POD_DIAG line 647.


-- 
Arch Linux Developer
http://www.archlinux.org
http://www.archlinux.it


[arch-general] X server reset when I press enter (!!!)

2009-10-08 Thread Dario
Hi! I'm experimenting a really bad behaviour from the X server, since 
yesterday night's update, which involved mainly KDE. When I press ENTER, in 
whichever applications or DM, the X server randomly reset just as I pressed  
ctrl-alt-backspace! For example, I had to start this email three times, and I 
have to resist to press the damn key. As I said, this happens in any 
applications (inkscape, NetBeans, Lyx, xterm, kmail, kwrite, anything), in KDE 
and FluxBox. I'm running NVIDIA proprietary drivers in a twinview 
configuration. I'm going to do some testing to isolate better the causes, but 
in the meantime, does someone of you has a suggestions? Thanks in advance and 
sorry for the bad formatting of this email: I can't press Enter...:( Ciao! 
Carotinho
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


Re: [arch-general] X server reset when I press enter (!!!)

2009-10-08 Thread Xavier
On Thu, Oct 8, 2009 at 4:18 PM, Dario carotin...@yahoo.it wrote:
 Hi! I'm experimenting a really bad behaviour from the X server, since
 yesterday night's update, which involved mainly KDE. When I press ENTER, in
 whichever applications or DM, the X server randomly reset just as I pressed
 ctrl-alt-backspace! For example, I had to start this email three times, and I
 have to resist to press the damn key. As I said, this happens in any
 applications (inkscape, NetBeans, Lyx, xterm, kmail, kwrite, anything), in KDE
 and FluxBox. I'm running NVIDIA proprietary drivers in a twinview
 configuration. I'm going to do some testing to isolate better the causes, but
 in the meantime, does someone of you has a suggestions? Thanks in advance and
 sorry for the bad formatting of this email: I can't press Enter...:( Ciao!
 Carotinho
 Chiacchiera con i tuoi amici in tempo reale!
  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com


I would start by checking some logs.
/var/log/Xorg.0.log
~/.xsession-errors
dmesg
any kde logs ?


Re: [arch-general] X server reset when I press enter (!!!)

2009-10-08 Thread Roman Kyrylych
On Thu, Oct 8, 2009 at 17:21, Xavier shinin...@gmail.com wrote:
 On Thu, Oct 8, 2009 at 4:18 PM, Dario carotin...@yahoo.it wrote:
 Hi! I'm experimenting a really bad behaviour from the X server, since
 yesterday night's update, which involved mainly KDE. When I press ENTER, in
 whichever applications or DM, the X server randomly reset just as I pressed
 ctrl-alt-backspace! For example, I had to start this email three times, and I
 have to resist to press the damn key. As I said, this happens in any
 applications (inkscape, NetBeans, Lyx, xterm, kmail, kwrite, anything), in 
 KDE
 and FluxBox. I'm running NVIDIA proprietary drivers in a twinview
 configuration. I'm going to do some testing to isolate better the causes, but
 in the meantime, does someone of you has a suggestions? Thanks in advance and
 sorry for the bad formatting of this email: I can't press Enter...:( Ciao!
 Carotinho
 Chiacchiera con i tuoi amici in tempo reale!
  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com


 I would start by checking some logs.
 /var/log/Xorg.0.log
 ~/.xsession-errors
 dmesg
 any kde logs ?

the relevant part of pacman.log could be useful to see the exact list
of updated packages.

-- 
Roman Kyrylych (Роман Кирилич)


Re: [arch-general] Pkg dependency tool

2009-10-08 Thread Florian Pritz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ciprian Dorin, Craciun wrote:
 Is there any tool that would tell me all the direct or indirect
 dependencies of a package or set of pagkages?
 (Something like http://alioth.debian.org/~fjp/debtree/ but only
 with textual output.)
pactree from comunity/pacman-contrib

- --
Florian Pritz -- {flo,bluewi...@server-speed.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKzf6XAAoJEG0WVcFM4cE+wGgQAKch8LPSvn57RLx1T5ee1q0l
Kl854bWb5/8GSjjmZLJ0v5UacILQwlYaOYxtQiOTKBCUAFCJrqpEVwHHBNBqOYSM
pMrl57Q+7+81Caz8ciNGp4VGDVTCU+wqiGL7WTZbdKtzZj2GI5Cv2PbfX7CTbMzf
r6Oum8uHspXhg5udUt69M5UPs0uNSuqO2qVHv++3yHk3WfS8PqQzryhRIbq2jl7m
5FD8cpYodkNRVv0KUL6do4Ap5Zt8s8yKodnrO1ZwSe2rG4XboSC3Gcx9QRcJGXH/
N+B8uNcOUGAObJxPK1vjvXGRKbBzmRgdMEmT07flMmCG5CUYT9wo4eSv3Ld+4t/y
ELBGSZsahmRDv2U1y0JYeyvSXc4LPUCnMDf9A5rBlQlKKK+r/CbY4kjXuWKXv+WG
pFQqgvzxDTvfkhbJ7KcVUzJfd0JqunCFVGUk5UhlXd4VxOLA6Mh57ji1bYUNe5wx
AdsNZ+mZgt7Vx787EJYaJ3fXWDC3NdPKMNgDYyJl3UsI4kt1pClNHKfi0ajYjwQ5
Q0UjS53V6cILGy43x6tzOZIcPWuG9O5NhiUKF5qc6KV3Cxu7LjacQnn6UJmkoqJo
pxxOO+gyIRnVzcYPl0mMW2xSbqJ85767oHoov9lPM26PL+bJsZR03HwQgvt851Lh
yFzECwTXqgCl5IQwxgR3
=I3Rx
-END PGP SIGNATURE-


Re: [arch-general] Which security setting in Arch prevents forwarding X apps when su root?

2009-10-08 Thread David Rosenstrauch

On 10/08/2009 12:32 AM, David C. Rankin wrote:

Listmates,

Which setting in Arch prevents forwarding apps when you ssh -X in an Arch box, 
su and then try to start a kde app, etc.? X forwarding works just fine as a 
user, but when trying it su'ed to root, I get the following error:


[23:29 archangel:/etc] # kwrite
X11 connection rejected because of wrong authentication.
kwrite: cannot connect to X server localhost:10.0

kdm config? X config? Any pointers/links would be appreciated.


There's no setting - that just won't work.  Think about it:  you did an 
ssh -X as some user, thereby establishing an X configuration for that 
user.  Then you su'd to root.  Then you tried to run an X application as 
root ... when root has no X configuration established.


Probably best way to work around:

[...@local ~]$ ssh -X me
[...@remote ~]$ kdesu kwrite

HTH,

DR


Re: [arch-general] Pkg dependency tool

2009-10-08 Thread Ciprian Dorin, Craciun
On Thu, Oct 8, 2009 at 6:00 PM, Florian Pritz bluew...@server-speed.net wrote:

 Ciprian Dorin, Craciun wrote:
     Is there any tool that would tell me all the direct or indirect
 dependencies of a package or set of pagkages?
     (Something like http://alioth.debian.org/~fjp/debtree/ but only
 with textual output.)
 pactree from comunity/pacman-contrib

Thanks! It's exactly what I've been looking for.

Ciprian.


Re: [arch-general] Which security setting in Arch prevents forwarding X apps when su root?

2009-10-08 Thread Alexandr Bashmakov
What about 'ssh -Y' instead 'ssh -X' ?


Re: [arch-general] X server reset when I press enter (!!!)

2009-10-08 Thread Dario
Hi!

In data giovedì 08 ottobre 2009 16:23:36, Roman Kyrylych ha scritto:
  I would start by checking some logs.
  /var/log/Xorg.0.log
  ~/.xsession-errors
  dmesg
  any kde logs ?
 
 the relevant part of pacman.log could be useful to see the exact list
 of updated packages.

Ok. the updated packages are everything kde, gdb, sip, pyqt (there's also a 
crash of printer-applet when starting kde, but it's not influencing the happy 
reset fest), module-init-tools, openal, sdparm, texlive-bin, and today 
kdebase-* and qt 4.5.3-2 -4.5.3-3. Here's the  message in .xsession-errors:
Warning: Only changing the first 3 of 32 buttons.
unable to find device touchscreen
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kded4.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kglobalaccel.so
QSystemTrayIcon::setVisible: No Icon set
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kwalletd.so
The line touchscreen made me think about my touchscreen screen, but I 
unplugged its usb cable, and nothing changed. I'm running with no xorg.conf. 
Xorg.0.log says something about my WinTV's IR input device, even if I don't 
have such a IR device, being recognized as keyboard. So, I got off the wintv 
card, but nothing changed. Dmesg says this, at the very end:

WARNING: at drivers/base/driver.c:261 driver_unregister+0x7c/0xa0()
Hardware name: System Product Name
Unexpected driver unregister!
Modules linked in: loop ipv6 nls_cp437 vfat fat xfs exportfs ext3 jbd mbcache 
battery ac usbhid hid snd_via82xx tuner tea5767 tda8290 tda18271 tda827x 
tuner_xc2028 xc5000 tda9887 tuner_simple tuner_types mt20xx tea5761 joydev 
usbtouchscreen snd_wavefront snd_emu10k1 snd_util_mem snd_cs4236 snd_wss_lib 
snd_opl3_lib cx8800 snd_hwdep cx88_alsa cx88xx ir_common i2c_algo_bit 
v4l2_common videodev tveeprom ppdev fan snd_ice1712 snd_ice17xx_ak4xxx 
snd_ak4xxx_adda snd_cs8427 snd_i2c snd_via82xx_modem snd_ac97_codec snd_mpu401 
snd_mpu401_uart snd_rawmidi v4l1_compat btcx_risc videobuf_dma_sg 
videobuf_core nvidia(P) psmouse snd_seq_dummy snd_seq_oss snd_seq_midi_event 
snd_seq snd_seq_device ns558 i2c_viapro analog sr_mod snd_pcm_oss uhci_hcd 
cdrom parport_pc i2c_core asus_atk0110 ehci_hcd button thermal gameport 
serio_raw sg pcspkr lp parport k8temp processor amd64_agp snd_pcm snd_timer 
snd_page_alloc shpchp pci_hotplug usbcore snd_mixer_oss agpgart snd soundcore 
ac97_bus slhc sky2 evdev rtc_cmos(-) rtc_core rtc_lib reiserfs sd_mod sata_via 
ata_generic pata_via libata scsi_mod
Pid: 5103, comm: rmmod Tainted: P   2.6.30-ARCH #1
Call Trace:
 [c013b26a] ? warn_slowpath_common+0x7a/0xc0
 [c0302d3c] ? driver_unregister+0x7c/0xa0
 [c013b327] ? warn_slowpath_fmt+0x37/0x60
 [c0302d3c] ? driver_unregister+0x7c/0xa0
 [c016c97c] ? sys_delete_module+0x17c/0x220
 [c01ba200] ? do_munmap+0x1d0/0x290
 [c012585c] ? do_page_fault+0xfc/0x330
 [c0103cb3] ? sysenter_do_call+0x12/0x28
---[ end trace da5fe13a553aec7f ]---
mtrr: base(0xc900) is not aligned on a size(0xe0) boundary
eth0: no IPv6 routers present
mtrr: base(0xc900) is not aligned on a size(0xe0) boundary
usb 3-1: USB disconnect, address 2
mtrr: base(0xc900) is not aligned on a size(0xe0) boundary
mtrr: base(0xc900) is not aligned on a size(0xe0) boundary

mtrr is new, I think is something about the default drivers for the videocard. 
But the other trace is not a news, and never caused problems. Tried to swap 
keyboard, but to no avail. My other Ubuntu partition runs fine. In order to 
replicate the bug, it's enough to try to login in GMail. Pressing Enter = 
reset.
Ciao!
Dario
Chiacchiera con i tuoi amici in tempo reale!
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com


Re: [arch-general] X server reset when I press enter (!!!)

2009-10-08 Thread Dario
Ok,
changing the display manager to SLiM makes the gmail test failing. I'm gonna 
use the system for a while, and then update.

This is, really, odd.

Thanks to everybody, your prompt answers make me feel nice:)
Does somebody know something about the trace I'm getting at the end of dmesg 
and the mtrr story?

thanks again!

Ciao!

Dario
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


[arch-general] New PKGBUILD for libtorrent-rasterbar

2009-10-08 Thread Jeff Horelick
Hey all,

libtorrent-rasterbar is pretty out of date (2 months and 2 package
versions), so here's a PKGBUILD for the new version. I bumped the pkgver
(obviously), added python to the dependency list since we *ARE* building the
python bindings... and I set the package to use the system libgeoip/geoip
rather than the one bundled in the libtorrent tarball (which is a new
configure option in libtorrent-rasterbar 0.14.6). It also checks out fine
with namcap (no warnings or errors) and it compiled perfectly on the i686
box I tested it on.

Part of the reason i'd like to see this updated is that Deluge 1.2.0_rc1 is
out and myself and probably a few other Arch users would like to use it, but
it requires libtorrent-rasterbar =0.14.5 .

The PKGBUILD is attached, but in case it gets filtered out, here's a
pastebin link for it: http://dpaste.com/10/plain/

Thanks in advance for building/uploading,
JD


PKGBUILD
Description: Binary data


Re: [arch-general] New PKGBUILD for libtorrent-rasterbar

2009-10-08 Thread Ray Kohler
On Thu, Oct 8, 2009 at 2:33 PM, Jeff Horelick jdho...@gmail.com wrote:
 Quick thing to change that i just noticed. The libtorrent-rasterbar.so
 version was bumped (from libtorrent-rasterbar.so.4 to
 libtorrent-rasterbar.so.5) and that confuses at the very least Deluge and
 possibly other clients as well that use the versioned library rather than
 the plain .so. Perhaps add a symlink in the PKGBUILD to link
 libtorrent-rasterbar.so.5 to libtorrent-rasterbar.so.4 or
 libtorrent-rasterbar.so to libtorrent-rasterbar.so.4.

That is a bad idea. The soname version changed for a reason. You don't
want to give apps expecting version 4 a version 5 library. Instead,
all apps that link this library need to be rebuilt.


Re: [arch-general] Master mode and Intel 4965AGN

2009-10-08 Thread Thomas Bächler

Adam Lloyd schrieb:

The issue seems to be that the card won't enter master mode.  Trying
to set it up manually with `iwconfig wlan0 mode master` results in
SET failed on device wlan0 ; Invalid argument.  (As an interesting
side note, I can easily put it into ad-hoc, managed, or even monitor
mode this way.)


Intel doesn't support master mode for their cards.



signature.asc
Description: OpenPGP digital signature


[arch-general] /dev/tty* borked ...

2009-10-08 Thread Firmicus

Hi folks,

My system is uptodate with the current testing repo. During bootup today
I noticed the error message:
/etc/rc.sysinit: line 364: /dev/tty[0-9]*: no such file or directory
To my surprise, only /dev/tty was present, but none of tty0..9. Instead
there was a device literally named '/dev/tty[0-9]*' !! I deleted the
latter, and attempted to create the missing ones with mknod. But I think
I took the wrong major number, and now my system has started to behave a
bit crazy... Any idea what I should do to restore it to sanity?

Thanks,
F



Re: [arch-general] /dev/tty* borked ...

2009-10-08 Thread Firmicus
Thomas Bächler a écrit :
 Firmicus schrieb:
 Hi folks,

 My system is uptodate with the current testing repo. During bootup today
 I noticed the error message:
 /etc/rc.sysinit: line 364: /dev/tty[0-9]*: no such file or directory
 To my surprise, only /dev/tty was present, but none of tty0..9. Instead
 there was a device literally named '/dev/tty[0-9]*' !! I deleted the
 latter, and attempted to create the missing ones with mknod. But I think
 I took the wrong major number, and now my system has started to behave a
 bit crazy... Any idea what I should do to restore it to sanity?

 Thanks,
 F


 rm -f /etc/udev/rules.d/udev.rules

All right. Danke Thomas!
Rebooting now...

0 o .


Re: [arch-general] /dev/tty* borked ...

2009-10-08 Thread Firmicus
Firmicus a écrit :
 Thomas Bächler a écrit :
   
 Firmicus schrieb:
 
 Hi folks,

 My system is uptodate with the current testing repo. During bootup today
 I noticed the error message:
 /etc/rc.sysinit: line 364: /dev/tty[0-9]*: no such file or directory
 To my surprise, only /dev/tty was present, but none of tty0..9. Instead
 there was a device literally named '/dev/tty[0-9]*' !! I deleted the
 latter, and attempted to create the missing ones with mknod. But I think
 I took the wrong major number, and now my system has started to behave a
 bit crazy... Any idea what I should do to restore it to sanity?

 Thanks,
 F

   
 rm -f /etc/udev/rules.d/udev.rules

 
 All right. Danke Thomas!
 Rebooting now...

 0 o .

   
... and back! That was it indeed. Ah, well, how long did I live with
that antediluvian udev.rules file? It was dated March 2008 and did not
even belong to the udev package... Wonder what ill it caused otherwise.
Well. Gone now. Thanks again.
F




Re: [arch-general] New PKGBUILD for libtorrent-rasterbar

2009-10-08 Thread Jeff Horelick
Ignore the symlinking stuff i said earlier. :P It had that issues because i
had the old libtorrent-rasterbar version installed while building the new
one and that seems to have confused it. I removed all traces of
libtorrent-rasterbar from the system, did a rebuild and everything works
fine without any nasty symlinking.


Re: [arch-general] [SOLVED] php not working - Was: Web_application_package_guidelines wiki page

2009-10-08 Thread David C. Rankin
On Wednesday 07 October 2009 12:54:22 pm joz...@gmx.com wrote:
 Usually I don't have too much time for pulling my hear or for 
 anything else that's why I like when things just works. Even if I 
 need to fix things it's OK but sometimes I can't fix them just like 
 that for few minutes. I read the news, I went to #archlinux, I sent a 
 message here in the list but still nothing. 
 Then I search the forum and tried different things until once it 
 start working again. Few days I didn't touch anything at all. Really 
 didn't have time.
 I still can't try any other OS here because I spent too much time 
 setting this Arch up and configuring. It's my baby :)) It looks and 
 works beautiful. Except after Syu; but not always. Most of the time 
 things just work... Can't just say goodbye to Arch so easily. But if 
 once it will happen that I really can't fix something, that will be 
 the moment... I guess.
 Anyway, I'll try to buy another PC and install something else...
 

Remember it well. I was just like that with the first Mandrake server I set up 
for my office a decade ago. Then you learn that Linux is fairly indestructible 
and that no matter what config changes happen along the way, a bit of reading 
of the latest release notes and a bit of tweaking and anything can be brought 
back to life.

As for looking at another OS, it's great to experiment, but I'd be willing to 
wager that you find your way back to Arch. By far the most current, responsive 
and cleanest I've found. (I've tried a lot) Updates are going to causes 
changes in configs, etc. occasionally, that's just progress. One thing that 
really helps if you are using your linux box in a critical role is to setup 
another 'testing' box to test updates on and confirm all is well before 
updating the box you rely on. That will virtually eliminate any downtime. With 
P4 3.0GHz boxes being excessed for as little as $60 it's cheap insurance.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


Re: [arch-general] Which security setting in Arch prev ents forwarding X apps when su root?

2009-10-08 Thread David C. Rankin
On Thursday 08 October 2009 09:56:06 am Thomas Bächler wrote:
 David C. Rankin schrieb:
  Listmates,
 
  Which setting in Arch prevents forwarding apps when you ssh -X in an Arch
  box, su and then try to start a kde app, etc.? X forwarding works just
  fine as a user, but when trying it su'ed to root, I get the following
  error:
 
  [23:29 archangel:/etc] # kwrite
  X11 connection rejected because of wrong authentication.
  kwrite: cannot connect to X server localhost:10.0
 
  kdm config? X config? Any pointers/links would be appreciated.
 
 The suggestions made so far are either dangerous (xhost) or complicated
 (xauth, sux, kdesu, ...). You can have pam handle your authentication
 cookies if you add the following line to /etc/pam.d/su:
 
 session optional pam_xauth.so
 
 Now, run su or su - to get root, and it will have access to X.
 

Thomas, All,

Thanks for all the great answers. I now know how it works! I had no 
idea 
about the cookie, but that makes sense now. I will have to check my suse 
config to see how it is done there. They have something configured so it is 
automatic. Yep, they use Thomas' suggestion:

22:03 dcrgx:/etc/pam.d cat su
#%PAM-1.0
auth sufficient pam_rootok.so
auth includecommon-auth
account  includecommon-account
password includecommon-password
session  includecommon-session
session  optional   pam_xauth.so

That explains it. Thanks for the help.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com