<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xorg crashes when running gscan2pdf (libgtk2-perl) test case"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102106#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xorg crashes when running gscan2pdf (libgtk2-perl) test case"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102106">bug 102106</a>
              from <span class="vcard"><a class="email" href="mailto:jffry@posteo.net" title="jffry@posteo.net">jffry@posteo.net</a>
</span></b>
        <pre>I use lightdm. I booted the machine, but didn't log in.

I logged in from another machine via ssh:

$ ps -efl | grep org
4 S root      7814   570  0  80   0 - 96782 -      22:24 tty7     00:00:00
/usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp
vt7 -novtswitch

ssh had evidently started X, although I didn't use -X or -Y.

$ export DISPLAY=:0
$ PERL5LIB="blib:blib/arch:lib:$PERL5LIB" perl t/124_cancel_save_djvu.t 
1..1
Invalid MIT-MAGIC-COOKIE-1 keyGtk-WARNING **: cannot open display: :0 at
/usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2.pm line 126.

$ Xorg :0
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server

$ sudo Xorg :0
(EE) 
Fatal server error:
(EE) Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at <a href="http://wiki.x.org">http://wiki.x.org</a>
 for help. 
(EE) 

When I tried to log in with ssh -Y, the Perl test crashed and took out the ssh
connection. $DISPLAY was set to localhost:10, which I assume means that nouveau
is not the culprit.

How do I start the machine and not start X? Do I just kill X with -9, before
starting it again. Isn't that what I had at the first attempt? If so, why could
I not connect to it?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>