473,574 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Nov 5 '05 #1
5 1602
Philippe C. Martin enlightened us with:
Have there been any attempt to do so, and is there any source out
there that could help me get started ?


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
Nov 5 '05 #2
Nothing, but that was not my question.

Regards,

Philippe
Sybren Stuvel wrote:
Philippe C. Martin enlightened us with:
Have there been any attempt to do so, and is there any source out
there that could help me get started ?


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

Sybren


Nov 5 '05 #3
PS: my goal is to write an equivalent of gdm/kdm/xdm ... in python

Regards,

Philippe
Philippe C. Martin wrote:
Nothing, but that was not my question.

Regards,

Philippe
Sybren Stuvel wrote:
Philippe C. Martin enlightened us with:
Have there been any attempt to do so, and is there any source out
there that could help me get started ?


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

Sybren


Nov 5 '05 #4
On Sat, 05 Nov 2005 19:51:40 +0000, Philippe C. Martin wrote:
Hi,

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

Regards,

Philippe


Have you tried:
http://python-xlib.sourceforge.net/
http://sourceforge.net/projects/python-xlib

--
Richard
Nov 5 '05 #5
Thanks I will look, I intend to use tkinter for the display as it is
built-in though.

Regards,

Philippe

Richard Townsend wrote:
On Sat, 05 Nov 2005 19:51:40 +0000, Philippe C. Martin wrote:
Hi,

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

Regards,

Philippe


Have you tried:
http://python-xlib.sourceforge.net/
http://sourceforge.net/projects/python-xlib


Nov 6 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2342
by: jamie howard | last post by:
Hello there - we have a fairly busy server and we just started to have problems with PHP sessions failing. We've never had this problem before and to be honist, out server traffic is lower than it has been in prior months - so I'm really not sure what could cause this. Could anyone suggest some potentiol avenues to explore for reasons that...
8
1913
by: John | last post by:
I need a web app framework in python with support for session management (ala ASP/PHP). However, unlike some modules I found, I need to integrate with an existing Apache install without opening any new application server ports (not my server). Is there such a module which I can just toss it into pythonpath and get to work?
3
3576
by: Erik Johnson | last post by:
There are a lot of things about PHP I was not too keen on and hence why my company is primarily doing Python these days, but one thing I was quite impressed with was the ease with which it provided session functionality... <?php session_start(); session_register; $my_var = "whatever";
2
1917
by: sleepylight | last post by:
Hi I'm staring to learn python for some systems administration projects and so far this looks like a really great alternative to using shell for everything. The python docs on the web site are really great, but I could use come clarification on passing arguments using the os.spawnlp() function. For example, if I run "xterm -e...
9
4159
by: Sullivan WxPyQtKinter | last post by:
I do not want to use Cookies in my site since not all web browser support it well and sometimes people close cookie functioning for security reasons. I tried to add hidden field with a sessionID in every python CGI script generated web pages, so everytime my client POST a request, the server will retrieve the sessionID and decide if it is...
2
3692
by: Scott | last post by:
I am trying to get a mod_python application to read an existing PHP session. I need some data that was set in the session by the PHP application. I am using the mod_python Session class but even when I specify the session id that PHP uses the Sesssion(req, sid) call returns a new session id. The session file exists in /tmp as mp_sess.dbm...
1
3092
by: Hijabi | last post by:
Hi All, I am new to ASP/VB .NET - I wrote a code for running desktop applications for buttons. It works fine on my local machine, it doesn't work on the webserver. I am using SQL authentication. Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click Dim strSID As String = Session.SessionID Dim...
0
1356
by: Krypto | last post by:
I am 3 months old to python and I have done some small projects. I want to build a Peer to Peer streaming client ..something like BitTorrent. I know it is daunting but I got to start somewhere. Please come easy on me. What I want in my client program is that client software logs on to some P2P streaming session from a list, connects to...
4
4588
by: durumdara | last post by:
Hi! My problem is that: The "test.py" is working in every machine that I use except in my home machine. Formerly it worked but now not. I don't know what happened, I searching for some solution. The errormessage is this (after I tried to start test.py under cmd.exe):
0
8041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8093
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6440
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5611
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5296
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2233
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1053
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.