Working script won't work in rc.local

Gene Heskett gene.heskett at verizon.net
Mon Feb 18 17:59:57 UTC 2008


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 at padep.org.bo



-- 
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




More information about the fedora-list mailing list