Re: Working script won't work in rc.local

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

 



On Monday 18 February 2008, Rodolfo Alcazar Portillo wrote:
>Am Montag, den 18.02.2008, 09:07 -0800 schrieb Barry Yu:
>> Below is the entire content of my script;
>>
>> xrandr --output VGA --auto --output TMDS-1 --auto --right-of VGA
>
>Ah! Other probable causes: as I said, a) use /usr/bin/xrandr b)
>permissions (not very likely); c) rc.local runs as root, I don't know if
>it has access to the graphic display, or if it works by the login
>display. Try running the command after pressing CTRL-ALT-F1 and logging
>as root.
>
here is a thought:  As root is not logged in when rc.local runs, selinux is 
denying it.  I had to play tricks with runcon and friends to make it work 
here.

>Greetings...
>--
>Rodolfo Alcazar
>Responsable red y datos
>
>Deutsche Gesellschaft für
>Technische Zusammenarbeit (GTZ) GmbH
>
>Programa de Apoyo a la Gestión Pública Descentralizada y
>Lucha Contra La Pobreza - PADEP
>Av. Sánchez Lima 2226
>La Paz, Bolivia
>
>Tel: +591 22417628 (121)
>Fax: +591 22417628 (126)
>Web: www.padep.org.bo
>Email: rodolfo.alcazar@xxxxxxxxxxxx



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
A foolish consistency is the hobgoblin of little minds.
		-- Ralph Waldo Emerson

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux