LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-04-2005, 11:14 AM   #1
Fle><
Member
 
Registered: Dec 2003
Location: Vienna | Austria
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
Question GNOME login - bind: Permission denied


Hi,

Since I've updated my Gentoo yesterday, I am no more able to login via gdm. I am using GNOME. I can login if I change to failsafe mode.
The error message from ~/.xsession-errors is the following

Quote:
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "flex"
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
bind: Permission denied
Any hints?
 
Old 11-04-2005, 11:41 AM   #2
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
permission denit means you have no access to this files.
Checkot the permissions. Maybe you have to use chmod ore chgrp or chgrp
 
Old 11-04-2005, 03:21 PM   #3
Fle><
Member
 
Registered: Dec 2003
Location: Vienna | Austria
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
That's allright. But could you help me, and tell me which files, I have to check? And which permissions they should have?
 
Old 11-05-2005, 09:53 AM   #4
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
chmod +x * for exe files
chmod +rx for scripts
ore you have to start the program with strace then you can see whats all happend
or modify the scipt which is starting and put in -x for sriptdebugging
 
Old 11-06-2005, 01:36 PM   #5
Fle><
Member
 
Registered: Dec 2003
Location: Vienna | Austria
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
But that is my problem: Which script?
 
Old 11-06-2005, 02:10 PM   #6
Fle><
Member
 
Registered: Dec 2003
Location: Vienna | Austria
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
Maybe this can help you:
Code:
laptop2 log # pwd
/var/log
laptop2 log # tail xdm.log
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep  4 19:53:57 2005
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7
xdm error (pid 16165): Unknown session exit code 2304 from process 17883
I have not found anything useful at google.
 
Old 11-07-2005, 09:44 AM   #7
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
But what you see in /var/log/messages
ab what you find in /var/log/boot* ( 3files)
 
Old 11-07-2005, 11:11 AM   #8
Fle><
Member
 
Registered: Dec 2003
Location: Vienna | Austria
Distribution: Gentoo
Posts: 52

Original Poster
Rep: Reputation: 15
/var/log/messages (with debug=true in /etc/X11/gdm/gdm.conf) - I think there is nothing useful in it:
Code:
Nov  7 18:16:35 laptop2 init: Activating demand-procedures for 'A'
Nov  7 18:16:35 laptop2 gdm[4154]: gdm_main: Here we go...
Nov  7 18:16:35 laptop2 gdm[4154]: gdm_start_first_unborn_local: Starting :0
Nov  7 18:16:35 laptop2 gdm[4154]: gdm_display_manage: Managing :0
Nov  7 18:16:35 laptop2 gdm[4154]: loop check: last_start 0, last_loop 0, now: 1131383795, retry_count: 0
Nov  7 18:16:35 laptop2 gdm[4154]: Resetting counts for loop of death detection
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_slave_start: Starting slave process for :0
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_slave_start: Loop Thingie
Nov  7 18:16:35 laptop2 gdm[4155]: Sending VT_NUM == -1 for slave 4155
Nov  7 18:16:35 laptop2 gdm[4155]: Sending VT_NUM 4155 -1
Nov  7 18:16:35 laptop2 gdm[4154]: gdm_display_manage: Forked slave: 4155
Nov  7 18:16:35 laptop2 gdm[4154]: Handling message: 'VT_NUM 4155 -1'
Nov  7 18:16:35 laptop2 gdm[4154]: Got VT_NUM == -1
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_server_start: :0
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_auth_secure_display: Setting up access for :0
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_auth_secure_display: Setting up access
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_auth_secure_display: Setting up access for :0 - 1 entries
Nov  7 18:16:35 laptop2 gdm[4155]: Sending COOKIE == <secret> for slave 4155
Nov  7 18:16:35 laptop2 gdm[4155]: Sending COOKIE 4155 da...
Nov  7 18:16:35 laptop2 gdm[4154]: Handling message: 'COOKIE 4155 da...'
Nov  7 18:16:35 laptop2 gdm[4154]: Got COOKIE == <secret>
Nov  7 18:16:35 laptop2 gdm[4155]: Sending AUTHFILE == /var/gdm/:0.Xauth for slave 4155
Nov  7 18:16:35 laptop2 gdm[4155]: Sending AUTHFILE 4155 /var/gdm/:0.Xauth
Nov  7 18:16:35 laptop2 gdm[4154]: Handling message: 'AUTHFILE 4155 /var/gdm/:0.Xauth'
Nov  7 18:16:35 laptop2 gdm[4154]: Got AUTHFILE == /var/gdm/:0.Xauth
Nov  7 18:16:35 laptop2 gdm[4161]: gdm_server_spawn: '/usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7'Nov  7 18:16:35 laptop2 gdm[4155]: gdm_server_spawn: Forked server on pid 4161
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_server_start: Completed :0!
Nov  7 18:16:35 laptop2 gdm[4155]: Sending VT_NUM == 7 for slave 4155
Nov  7 18:16:35 laptop2 gdm[4155]: Sending VT_NUM 4155 7
Nov  7 18:16:35 laptop2 gdm[4154]: Handling message: 'VT_NUM 4155 7'
Nov  7 18:16:35 laptop2 gdm[4154]: Got VT_NUM == 7
Nov  7 18:16:35 laptop2 gdm[4155]: Sending XPID == 4161 for slave 4155
Nov  7 18:16:35 laptop2 gdm[4155]: Sending XPID 4155 4161
Nov  7 18:16:35 laptop2 gdm[4154]: Handling message: 'XPID 4155 4161'
Nov  7 18:16:35 laptop2 gdm[4154]: Got XPID == 4161
Nov  7 18:16:35 laptop2 gdm[4155]: gdm_slave_run: Opening display :0
Nov  7 18:16:38 laptop2 agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
Nov  7 18:16:38 laptop2 agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
Nov  7 18:16:38 laptop2 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Nov  7 18:16:41 laptop2 gdm[4155]: Sending START_NEXT_LOCAL
Nov  7 18:16:41 laptop2 gdm[4155]: gdm_slave_greeter: Running greeter on :0
Nov  7 18:16:41 laptop2 gdm[4155]: gdm_slave_greeter: Greeter on pid 4202
Nov  7 18:16:41 laptop2 gdm[4155]: Sending GREETPID == 4202 for slave 4155
Nov  7 18:16:41 laptop2 gdm[4155]: Sending GREETPID 4155 4202
Nov  7 18:16:41 laptop2 gdm[4154]: Handling message: 'START_NEXT_LOCAL'
Nov  7 18:16:41 laptop2 gdm[4154]: Handling message: 'GREETPID 4155 4202'
Nov  7 18:16:41 laptop2 gdm[4154]: Got GREETPID == 4202
Nov  7 18:16:41 laptop2 gdm[4154]: gdm_socket_handler: Accepting new connection fd 8
Nov  7 18:16:41 laptop2 gdm[4154]: Handling user message: 'VERSION'
Nov  7 18:16:41 laptop2 gdm[4154]: Handling user message: 'GET_CONFIG_FILE'
Nov  7 18:16:41 laptop2 gdm[4154]: Handling user message: 'CLOSE'
Nov  7 18:16:42 laptop2 gdm[4155]: gdm_slave_wait_for_login: In loop
Nov  7 18:16:52 laptop2 gdm[4155]: Sending QUERYLOGIN == flex for slave 4155
Nov  7 18:16:52 laptop2 gdm[4155]: Sending QUERYLOGIN 4155 flex
Nov  7 18:16:52 laptop2 gdm[4154]: Handling message: 'QUERYLOGIN 4155 flex'
Nov  7 18:16:52 laptop2 gdm[4154]: Got QUERYLOGIN flex
Nov  7 18:16:52 laptop2 gdm(pam_unix)[4155]: session opened for user flex by (uid=0)
Nov  7 18:16:52 laptop2 gdm[4154]: Handling message: 'LOGGED_IN 4155 1'
Nov  7 18:16:52 laptop2 gdm[4154]: Got logged in == TRUE
Nov  7 18:16:52 laptop2 gdm[4155]: gdm_slave_wait_for_login: end verify for 'flex'
Nov  7 18:16:52 laptop2 gdm[4155]: gdm_slave_wait_for_login: got_login for 'flex'
Nov  7 18:16:52 laptop2 gdm[4155]: Sending LOGGED_IN == 1 for slave 4155
Nov  7 18:16:52 laptop2 gdm[4155]: Sending LOGGED_IN 4155 1
Nov  7 18:16:52 laptop2 gdm[4155]: Sending LOGIN == flex for slave 4155
Nov  7 18:16:52 laptop2 gdm[4155]: Sending LOGIN 4155 flex
Nov  7 18:16:52 laptop2 gdm[4154]: Handling message: 'LOGIN 4155 flex'
Nov  7 18:16:52 laptop2 gdm[4154]: Got LOGIN == flex
Nov  7 18:16:52 laptop2 gdm[4155]: gdm_slave_session_start: Attempting session for user 'flex'
Nov  7 18:16:53 laptop2 gdm[4155]: Initial setting: session: 'gnome' language: ''
Nov  7 18:16:53 laptop2 gdm[4155]: gdm_slave_session_start: Authentication completed. Whacking greeter
Nov  7 18:16:53 laptop2 gdm[4155]: slave_waitpid: waiting on -1
Nov  7 18:16:53 laptop2 gdm[4155]: slave_waitpid: done_waiting
Nov  7 18:16:53 laptop2 gdm[4155]: Sending GREETPID == 0 for slave 4155
Nov  7 18:16:53 laptop2 gdm[4155]: Sending GREETPID 4155 0
Nov  7 18:16:53 laptop2 gdm[4154]: Handling message: 'GREETPID 4155 0'
Nov  7 18:16:53 laptop2 gdm[4154]: Got GREETPID == 0
Nov  7 18:16:53 laptop2 gdm[4155]: gdm_auth_user_add: Adding cookie for 1000
Nov  7 18:16:53 laptop2 gdm[4155]: get_local_auths: Setting up socket access
Nov  7 18:16:53 laptop2 gdm[4155]: get_local_auths: Setting up network access
Nov  7 18:16:53 laptop2 gdm[4155]: get_local_auths: Setting up access for :0 - 2 entries
Nov  7 18:16:53 laptop2 gdm[4155]: gdm_auth_user_add: Using /home/flex/.Xauthority for cookies
Nov  7 18:16:53 laptop2 gdm[4155]: gdm_auth_purge: :0
Nov  7 18:16:53 laptop2 gdm[4155]: gdm_auth_user_add: Done
Nov  7 18:16:53 laptop2 gdm[4155]: Sending WRITE_X_SERVERS == 0 for slave 4155
Nov  7 18:16:53 laptop2 gdm[4155]: Sending WRITE_X_SERVERS 4155 0
Nov  7 18:16:53 laptop2 gdm[4154]: Handling message: 'WRITE_X_SERVERS 4155 0'
Nov  7 18:16:53 laptop2 gdm[4155]: Sending SESSPID == 4203 for slave 4155
Nov  7 18:16:53 laptop2 gdm[4155]: Sending SESSPID 4155 4203
Nov  7 18:16:53 laptop2 gdm[4154]: Handling message: 'SESSPID 4155 4203'
Nov  7 18:16:53 laptop2 gdm[4154]: Got SESSPID == 4203
Nov  7 18:16:53 laptop2 gdm[4155]: slave_waitpid: waiting on 4203
Nov  7 18:16:53 laptop2 gdm[4203]: Running /etc/X11/gdm/Xsession gnome-session  for flex on :0
Nov  7 18:16:53 laptop2 gdm[4155]: slave_waitpid: done_waiting
Nov  7 18:16:53 laptop2 gdm[4155]: Session: start_time: 1131383813 end_time: 1131383813
Nov  7 18:16:53 laptop2 gdm[4155]: Session less than 10 seconds!
Nov  7 18:16:56 laptop2 gdm[4155]: Sending SESSPID == 0 for slave 4155
Nov  7 18:16:56 laptop2 gdm[4155]: Sending SESSPID 4155 0
Nov  7 18:16:56 laptop2 gdm[4154]: Handling message: 'SESSPID 4155 0'
Nov  7 18:16:56 laptop2 gdm[4154]: Got SESSPID == 0
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_slave_session_stop: flex on :0
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_slave_session_stop: Running post session script
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_auth_user_remove: Removing cookie from /home/flex/.Xauthority (0)
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_auth_purge: :0
Nov  7 18:16:56 laptop2 gdm[4155]: Running gdm_verify_cleanup and pamh != NULL
Nov  7 18:16:56 laptop2 gdm[4155]: Running pam_close_session
Nov  7 18:16:56 laptop2 gdm(pam_unix)[4155]: session closed for user flex
Nov  7 18:16:56 laptop2 gdm[4155]: Running pam_setcred with PAM_DELETE_CRED
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_slave_session_start: Session ended OK (now all finished)
Nov  7 18:16:56 laptop2 gdm[4155]: Sending LOGGED_IN == 0 for slave 4155
Nov  7 18:16:56 laptop2 gdm[4155]: Sending LOGGED_IN 4155 0
Nov  7 18:16:56 laptop2 gdm[4154]: Handling message: 'LOGGED_IN 4155 0'
Nov  7 18:16:56 laptop2 gdm[4154]: Got logged in == FALSE
Nov  7 18:16:56 laptop2 gdm[4155]: Sending LOGIN ==  for slave 4155
Nov  7 18:16:56 laptop2 gdm[4155]: Sending LOGIN 4155
Nov  7 18:16:56 laptop2 gdm[4154]: Handling message: 'LOGIN 4155 '
Nov  7 18:16:56 laptop2 gdm[4154]: Got LOGIN ==
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_slave_start: Reinitializing things
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_server_stop: Server for :0 going down!
Nov  7 18:16:56 laptop2 gdm[4155]: gdm_server_stop: Killing server pid 4161
Nov  7 18:16:57 laptop2 gdm[4155]: gdm_server_stop: Server pid 4161 dead
Nov  7 18:16:57 laptop2 gdm[4155]: Sending XPID == 0 for slave 4155
Nov  7 18:16:57 laptop2 gdm[4155]: Sending XPID 4155 0
Nov  7 18:16:57 laptop2 gdm[4154]: Handling message: 'XPID 4155 0'
Nov  7 18:16:57 laptop2 gdm[4154]: Got XPID == 0
Nov  7 18:16:57 laptop2 gdm[4155]: gdm_slave_start: Loop Thingie
Nov  7 18:16:57 laptop2 gdm[4155]: gdm_slave_run: Sleeping 1 seconds before server start
Nov  7 18:16:58 laptop2 gdm[4155]: Sending VT_NUM == -1 for slave 4155
Nov  7 18:16:58 laptop2 gdm[4155]: Sending VT_NUM 4155 -1
Nov  7 18:16:58 laptop2 gdm[4154]: Handling message: 'VT_NUM 4155 -1'
Nov  7 18:16:58 laptop2 gdm[4154]: Got VT_NUM == -1
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_server_start: :0
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_auth_secure_display: Setting up access for :0
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_auth_secure_display: Setting up access
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_auth_secure_display: Setting up access for :0 - 1 entries
Nov  7 18:16:58 laptop2 gdm[4155]: Sending COOKIE == <secret> for slave 4155
Nov  7 18:16:58 laptop2 gdm[4155]: Sending COOKIE 4155 f1...
Nov  7 18:16:58 laptop2 gdm[4154]: Handling message: 'COOKIE 4155 f1...'
Nov  7 18:16:58 laptop2 gdm[4154]: Got COOKIE == <secret>
Nov  7 18:16:58 laptop2 gdm[4155]: Sending AUTHFILE == /var/gdm/:0.Xauth for slave 4155
Nov  7 18:16:58 laptop2 gdm[4155]: Sending AUTHFILE 4155 /var/gdm/:0.Xauth
Nov  7 18:16:58 laptop2 gdm[4154]: Handling message: 'AUTHFILE 4155 /var/gdm/:0.Xauth'
Nov  7 18:16:58 laptop2 gdm[4154]: Got AUTHFILE == /var/gdm/:0.Xauth
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_server_spawn: Forked server on pid 4265
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_server_start: Completed :0!
Nov  7 18:16:58 laptop2 gdm[4155]: Sending VT_NUM == 7 for slave 4155
Nov  7 18:16:58 laptop2 gdm[4155]: Sending VT_NUM 4155 7
Nov  7 18:16:58 laptop2 gdm[4154]: Handling message: 'VT_NUM 4155 7'
Nov  7 18:16:58 laptop2 gdm[4154]: Got VT_NUM == 7
Nov  7 18:16:58 laptop2 gdm[4265]: gdm_server_spawn: '/usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7'Nov  7 18:16:58 laptop2 gdm[4155]: Sending XPID == 4265 for slave 4155
Nov  7 18:16:58 laptop2 gdm[4155]: Sending XPID 4155 4265
Nov  7 18:16:58 laptop2 gdm[4154]: Handling message: 'XPID 4155 4265'
Nov  7 18:16:58 laptop2 gdm[4154]: Got XPID == 4265
Nov  7 18:16:58 laptop2 gdm[4155]: gdm_slave_run: Opening display :0
Nov  7 18:17:01 laptop2 agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
Nov  7 18:17:01 laptop2 agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
Nov  7 18:17:01 laptop2 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Nov  7 18:17:04 laptop2 gdm[4155]: Sending START_NEXT_LOCAL
Nov  7 18:17:04 laptop2 gdm[4155]: gdm_slave_greeter: Running greeter on :0
Nov  7 18:17:04 laptop2 gdm[4154]: Handling message: 'START_NEXT_LOCAL'
Nov  7 18:17:04 laptop2 gdm[4155]: gdm_slave_greeter: Greeter on pid 4272
Nov  7 18:17:04 laptop2 gdm[4155]: Sending GREETPID == 4272 for slave 4155
Nov  7 18:17:04 laptop2 gdm[4155]: Sending GREETPID 4155 4272
Nov  7 18:17:04 laptop2 gdm[4154]: Handling message: 'GREETPID 4155 4272'
Nov  7 18:17:04 laptop2 gdm[4154]: Got GREETPID == 4272
Nov  7 18:17:04 laptop2 gdm[4154]: gdm_socket_handler: Accepting new connection fd 8
Nov  7 18:17:04 laptop2 gdm[4154]: Handling user message: 'VERSION'
Nov  7 18:17:04 laptop2 gdm[4154]: Handling user message: 'GET_CONFIG_FILE'
Nov  7 18:17:04 laptop2 gdm[4154]: Handling user message: 'CLOSE'
Nov  7 18:17:05 laptop2 gdm[4155]: gdm_slave_wait_for_login: In loop
I have no /var/log/boot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Networking 10 09-07-2005 12:20 AM
BIND 9 Permission denied when chmod is 777 o_O KasperLotus Linux - Software 0 08-28-2005 11:42 PM
Login against active directory. Get permission denied! ZilenT-X Linux - Newbie 6 08-15-2005 04:29 AM
Bind 9 - trasfer zones - permission denied ddaas Linux - Security 1 02-01-2005 09:28 AM
permission denied message at login p_test Linux - Newbie 2 10-07-2004 02:53 PM


All times are GMT -5. The time now is 01:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration