Thanks, Jimmy.  I missed that blog entry.

The second line tells the process which read the configuration file which executable to invoke. In this case, it is a shell script `unity-system-compositor.sleep` which simply sleeps a bit and then invokes the `unity-system-compositor` executable. You can find them both in /usr/sbin.

Only the first line (type=unity) need be commented out in order to invoke X from LightDM without attempting Mir.


On 08/16/2013 03:02 PM, Jimmy Sjölund wrote:
On Fri, Aug 16, 2013 at 9:34 PM, Richard Elkins <[email protected] <mailto:[email protected]>> wrote:

    Sorry.  Enabling is almost the same set of steps: remove the
    existing '#' in step 3 is the only difference.  I must be getting
    old.  Pity.

    Another point from the same 2013-08-15 discussion, I'd still
    prefer an enable=Y/N flag in the file mentioned below.  It's just
    much clearer in terms of intent. But, I'm okay with what we have.



    On 08/16/2013 02:22 PM, Richard Elkins wrote:
    One person (forgot who) was running with Mir for a bit and was
    unhappy with the experience.  This person did not want to go
    through the bother of reinstalling their PC with something else +
    catchup + customizations as they wanted to keep on trying the
    preview of Xubuntu 13.10.  Maybe someone else feels the same?

    So, based on the collective conversation we had on 2013-08-15,
    this will let you disable or re-enable Mir:

    Disable:
    1) Open a terminal window.
    2) sudo /your-favorite-text-editor/
    /etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf
    3) On the line which reads, type=unity, insert an '#' in column
    1, making the line a comment.
    4) Save and exit.
    5) sudo reboot

    Enabling is almost the same set of steps (put the '#' back in
    step 3).

The instructions on Jono's blog, http://www.jonobacon.org/2013/08/15/mir-update-and-testing-mir-in-ubuntu-13-10/ , mention two rows to comment:
================================
If you do have problems with Mir and want to start a normal X server, simply edit /etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf and comment out the second and third lines:

[SeatDefaults]
#type=unity
#unity-compositor-command=unity-system-compositor.sleep
Now restart LightDM and you are good to go. Uncomment these lines to go back to Mir.
================================

I don't know what the second line actually does or if they are redundant once the type=unity is commented out?

/Jimmy




-- 
xubuntu-devel mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel

Reply via email to