=========== Module xorg =========== .. lua:module:: xorg Xorg See :lua:meth:`dbus `, :lua:meth:`evdev `, :lua:meth:`event `, :lua:meth:`file `, :lua:meth:`hwinfo `, :lua:meth:`log `, :lua:meth:`lua `, :lua:meth:`misc `, :lua:meth:`os `, :lua:meth:`spawn `, :lua:meth:`udev `, :lua:meth:`xorg ` for more information about this type Methods ========== .. list-table:: :header-rows: 0 * - :lua:meth:`connect() ` - Connect to a X server * - :lua:meth:`connect_to(display) ` - Connect to a X server .. lua:method:: connect() -> Connection :rtype: :lua:mod:`Connection ` Connect to a X server Connect to the default X server, usually the one specified in the DISPLAY environment variable. .. lua:method:: connect_to(display) -> Connection :rtype: :lua:mod:`Connection ` :param display: the display :type display: string Connect to a X server Connect to a X server using an explicit display string.