LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2003, 08:26 PM   #1
electron_lemon
LQ Newbie
 
Registered: Aug 2003
Location: Chicago
Distribution: Mandrake
Posts: 18

Rep: Reputation: 0
Screenshots


Hi, how do I take a screenshot of a KDM login?

Obviously, I can't run my screenshot program from that TTY as it's locked, but can I open my program in a new TTY and tell it which one to get data from?

Thanks.
 
Old 10-02-2003, 10:35 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
You can do this most likely with the import command.

Maybe this link will give you an idea how to do this: http://www.troubleshooters.com/linux/scrshot.htm#Import
 
Old 10-02-2003, 10:42 PM   #3
electron_lemon
LQ Newbie
 
Registered: Aug 2003
Location: Chicago
Distribution: Mandrake
Posts: 18

Original Poster
Rep: Reputation: 0
Yeah, I tried some things to that end (ksnapshot -display :0),
but I kept getting this error:

Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

This only happens if I try to connect to the login display.
For example, if I run xinit -- :1 and try ksnapshot -display :1, it works fine. Perhaps this is KDM's fault??

Any ideas? I'm not very good at messing with X: for the most part it leaves me alone; I leave it alone.

Thanks
 
Old 10-02-2003, 10:53 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
So what did you get when you tried with the actual import command:

import -window root -display servername:0 myfile01.pcx

Have you tried using xwd as well?

xwd -display servername:0 -root > myfile.dmp
 
Old 10-02-2003, 11:32 PM   #5
electron_lemon
LQ Newbie
 
Registered: Aug 2003
Location: Chicago
Distribution: Mandrake
Posts: 18

Original Poster
Rep: Reputation: 0
# import -window root -display :0 image.pcx
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

import: UnableToOpenXServer (:0).

I just tried using xwd, and it said essentially the same thing.
 
Old 10-02-2003, 11:42 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Maybe one reason your getting errors is that your not specifying a servername or hostname. I'm not totally sure though, I don't use GDM or any Graphical login and never tried exporting or taking a screenshot of it.
 
Old 10-02-2003, 11:47 PM   #7
electron_lemon
LQ Newbie
 
Registered: Aug 2003
Location: Chicago
Distribution: Mandrake
Posts: 18

Original Poster
Rep: Reputation: 0
hmmm... nope. 127.0.0.1:0 = :0
I think I'll dig around in KDM now.
*digs around*
Well, /usr/share/config/kdm/Xaccess and /etc/X11/xdm/Xaccess are the same, and allow access from all hosts, so I can't figure out why KDM is denying connections.
 
Old 10-02-2003, 11:50 PM   #8
electron_lemon
LQ Newbie
 
Registered: Aug 2003
Location: Chicago
Distribution: Mandrake
Posts: 18

Original Poster
Rep: Reputation: 0
If I could just get KDM to run ksnapshot/import/xwd/etc after starting up that'd be great.
I've even tried inserting it into kdmrc at verious places, but to no avail. The apps always either aren't started, or are started too early/late and can't connect :P.
 
  


Reply



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
screenshots? ajbrouwe DNALinux 3 08-20-2004 11:46 AM
Screenshots of 10? ajbrouwe Slackware 10 06-26-2004 05:43 PM
How do you take screenshots with RH 9.0? Thaidog Linux - Newbie 4 06-24-2004 12:15 AM
ScreenShots how to? bluedude2288 Linux - General 5 06-11-2004 02:34 PM
Screenshots!!! trickykid Linux - General 1 01-26-2001 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 PM.

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