Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-01-2005, 12:16 PM   #31
Registered: Aug 2005
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15

OK, maybe I should analyze start over again from the beginning of the problem :

What I need is just as simple as StartUp folder facility such in WinXP. In there I'm simply put the shortcut to my program, so when the windows logged in my program getting executed.

Well is there anyway to do the same in Linux ? Maybe out of bash script ?

Thank You Please Help
Old 09-01-2005, 06:16 PM   #32
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
A good programmer will put in some code to detect if the network is working and loop it a few times if it does not. Also a smart programmer will put print or echo lines for each line of code to debug the code. Probably your program is working but the lines to send something out to the network fails. You program seems that it does not know if it has been sucessful or fail the attempt to send information out to the network. Usually profile is run before the network ever starts. I suggest using bash to verify if the Python path is set in order for your Python script to work or else the modules for Python will not work.
Old 09-08-2005, 06:56 AM   #33
Registered: Aug 2005
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Hi I've already try to put print 'hello world", but still nothing happen since I suspect that the script never got a chance to be executed at all.

Anyway since in Ubuntu Linux there is a place to run a program on each login which is Session Manager, I've tried to use it :

But still no luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu How to run Python script on Login? warnetgm Linux - General 14 03-13-2012 07:11 PM
python cgi script and premature end of script headers Neruocomp Programming 1 07-28-2005 12:43 PM
python script LinuxLala Programming 14 04-07-2004 07:19 AM
/.bash_profile setup to run java program mohapi Fedora 10 01-22-2004 08:43 PM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 10:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration