<html><head></head><body>Can you used an F key that switches from one monitor to overcome the difficulty?<br>
<br>
What kind of cable / "monitor" do you have? I have a monitor that can serve as a TV. It even has a remote control. I had to get a DVI cable to make my monitor work correctly, from Amazon:<br>
<br>
    <a href="http://tinyurl.com/hdn7ss9">http://tinyurl.com/hdn7ss9</a><br>
<br>
Some times things are just weird!<br><br><div class="gmail_quote">On May 8, 2016 3:57:47 PM EDT, Dan Hitt <dan.hitt@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Ah Victor thanks a million!<br /><br />Turning off the monitor turns out to be key.<br /><br />If i turn off the HDMI monitor, lightdm (or whatever the underlying<br />service is) seems to take that as a signal to never return.<br /><br />So that means that there is a work around.  First, do ctrl-alt-f1 to<br />get into a virtual monitor.  Then turn off the monitor.<br /><br />And coming back, just do the reverse: turn on the monitor, then do<br />ctrl-alt-f7 to get back xwindows.<br /><br />This is possibly related to another problem that i have, where i<br />cannot listen to headphones plugged into my hdmi monitor.  (Under<br />ubuntu 15.10 i could do this, so i know it is not a hardware problem.)<br /><br />Now, unfortunately, i'm far too ignorant to have any ideas about your<br />question "with modern lcd monitors is there any difference between<br />sleep and a software shut off?"<br /><br />But i think it would be useful to know in order to construct some
sort<br />of model of how hdmi works (what states can a monitor be in, and what<br />transitions are possible under what conditions between the states).<br /><br />Anyhow, thanks again for your help!  (And thanks everybody else also.<br />I've learned something from every suggestion.)<br /><br />dan<br /><br /><br />On Sun, May 8, 2016 at 11:32 AM, Victor Forberger<br /><vforberger@fastmail.fm> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On 05/08/2016 11:52 AM, Dan Hitt wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> On Sun, May 8, 2016 at 5:07 AM, Petter Adsen <petter@synth.no> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> On Sat, 7 May 2016 20:32:03 -0700<br /> Dan Hitt <dan.hitt@gmail.com> wrote:<br
/></blockquote> .....<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;"> Occasionally after i lock the screen and come back after a few hours i<br /> cannot get it to respond.<br /><br /> The machine is alive, and i can ssh into from another host.<br /><br /> But wiggling the mouse and pressing keys leaves the monitor pitch<br /> black.<br /></blockquote></blockquote> .....<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><br /> If you don't mind restarting your entire X session, you can try 'sudo<br /> systemctl restart lightdm.service'. You could also try to kill the<br /> screen locker process, I think Xfce uses light locker by default.</blockquote><br /><br /> Thanks Petter!<br /><br /> So the problem came up again
after i last wrote (i had to go do some<br /> chores, and when i came back keyboarding and mousing did not bring<br /> back the display).<br /><br /> So i tried your suggestion of restarting lightdm.<br /><br /> And it worked, so thanks!<br /><br /> I did lose my X state, but i don't think any other state.<br /><br /> This seems to indicate that lightdm is going into too deep a sleep, or<br /> perhaps taking something to sleep with it that should stay awake.<br /><br /> If anybody has any advice about how to approach this kind of lightdm<br /> problem, i'm all ears --- although i know next-to-nothing about<br /> lightdm.<br /><br /> Thanks again everybody for all the suggestions.  They were all helpful.<br /><br /> dan</blockquote><br /> I had a similar problem a ways back. I'm sorry if I can't pull up<br /> specific info from my past problem-solving (I searched through various<br /> logs in /var/log for log entries that identified what the problem was).<br /><br /> But, I do recall
the problem was actually related to the monitor being<br /> shut off (as opposed to just dimmed). When unlocking the computer for<br /> use after a long delay, the process for turning the monitor back on was<br /> not working. I fixed the problem by changing power manager settings so<br /> that the display was never turned off, only put to sleep. Once that<br /> setting was changed, lightlocker could activate the monitor again once<br /> the session was unlocked.<br /><br /> Restarting lightdm certainly will also do the trick. But, it is a<br /> radical solution, especially if the problem is just related to getting<br /> the monitor to connect to the xfce window manager (note that xfce runs<br /> on top of lightdm -- i.e., lightdm provides the login screen when the<br /> computer is turned on; xfce is the actual desktop environment for<br /> getting work done after a successful login).<br /><br /> And, one question here: with modern lcd monitors is there any difference<br /> between
sleep and a software shut off?<br /><br /> - Victor<br /><br /> --<br /> Victor Forberger<br /> vforberger@fastmail.fm<br /> blog: <a href="http://linuxatty.wordpress.com">http://linuxatty.wordpress.com</a><br /><br /><br /><br /> --<br /> xubuntu-users mailing list<br /> xubuntu-users@lists.ubuntu.com<br /> Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/xubuntu-users">https://lists.ubuntu.com/mailman/listinfo/xubuntu-users</a></blockquote><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>