One last update: The problem with my screen shutting off seems to have been
because of conflicting info between /etc/X11/xorg.cong and
/usr/share/X11/xorg.conf.d/xorg.conf. The later only had info for for one
screen and was overiding changes to /etc/X11/xorg.conf. Why X always picked
the external monitor to be screen 0 instead of my laptop screen, I'll never
know. Deleting /usr/share/X11/xorg.conf.d/xorg.conf it has solved my
problem. I guess restoring the .e folder reverted back to a state where
enlightenment was attached to the right screen.

I now have a problem with compositing with multiple screens, but I'll start
a new thread for that.


On Thu, Sep 26, 2013 at 9:11 PM, Will Hopper <[email protected]> wrote:

>
> I'm resurrecting this thread after a weird finding. Restoring old versions
> of xorg.conf and nvidia-setting.rc files didn't help, neither did
> reinstalling the nvidia driver. However, using nouveau driver worked, but
> resolution and display were buggy (no compositing support, at least with
> default config). So, through a long trial and error, I solved my problem of
> a disabled monitor by restoring my home directory to an old version, and
> then traced this effect to the restoring of an old .e config directory, and
> the .elementary directory. I assume the .e config files were the ones that
> helped.
>
> I can replicate the problem at will by using nvidia-settings tool to
> assign a seperate x screen to my laptop display and a external monitor,
> saving changes to xorg.conf, exiting enlightenment, and logging in again.
> All output goes to the second screen, and nvidia-settings tool shows my
> laptop monitor as behind the second display, and off. So does the
> enlightenment screen setup tool. Activating it, saving xorg.conf, and
> logging out and logging back in to restart X results in the problem
> starting all over again. Using twin-view instead of separate X screen works
> fine.
>
> I was really surprised to see my .e directory make a difference, i thought
> the problem would be with X or nvidia config files. Does anyone have any
> theory about how enlightenment might be causing this problem?
>
>
> On Tue, Sep 10, 2013 at 8:40 AM, Will Hopper <[email protected]>wrote:
>
>> I was wrong earlier about not getting an active screen under nouveau, i
>> forgot to take the nvidia line out of xorg.conf and it was loading
>> conflicting modules and now I can get a screen as regular user under
>> nouveau. I tried purging and reinstalling the nvidia driver, but things
>> remain the same unfortunately.
>>
>> When i call xrandr in the console, as root, with X running, it says
>> 'Can't open display'. If I set DISPLAY=:0.0, it just says 'Can't open
>> display :0.0'
>>
>>
>> On Sat, Sep 7, 2013 at 10:47 AM, Dave <[email protected]> wrote:
>>
>>>  Huh?  If you use the nouveau driver, you still can't get a screen as
>>> user?!
>>> Well, that likely rules out any problems with the nvidia driver.
>>>
>>>  OK, how about this.  Start X, go to the console, run the xrandr command.
>>> You should have authority to connect to the X server, though you'll
>>> probably
>>> need to set the DISPLAY env (i.e export DISPLAY=:0.0).  It'll be
>>> interesting
>>> to see what xrandr thinks is the active screen.
>>>
>>>  Cheers,
>>>  dave.k
>>>
>>>
>>>  In the year 2013, of the month of September, on the 6th day, Will
>>> Hopper wrote:
>>> > Unfortunately that didn't do it. I tried an all new xorg.conf, deleted
>>> > nvidia-settings-rc, and starting x from terminal, but still the problem
>>> > persists. Sometimes in the terminal i see lots of messages like E:
>>> > SLEEPING. If I used the nouveau driver instead of nvidia, i can get to
>>> a
>>> > low-res desktop for the root user, but normal user account still has a
>>> dead
>>> > screen.
>>> >
>>> >
>>> > On Thu, Sep 5, 2013 at 10:21 PM, Dave <[email protected]> wrote:
>>> >
>>> > >  Try deleting/renaming your ~/.nvidia-settings-rc file.  I'm
>>> guessing that
>>> > > there's a config option in there which is causing your issues.
>>> > >
>>> > >  Cheers,
>>> > >  dave.k
>>> > >
>>> > >
>>> > >  In the year 2013, of the month of September, on the 5th day, Will
>>> Hopper
>>> > > wrote:
>>> > > > Hi all, I have a fairly strange problem to report. Sorry in
>>> advance if
>>> > > this
>>> > > > not the right place for this, but I'm very confused. I tried to
>>> connect
>>> > > to
>>> > > > a projector today, and long story short, I could't use the nvidia
>>> 'twin
>>> > > > view' setting for my purposes, i had to use the nvidia-settings
>>> tool to
>>> > > > change xorg.conf and restart X to get my second display to work.
>>> > > >
>>> > > > Unfortunately, this didn't behave as expected, and I could only
>>> get the
>>> > > > projector display to show up, and the laptop screen was completely
>>> off,
>>> > > no
>>> > > > backlight or anything, off in the same way it goes off when the
>>> display
>>> > > > goes to sleep.
>>> > > >
>>> > > > I abandoned my attempts to get the projector to work, and when I
>>> > > restarted
>>> > > > my laptop, the display was behaving the same way, with the laptop
>>> screen
>>> > > > turning completely off. It works fine until after i log in (using
>>> lightdm
>>> > > > to log in and start e) but once I log in the display shuts down. I
>>> > > replaced
>>> > > > my xorg.conf file with a backed up version, but the problem
>>> persists.
>>> > > >
>>> > > > Even more curious, the enlightenment processes are indeed running
>>> > > > (enlightenment_start, enlightenment, and e_fm), and the Xorg log
>>> files
>>> > > > don't show anything obviously wrong.
>>> > > >
>>> > > > I suspect this is problem caused by something that nvidia-settings
>>> tool
>>> > > > changed, somehow disabling the display and looking for the second
>>> > > projector
>>> > > > display. But I can't use nvidia-settings without a desktop
>>> environment!
>>> > > If
>>> > > > anyone has any idea how to get my display back it would be much
>>> > > appreciated!
>>> > > >
>>> > > > - Will
>>> > > >
>>> > >
>>> ------------------------------------------------------------------------------
>>> > > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012,
>>> more!
>>> > > > Discover the easy way to master current and previous Microsoft
>>> > > technologies
>>> > > > and advance your career. Get an incredible 1,500+ hours of
>>> step-by-step
>>> > > > tutorial videos with LearnDevNow. Subscribe today and save!
>>> > > >
>>> > >
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>>> > > > _______________________________________________
>>> > > > enlightenment-users mailing list
>>> > > > [email protected]
>>> > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>> > >
>>> > >
>>> > >
>>> ------------------------------------------------------------------------------
>>> > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012,
>>> more!
>>> > > Discover the easy way to master current and previous Microsoft
>>> technologies
>>> > > and advance your career. Get an incredible 1,500+ hours of
>>> step-by-step
>>> > > tutorial videos with LearnDevNow. Subscribe today and save!
>>> > >
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>>> > > _______________________________________________
>>> > > enlightenment-users mailing list
>>> > > [email protected]
>>> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>> > >
>>> >
>>> ------------------------------------------------------------------------------
>>> > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>>> > Discover the easy way to master current and previous Microsoft
>>> technologies
>>> > and advance your career. Get an incredible 1,500+ hours of step-by-step
>>> > tutorial videos with LearnDevNow. Subscribe today and save!
>>> >
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>>> > _______________________________________________
>>> > enlightenment-users mailing list
>>> > [email protected]
>>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>>> Discover the easy way to master current and previous Microsoft
>>> technologies
>>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>>> tutorial videos with LearnDevNow. Subscribe today and save!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> enlightenment-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>>
>>
>>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to