Screenshot of gdm login screen

For our internal documentation I need a screenshot of our custom gdm
login screen of SLED11 SP1. Following several pathes along import,
starting multiple X servers, vncserver, or manipulating Xsession and the
gdm configuration I did achieve basically nothing. Can someone point me
to a description on how to complete this task on this specific
distribution? THX.

Günther

[QUOTE=Günther Schwarz]For our internal documentation I need a
screenshot of our custom gdm login screen of SLED11 SP1. Following
several pathes along import, starting multiple X servers, vncserver, or
manipulating Xsession and the gdm configuration I did achieve basically
nothing. Can someone point me to a description on how to complete this
task on this specific distribution? THX.

Günther

[/QUOTE]
Hi
Look here under the section; Capturing your GDM screen
https://live.gnome.org/GnomeArt/Tutorials/GdmThemes


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.34-0.7-default
up 2 days 19:08, 2 users, load average: 0.46, 0.51, 0.46
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Am 29.06.2012 16:15, schrieb malcolmlewis:[color=blue]

[QUOTE=Günther Schwarz]For our internal documentation I need a
screenshot of our custom gdm login screen of SLED11 SP1. Following
several pathes along import, starting multiple X servers, vncserver, or
manipulating Xsession and the gdm configuration I did achieve basically
nothing. Can someone point me to a description on how to complete this
task on this specific distribution? THX.

Günther

[/QUOTE]
Hi
Look here under the section; Capturing your GDM screen
https://live.gnome.org/GnomeArt/Tutorials/GdmThemes[/color]

Thanks for the hint. This is of many instructions published for Ubuntu
or several other distributions. Up to now none of these worked for
SLED11. Specifically:

linuxpool-13:~ # gdmflexiserver --xnest

** (gdmflexiserver:12791): WARNING **: Not yet implemented
linuxpool-13:~ # gdmflexiserver --help
Usage:
gdmflexiserver [OPTION…] - New GDM login

Help Options:
-h, --help Show help options

Application Options:
-c, --command=COMMAND Ignored - retained for compatibility
-n, --xnest Ignored - retained for compatibility
-l, --no-lock Ignored - retained for compatibility
-d, --debug Debugging output
-a, --authenticate Ignored - retained for compatibility
-s, --startnew Ignored - retained for compatibility
–monte-carlo-pi
–version Version of this application

linuxpool-13:~ #

Günther

[QUOTE=Günther Schwarz]Am 29.06.2012 16:15, schrieb malcolmlewis:[color=blue]

[QUOTE=Günther Schwarz]For our internal documentation I need a
screenshot of our custom gdm login screen of SLED11 SP1. Following
several pathes along import, starting multiple X servers, vncserver,
or manipulating Xsession and the gdm configuration I did achieve
basically nothing. Can someone point me to a description on how to
complete this task on this specific distribution? THX.

Günther

[/QUOTE]
Hi
Look here under the section; Capturing your GDM screen
https://live.gnome.org/GnomeArt/Tutorials/GdmThemes[/color]

Thanks for the hint. This is of many instructions published for Ubuntu
or several other distributions. Up to now none of these worked for
SLED11. Specifically:

linuxpool-13:~ # gdmflexiserver --xnest

** (gdmflexiserver:12791): WARNING **: Not yet implemented
linuxpool-13:~ # gdmflexiserver --help
Usage:
gdmflexiserver [OPTION…] - New GDM login

Help Options:
-h, --help Show help options

Application Options:
-c, --command=COMMAND Ignored - retained for compatibility
-n, --xnest Ignored - retained for compatibility
-l, --no-lock Ignored - retained for compatibility
-d, --debug Debugging output
-a, --authenticate Ignored - retained for compatibility
-s, --startnew Ignored - retained for compatibility
–monte-carlo-pi
–version Version of this application

linuxpool-13:~ #

Günther
[/QUOTE]
Hi
The problem is in the X authority bit, run the following command on
your tty with gdm running;

ps aux |grep X

You need to use the full string after the -auth as your XAUTHORITY

See example here;
http://paste.opensuse.org/3eb5c820

Note I used xwd for the screen capture.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.34-0.7-default
up 2 days 21:36, 3 users, load average: 0.49, 0.28, 0.28
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

malcolmlewis wrote:[color=blue]

[QUOTE=Günther Schwarz]Am 29.06.2012 16:15, schrieb malcolmlewis:[color=green]

[QUOTE=Günther Schwarz]For our internal documentation I need a
screenshot of our custom gdm login screen of SLED11 SP1. Following
several pathes along import, starting multiple X servers, vncserver,
or manipulating Xsession and the gdm configuration I did achieve
basically nothing. Can someone point me to a description on how to
complete this task on this specific distribution? THX.[/color][/color]
[color=blue]
The problem is in the X authority bit, run the following command on
your tty with gdm running;

ps aux |grep X

You need to use the full string after the -auth as your XAUTHORITY

See example here;
http://paste.opensuse.org/3eb5c820

Note I used xwd for the screen capture.[/color]

Thanks, finally this works:
chvt 7; sleep 3; export \
XAUTHORITY=/var/run/gdm/auth-for-gdm-uzAyQH/database ; xwd -root \
-display :0 | convert - /tmp/13_1.png

with the value for XAUTHORITY taken from the output of ps. I had to add
the display option to xwd though.
I also stopped apparmor but did not verify if this was necessary. Thank
you very much again.

Günther