starting an X11 session from Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Philippe C. Martin

    #1

    starting an X11 session from Python

    Hi,

    Have there been any attempt to do so, and is there any source out there that
    could help me get started ?

    Regards,

    Philippe

  • Sybren Stuvel

    #2
    Re: starting an X11 session from Python

    Philippe C. Martin enlightened us with:[color=blue]
    > Have there been any attempt to do so, and is there any source out
    > there that could help me get started ?[/color]

    What's stopping you from using system(), exec() or the likes to start
    "startx", "xinit" or simply "X"?

    Sybren
    --
    The problem with the world is stupidity. Not saying there should be a
    capital punishment for stupidity, but why don't we just take the
    safety labels off of everything and let the problem solve itself?
    Frank Zappa

    Comment

    • Philippe C. Martin

      #3
      Re: starting an X11 session from Python

      Nothing, but that was not my question.

      Regards,

      Philippe


      Sybren Stuvel wrote:
      [color=blue]
      > Philippe C. Martin enlightened us with:[color=green]
      >> Have there been any attempt to do so, and is there any source out
      >> there that could help me get started ?[/color]
      >
      > What's stopping you from using system(), exec() or the likes to start
      > "startx", "xinit" or simply "X"?
      >
      > Sybren[/color]

      Comment

      • Philippe C. Martin

        #4
        Re: starting an X11 session from Python

        PS: my goal is to write an equivalent of gdm/kdm/xdm ... in python

        Regards,

        Philippe


        Philippe C. Martin wrote:
        [color=blue]
        > Nothing, but that was not my question.
        >
        > Regards,
        >
        > Philippe
        >
        >
        > Sybren Stuvel wrote:
        >[color=green]
        >> Philippe C. Martin enlightened us with:[color=darkred]
        >>> Have there been any attempt to do so, and is there any source out
        >>> there that could help me get started ?[/color]
        >>
        >> What's stopping you from using system(), exec() or the likes to start
        >> "startx", "xinit" or simply "X"?
        >>
        >> Sybren[/color][/color]

        Comment

        • Richard Townsend

          #5
          Re: starting an X11 session from Python

          On Sat, 05 Nov 2005 19:51:40 +0000, Philippe C. Martin wrote:
          [color=blue]
          > Hi,
          >
          > Have there been any attempt to do so, and is there any source out there that
          > could help me get started ?
          >
          > Regards,
          >
          > Philippe[/color]

          Have you tried:

          http://sourceforge.net/projects/python-xlib

          --
          Richard

          Comment

          • Philippe C. Martin

            #6
            Re: starting an X11 session from Python

            Thanks I will look, I intend to use tkinter for the display as it is
            built-in though.

            Regards,

            Philippe



            Richard Townsend wrote:
            [color=blue]
            > On Sat, 05 Nov 2005 19:51:40 +0000, Philippe C. Martin wrote:
            >[color=green]
            >> Hi,
            >>
            >> Have there been any attempt to do so, and is there any source out there
            >> that could help me get started ?
            >>
            >> Regards,
            >>
            >> Philippe[/color]
            >
            > Have you tried:
            > http://python-xlib.sourceforge.net/
            > http://sourceforge.net/projects/python-xlib
            >[/color]

            Comment

            Working...