For some reason, after upgrading from 6.1 to 6.2 kppp dies with the
following after I enter my root password into userhelper's prompt (I am
running as a regular user):
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
kppp: cannot connect to X server :0.0
However, when I do su -c kppp and type in my root password, kppp connects
to the X server and runs fine.
Here is a solution.
1) Add the following line to /etc/security/pam_env.conf
2) Add the following line to /etc/pam.d/kppp , right before all other "auth"
auth optional /lib/security/pam_env.so
Works for me!
*** Bug 10054 has been marked as a duplicate of this bug. ****** Bug 11027 has been marked as a duplicate of this bug. ***
Change "SESSION=false" to "SESSION=true" in /etc/security/console.apps/kppp.
This is done in rawhide.