invoke new X without disturbing DPMS of old

jrs _ jrsx13 at hotmail.com
Fri Jan 14 18:51:49 PST 2005



>From: Jay Cotton <Jay.Cotton at Sun.COM>
>Reply-To: Jay.Cotton at Sun.COM
>To: jrs _ <jrsx13 at hotmail.com>
>Subject: Re: invoke new X without disturbing DPMS of old
>Date: Fri, 14 Jan 2005 15:11:21 -0800
>
>jrs _ wrote:
>>
>>I play my media files remotely from my computer by sshing in. X is always 
>>on, either with a user logged in, or just sitting at the GDM screen. DPMS 
>>is enabled for my monitor.
>>
>>Here is the last thing i would like to resolve:
>>
>>I have a script that basically does:
>>
>>1.) turns monitor off nicely on display :0
>>2.) startx on tv, display :1
>>3.) play media file
>>4.) when media file done close x on display :1
>>BUT....
>>5.) When it closes the display on my tv (:1), it turns dpms back on for my 
>>monitor.... i don't want this. I want my monitor to stay off!
>try sending xset dpms force off

No dice.

DISPLAY=":0" XAUTHORITY="/var/gdm/:0.Xauth" xset dpms force off is the first 
command I issued. The monitor did turn off. However after the ":1" session 
closes the monitor turns back on.

I don't think when X switches back to ":0", that it regards the state of 
dpms for ":0".


>
>
>>
>>Thanks for any help
>>
>>
>>_______________________________________________
>>xorg mailing list
>>xorg at lists.freedesktop.org
>>http://lists.freedesktop.org/mailman/listinfo/xorg
>
>
>--
>	 Jay Cotton 		     Jay.Cotton at sun.com
>	 MPK17-2348    x80841
>	 Sun Microsystems Inc. - X11 Server Group
>	 Operating Platform Group
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>NOTICE: This email message is for the sole use of the intended
>recipient(s) and may contain confidential and privileged information.
>Any unauthorized review, use, disclosure or distribution is prohibited.
>If you are not the intended recipient, please contact the sender by
>reply email and destroy all copies of the original message.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>





More information about the xorg mailing list