trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2019

Re: [trinity-users] want TDM screenshot

From: Felix Miata <mrmazda@...>
Date: Mon, 4 Feb 2019 18:38:11 -0500
Sl�vek Banko composed on 2019-02-04 23:02 (UTC+0100):

> Felix Miata wrote:

>> https://www.maketecheasier.com/take-screenshot-of-login-screen-linux/
>> is the closest I have found to instructions to use ImageMagick to get
>> one, but tdm seems to be different from lightdm and gdm such that I
>> can't figure out what to change. I tried logging in and grepping
>> XAUTHORITY from set, but it apparently cannot be found there.

>> I want a fullscreen screenshot that has the integrated default theme's
>> menu expanded to show the selection of session types. Can anyone here
>> help?

> You can search in: /var/run/xauth/

I don't see any connection. e.g. in Stretch I see (only):

	/var/run/xauth/A:0-TZtcAa

44 binary bytes owned by root and containing string "MIT-MAGIC-COOKIE-1". On openSUSE it's the same
except for the last 6 characters of the filename. How can that be translated to

/var/lib/gdm/$DISPLAY.Xauth
or
/var/run/lightdm/root/$DISPLAY

???

Would it be simply

	/var/run/xauth/$DISPLAY

or something else?

I tried putting

	#! /bin/bash
	chvt 7
	DISPLAY=:0 XAUTHORITY=/var/run/xauth/$DISPLAY xwd -root

in the script, but the resulting output image is always 0 bytes, and error messages:

	No protocol specified
	xwd: unable to open display ':0'

I tried on Tubuntu 18.04/14.1 with same result.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/