Summary of the problem: vnc user are automatically logger out after 2-3 mintues.
The OS: Scientific Linux 6.8. We have tigervnc-server (controle by xinetd) and gdm setup.
tigervnc-server-1.1.0-18.el6.x86_64 gdm-2.30.4-64.el6.x86_64 We use /etc/pam.d/gdm-password to control.
The vnc server has been working fine for long time. But yesterday, we begin to have a strange problem. (maybe it is related to the automatical yum update. Not sure yet, yesterday, there are 400+ packages were updated by yum, but we need to live with the
update, no?)
the problem is: when user login to vnc server, then after around 2-3 mins, user was logged out, the gdm welcom screen is shown again.
I did a test with my vnc client, vncviewer -via vcnserver :6924, Here are the log I see:
1. the logs when the gdm welcom screen is presented:
Jul 20 10:25:07 sshd[18227]: Authorized to myaccount, krb5 principal
myaccount@krb5.realm (krb5_kuserok)
Jul 20 10:25:07 sshd[18227]: Accepted gssapi-with-mic for myaccount from xxx.xxx.xxx.xx port 44421 ssh2Jul 20 10:25:07 sshd[18227]: pam_unix(sshd:session): session opened for usermyaccount by (uid=0) Jul 20 10:25:07 polkitd(authority=local)[12066]: Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session44 (system bus name :1.453 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale)
2. the logs when I input my username and password, the I login:
Jul 20 10:25:59 gdm-password: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=127.0.0.1:1 ruser= rhost=127.0.0.1 user=myaccount Jul 20 10:25:59 pam[18298]: gdm-password: pam_krb5[18298]: TGT verified using key for 'host/vncserver@krb5realm'
Jul 20 10:25:59 polkitd(authority=local)[12066]: Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session44 (system bus name :1.453, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale ) (disconnected from bus)
Jul 20 10:25:59 pam[18298]: gdm-password: pam_krb5[18298]: authentication succeeds for 'myaccount' (myaccount@krb5realm) Jul 20 10:25:59 pam[18298]: gdm-password: pam_unix(gdm-password:session): session opened for user my account by (uid=0)
3. Then I did some activites: open xclock, , did a watch date, and after 2-3 mintues, the screen become black, then the gdm welcome screen show up again to ask user name and password. so the login just last 2-3 minitues each time. The moment, the screen become black then gdm welcom screen is shown up, I see the followings logs:
Jul 20 11:01:36 polkitd(authority=local)[15468]: Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session2 (system bus name :1.26, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale ) (disconnected from bus)
Jul 20 11:01:36 pam[19899]: gdm-password: pam_succeed_if(gdm-password:auth): error retrieving user name: Conversation error Jul 20 11:01:37 gnome-session[20176]: WARNING: Could not launch application 'gnome-power-manager.desktop': Unable to start application: Failed to execute child process "gnome-power-manager" (No such file or directory) Jul 20 11:01:37 polkitd(authority=local)[15468]: Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session3 (system bus name :1.35 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale ) I googled quite some, but until now, have not found solution yet. So come to look for help in gdm list! Thanks much in advance! niu
|