GDM 2.26 cannot login

Hi all,

I am using FreeBSD 7.1p2 with hald and dbus activated.

When I start GDM 2.26 the userlist only shows 'others' and a login as root or any other user is not possible.

Any hint to solve this problem is greatly appreciated.

cheers
 
The whole documentation doesn't touch my problem.

The communication between FreeBSD's user authetification and GDM seems to be broken.

I have attached a log file from /var/log/gdm.
 

Attachments

  • :0-greeter.log.txt
    14 KB · Views: 592
This one looks serious:
Code:
E: core-util.c: Home directory /usr/local/etc/gdm/home not ours.
Have a look at the permissions and ownership of that directory.
 
These are the acl of my /usr/local/etc/gdm/home

Code:
drwxrwx--T  11 root  gdm     512 Apr 24 19:41 home

Is there anything wrong?
 
The same problem. I see gdm started, but it doesn't load gnome session further. I see some gray box of my username but can't log in.

More details here:
http://groups.google.com/group/mailing.freebsd.hackers/browse_thread/thread/57111c057118ccec#
FreeBSD 8.1 + xorg-server-1.7.5,1 + gnome2-2.30.1_1
Compiled and installed xorg and gnome from ports.

The same related topic here:
http://www.listware.net/201005/freebsd-gnome/90450-trouble-with-gnome-session-0.html

The only difference is that you have:
Code:
gnome-session[1217]: 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)

I have:
Code:
gnome-session[96761]: WARNING: Could not launch application 'at-spi-registryd-wrapper.desktop': Unable to start application: Failed to execute 
child process "${exec_prefix}/libexec/at-spi-registryd" (No such file or directory)

Probably this is the main reason why gnome-session doesn't start.

Workaround:
From root run:

Code:
setenv DISPLAY :0.0
gnome-terminal &

Then go to graphics mode and you could run: gnome-session or gnome-panel

Does that mean that ${exec-prefix} is not parsed or defined correctly in at-spi-registryd-wrapper.desktop?
Line:
Code:
Exec=${exec_prefix}/libexec/at-spi-registryd
 
See attachment log.

in your case I could suggest you to check if you have gnome-power-manager installed as the error suggest?

Code:
kenorb# pkg_info -W `which gnome-power-manager`
/usr/local/bin/gnome-power-manager was installed by package gnome-power-manager-2.30.1_1
Related: http://forums.freebsd.org/showthread.php?p=100006#post100006

Related: http://forums.freebsd.org/showthread.php?p=85710#post85710

Another related topic with the same error:

http://forums.freebsd.org/showthread.php?t=17184
http://pastebin.com/F73TA3Lk
 

Attachments

  • gnome.err.txt
    3 KB · Views: 370
Yes, it's the bug!
It does work!

Workaround FIX, run this:
sed -i '.bak' -e 's@Exec=${exec_prefix}@Exec=/usr/local@' `locate at-spi-registryd-wrapper.desktop`
 
Would you be so kind not to press the
report.gif
button when you experience a EUREKA! moment? It sends an email to the moderators and admins. We get enough email, usually of a more interesting nature too.
 
Sorry, I read that as 'Repost Post', not 'Report Post'. I wanted to re-edit (re-post) my Post.
Usually 'Edit' button is available in most of the forums and this icon doesn't meant nothing to me.
It's not logical to be able to report my own post?;)
Nnow I know. Sorry, I'll not do it again.
 
kenorb said:
Sorry, but it's a real pity to not able to edit our mistakes.

You can edit your posts after 10 posts and 10 days of membership.
 
In the meantime, you can read before you post ... Can be done without buttons ;)
 
Good evening,

I did
Code:
sed -i '.bak' -e 's@Exec=${exec_prefix}@Exec=/usr/local@' `locate at-spi-registryd-wrapper.desktop`

It returned
Code:
locate: database too small: /var/db/locate.database
sed: -I or -i may not be used with stdin

What now?
 
Ok I did
Code:
/usr/libexec/locate.updatedb
(found here http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-07/msg00588.html)

So
Code:
sed -i '.bak' -e 's@Exec=${exec_prefix}@Exec=/usr/local@' `locate at-spi-registryd-wrapper.desktop`
was successfull. No error message in /var/log/messages.

But I'm still not able to enter login data. /var/log/messages stil says
Code:
Oct 21 20:44:42 Katecholamin console-kit-daemon[1058]: WARNING: kvm_getenvv failed: cannot open /proc/1058/mem
Oct 21 20:44:56 Katecholamin gnome-session[1152]: WARNING: Application 'metacity.desktop' failed to register before timeout
Oct 21 20:44:56 Katecholamin console-kit-daemon[1058]: WARNING: kvm_getenvv failed: cannot open /proc/1172/mem
Oct 21 20:44:57 Katecholamin console-kit-daemon[1058]: WARNING: kvm_getenvv failed: cannot open /proc/1170/mem
Oct 21 20:45:21 Katecholamin gdm-simple-greeter[1170]: Gtk-WARNING: gtkwidget.c:5628: widget not within a GtkWindow
Oct 21 20:45:21 Katecholamin console-kit-daemon[1058]: WARNING: kvm_getenvv failed: cannot open /proc/1170/mem
Oct 21 20:45:21 Katecholamin gdm-simple-greeter[1170]: WARNING: Unable to find users: no seat-id found
 
Update:

I can now enter login data and the systems seems to accept them.

The problem was missing mounting of /proc.

As I said, the systems seems to accept login data. I could not verify this the whole system freezes. SSH-connections dying as well -.-
/var/log/meesages says
Code:
Oct 21 20:44:56 Katecholamin gnome-session[1152]: WARNING: Application 'metacity.desktop' failed to register before timeout
Oct 21 20:45:21 Katecholamin gdm-simple-greeter[1170]: Gtk-WARNING: gtkwidget.c:5628: widget not within a GtkWindow
 
Back
Top