Re: Password for shutdown -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux