PDA

View Full Version : Screenshot of gdm login screen



GŘnther Schwarz
29-Jun-2012, 14:57
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

malcolmlewis
29-Jun-2012, 15:15
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


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

G├╝nther Schwarz
29-Jun-2012, 15:24
Am 29.06.2012 16:15, schrieb malcolmlewis:
>
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
>
>
> Hi
> Look here under the section; Capturing your GDM screen
> https://live.gnome.org/GnomeArt/Tutorials/GdmThemes

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

malcolmlewis
29-Jun-2012, 17:52
Am 29.06.2012 16:15, schrieb malcolmlewis:
>
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
>
>
> Hi
> Look here under the section; Capturing your GDM screen
> https://live.gnome.org/GnomeArt/Tutorials/GdmThemes

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

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

G├╝nther Schwarz
02-Jul-2012, 14:35
malcolmlewis wrote:
> [QUOTE=G├╝nther Schwarz]Am 29.06.2012 16:15, schrieb malcolmlewis:
>> [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.

> 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.

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