Re: [gdm-list] 3.2.1.1: How to start gdm-simple-greeter?



On Fri, 2011-12-16 at 13:11 -0500, John D. Hendrickson and Sara Darnell
wrote:
> > Date: Wed, 14 Dec 2011 21:22:22 +0100
> > From: tjoen <tjoen dds nl>
> 
> > After starting gdm, gdm-shell.session exits and
> > gdm-fallback.session starts with gnome-panel
> 
> <snip>
> 
> What package did you install and on what linux distribution?

LFS-like (LFS=Linux From Scratch). Created my own *.rpms

./configure --prefix=/usr --disable-static \
  --with-sysconfsubdir=X11/gdm --with-dmconfdir=X11/dm

%install
make DESTDIR=$RPM_BUILD_ROOT install-strip

%post
GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults \
  /usr/bin/gconftool-2 --makefile-install-rule \
  /etc/gconf/schemas/gdm-simple-greeter.schemas
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
scrollkeeper-update -p "`scrollkeeper-config --pkglocalstatedir`" \
  -o "/usr/share/omf/gdm"

%files
....
/var/log/gdm

%defattr(-,root,gdm)
/var/cache/gdm
/var/gdm
%dir /var/lib/gdm
/var/lib/gdm/.gconf.*
%dir /var/run/gdm

%defattr(-,gdm,gdm)
/var/lib/gdm/.config
/var/lib/gdm/.local
/var/run/gdm/greeter


> > gnome-session[5114]: DEBUG(+): Cannot use session 
> > '/usr/share/gdm/greeter/gnome-session/sessions/gnome-fallback.session': 
> > non-existing or invalid file.
> > gnome-session[5114]: DEBUG(+): GsmUtil: Looking in 
> 
> These look like 1) false start and it's looking for fallback.  2) like those files aren't there.

gnome-session searches a few dirs for gnome-fallback.session. At last 
it finds /usr/share/gnome-session/sessions/gnome-fallback.session

> BTW: if your logged to shell, have X wrapper (likely), you may be able to run X gnome-session 
> without usign a greeter at all :)  (there are many ways to launch a desktop)

Currently I use startx to launch my ~/.xsession

Thanks for your reply.

I have tried other ways to try to start gdm-simple greeter,
none of them work.

tried to place gdm-simple-greeter to the of the line
Original /usr/share/gnome-session/sessions/gdm-fallback.session
[GNOME Session]
Name=Display Manager
RequiredComponents=gdm-simple-greeter;gnome-settings-daemon;
RequiredProviders=windowmanager;
DefaultProvider-windowmanager=metacity

/etc/init/gdm.conf
env DISPLAY=:0.0
post exec su -c '/usr/libexec/gdm-simple-greeter' gdm

According to /etc/X11/gdm/Xsession
/var/lib/gdm/.Xclients with
/usr/libexec/gdm-simple-greeter should work.
but not in my case

I haven't tried editing
/etc/X11/gdm/Xsession and
/etc/X11/gdm/custom.conf

My /var/log/gdm/*
:0-greeter.log    :0-slave.log    :0.log    :1-greeter.log
:0-greeter.log.1  :0-slave.log.1  :0.log.1  :1-slave.log
:0-greeter.log.2  :0-slave.log.2  :0.log.2  :1.log
:0-greeter.log.3  :0-slave.log.3  :0.log.3
:0-greeter.log.4  :0-slave.log.4  :0.log.4




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]