Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2005, 04:45 PM   #1
LQ Newbie
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Angry GDM Login Screenshots (I tried to research)

I have made some new login screens and I'm trying to take screen shots of the screen to no avail... I am Running debian sarge 2.6 (stable)
here is what i have done...

--- this command returns NULL, so i chose :0.0, since that is what all the websites have said worked for them. Then....
chvt 7; sleep 3; XAUTHORITY=/var/gdm/:0.Xauth DISPLAY=:0.0 import -window root /opt2/testpic.png
This is the error I get...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
import: Unable to open X server ':0.0'
(also tried :1 and that returned an image but it was just the screen that shows up before something runs in X [that crosshatch pattern stuff], and im sure its from my VNC server that I had running)

ok, that didn't work... so i tried xwd.

xwd -out screenshot2.xwd -root -display :0.0
xwdtopnm screenshot2.xwd | ppmtojpeg >testmenew.jpeg

didn't work either. (same error as above, connection refused by server)

Is there a reason "echo $DISPLAY" is returning a NULL? shouldn't it say like ":1" or ":0.0" or something?

also tried to just login from my windows box using VNC but I forgot that it goes directly to the desktop not the login screen. (I was going to take a screenshot in windows), a friend told me to get a remote X server running so i tried that, but I have no idea how to connect to it from my windows box... ugh...i just want it to be easy! lol

Thanks for the help ahead of time!

Last edited by ryoojin83; 08-06-2005 at 04:47 PM.
Old 08-07-2005, 11:02 AM   #2
LQ Newbie
Registered: Jan 2005
Location: Brooklyn, NY
Distribution: Gentoo; Fedora Core 3
Posts: 28

Rep: Reputation: 15
One thing you could try is gdmflexiserver (I am using Fedora Core 3, though I doubt this is a distribution specific command), which starts gdm in a nested X session while you are already logged into your desktop:
gdmflexiserver -n
For example, here is what that looks like on my computer:
Then you can do a screenshot with import or whatever tool happens to suit you.

Hope this helps!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm, cannot login as root. Why Biased turkey Linux - Security 10 09-29-2009 04:03 PM
gdm login help moschi Linux - Newbie 2 07-03-2004 12:30 PM
root cannot login through gdm bahadur Linux - Networking 3 06-12-2004 03:56 PM
GDM login problems akshunj Linux - Software 5 10-29-2003 06:18 AM
X login using GDM koyi Slackware 2 07-24-2003 11:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration