Page 1 of 2

gdm2setup in Arch isn't working

Posted: 11 Oct 2010, 03:04
by dedanna1029
I am having issues with gdm2setup in Arch. I go in, set the timing for who auto-logs in when, and it doesn't save the settings. When I go back into gdm2setup, you'll see that the timing is set back to 0, when I've tried to set it to 10 seconds:

Image

As well, when I click to change the wallpaper, not only will it not let me change it, but it hangs there, and won't even let me cancel out, and the only way to get out of that window, is to click the X at the upper right:

Image

As you can tell from the last image here, I've already clicked "Ok" and it's still sitting there.

The only way I can even get gdm2setup to launch, is from CLI - it won't launch from the menu.

I'm wondering if this log from the last time I ran it gives any clues as to what's going on?

I may try reinstalling it, not sure.

Thanks.

Re: gdm2setup in Arch isn't working

Posted: 11 Oct 2010, 03:16
by dedanna1029
In fact, I have just uninstalled and reinstalled it with the same issues. Here's the last of the output:

Code: Select all

GetWallpaper:  /usr/share/pixmaps/backgrounds/gnome/background-default.jpg
in on_wallpaperchooser_dlg_update_preview, WallpaperLocation:  /usr/share/pixmaps/backgrounds/gnome/nature
in on_wallpaperchooser_dlg_update_preview, WallpaperLocation:  None
in on_wallpaperchooser_dlg_update_preview, WallpaperLocation:  /usr/share/pixmaps/backgrounds/gnome/nature/Aqua.jpg
In on_open_wallpaperchooser, selected Wallpaper:  /usr/share/pixmaps/backgrounds/gnome/nature/Aqua.jpg
SetWallpaper:  /usr/share/pixmaps/backgrounds/gnome/nature/Aqua.jpg False
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gdm2/gdm2setup.py", line 196, in on_open_wallpaperchooser
    self.theme.SetWallpaper(WallpaperLocation, False)
  File "/usr/lib/python2.6/site-packages/gdm2/gdm2gconf.py", line 191, in SetWallpaper
    image.save(self.XSPLASH_IMAGE_LOCATION)
  File "/usr/lib/python2.6/site-packages/PIL/Image.py", line 1433, in save
    fp = __builtin__.open(fp, "wb")
IOError: [Errno 2] No such file or directory: u'/usr/share/images/xsplash/bg.jpg


It would appear there's a bug in it. Sigh. Guess I'll have to configure gdm.conf manually... :(

@Viking, would you please post the output of:

Code: Select all

$ cat /etc/gdm/custom.conf

Since at last report that you gave, gdm2setup was working for you? It would help greatly in building mine.

Thanks.

Re: gdm2setup in Arch isn't working

Posted: 11 Oct 2010, 07:22
by viking60
Well you will notice that your wallpapers are not in pixmaps. It would help a bit if you actually copied them there.

Code: Select all

:) cat  /etc/gdm/custom.conf
[daemon]
gdmxservertimeout = 60
timedloginenable = False
automaticlogin = None
automaticloginenable = False
timedlogindelay = 30
timedlogin = None

[chooser]

[debug]

[greeter]

[security]

[xdmcp]


It is known that the last two tabs do not work. changing the wallpapers will only work if you actually copy them over to pixmaps. I have done that so it works. But there must be a bug in that path.
Also the automatic login does not work.

Re: gdm2setup in Arch isn't working

Posted: 11 Oct 2010, 14:06
by dedanna1029
Then why is it seeing wallpapers there, as evidenced in the screen shot? And yeah, I set the timed login in custom.conf, and you're right, it doesn't work.

The Gnome devels have really screwed it up by taking our power of choice away in the login manager. This really sucks. :(

I suppose we might be able to choose another gnome theme in custom.conf, and then it *might* work, but no guarantees.

Okay, the first section of that I already had. Trying to get to how to change to a different greeter and theme. I don't get it - these things can still be changed in Fedora's custom.conf.

Re: gdm2setup in Arch isn't working

Posted: 11 Oct 2010, 22:56
by viking60
I might have modified it - not sure any more. You will probably see one or two wallpapers but do you see the rest? Anyway I copied them all (the folder) to

Code: Select all

/usr/share/images/xsplash
to make the selection work. If it already does in your case you are in the clear. :tux5:
This also depends on sudo so you might want to take the time now to install that.
http://aur.archlinux.org/packages.php?ID=33884

Re: gdm2setup in Arch isn't working

Posted: 11 Oct 2010, 23:52
by dedanna1029
Will give it a go.

Yeah, I have sudo installed, but don't use it. Would much rather su or su - to root if I have to, but don't have to, as Arch has a root terminal. :)

Re: gdm2setup in Arch isn't working

Posted: 12 Oct 2010, 10:47
by viking60
This just goes to the fuctionality of gdm2setup. I have managed to change the theme and Icon set (It works in gdm2setup)
The automatic (timed) login does not work tho..

Code: Select all

:) cat /etc/gdm/custom.conf
[daemon]
gdmxservertimeout = 60
timedloginenable = True
automaticlogin = viking
automaticloginenable = True
timedlogindelay = 5.0
timedlogin = viking

[chooser]

[debug]

[greeter]

[security]

[xdmcp]

Re: gdm2setup in Arch isn't working

Posted: 12 Oct 2010, 20:00
by dedanna1029
How did you change the theme? I don't see it in custom.conf?

Thanks so much, btw. :)

Re: gdm2setup in Arch isn't working

Posted: 12 Oct 2010, 21:37
by viking60
Well I go to the decoration tab in the GUI and change it there.

Re: gdm2setup in Arch isn't working

Posted: 13 Oct 2010, 00:03
by dedanna1029
That's not the theme I'm talking about. I'm talking about the themes that are installed with gdm-themes and gdm-more-themes. The decoration tab only gives a gtk theme and icon set for the login screen. It doesn't give a gdm theme.

Re: gdm2setup in Arch isn't working

Posted: 13 Oct 2010, 00:18
by viking60
Oh sorry I have been talking "wrong" fore a while here then ... Having a look at the real problem now...
Ok here we are:
right click on the desktop and pick adjust or adapt (mine is in Norwegian) it is the third button on the bottom. There you can pick the theme. I use Clearlooks-DarkLime with oxygen icon set.

Re: gdm2setup in Arch isn't working

Posted: 13 Oct 2010, 00:28
by dedanna1029
No, not the gnome theme either.

Install gdm themes, and look at the Theme tab in gdm2setup. There are themes for gdm, for the login manager specifically.