On 20.01.2014 14:22, Bob Goodwin - Zuni, Virginia, USA wrote: > > On 19/01/14 19:07, poma wrote: >> 1. Start point - Xfce session >> Open the 'xfce4-terminal', log in as root and run this command: >> # yum install xorg-x11-apps netpbm-progs >> >> 2. Log out Xfce session >> >> 3. Switch to 'tty2' - press CTRL+ALT+F2, log in as root and run this >> command: >> # chvt 1; sleep 5; DISPLAY=:0 >> XAUTHORITY=/var/run/lightdm/root/$DISPLAY xwd -root -out >> screenshot-lightdm.xwd > Is there a scheme for copy/paste between the two sessions that I don't > know about. My typing is error prone and I would really like to copy and > paste this. OK, save the shell script 'Screenshot-LightDM' in the attachment to a dir '/usr/local/bin'. Do not forget to chmod the script: # chmod +x /usr/local/bin/Screenshot-LightDM Instead of the command in 3rd step, run this script: # Screenshot-LightDM poma
#!/bin/sh PATH="/usr/bin:$PATH" # Create a LightDM's greeter screenshot export DISPLAY=:0 # export DISPLAY=:1 export XAUTHORITY=/var/run/lightdm/root/$DISPLAY chvt 1 && sleep 5 && xwd -root -out screenshot-lightdm.xwd & exit 0
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org