Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-06-2009, 09:57 PM   #1
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 57
Problem with Skype, autorestart, at boot for the .fluxbox/startup


At gdm autologin, my skype is started via .fluxbox/startup, and where this line can be found:

cd ; sh & exec fluxbox
and in $HOME, my script contains:
killall -e skype
sleep 2s
while [ 1 ]  ; do
killall -e skype
sleep 2s
killall -9 -e skypsleep 2s
killall -9 -e skype
echo "Start skype"
xterm -e skype
sleep 2s
the script works if called from the console, but kills skype all the time if called from the .fluxbox/startup or in other words a startup of flubox, why?
Old 07-07-2009, 05:14 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
sometimes, the DISPLAY env is not set during the very start of the WM. So,
the command
xterm -e skype
would essentially be failing and constantly killing even the skype which started from the WM.
can you set the DISPLAY env variable and see.

Also, a good place to see the output of these issues are .xsession-errors file in your home dir.
All the output which you dislike to see in the X windows goes here. This file would have the
clue on what is happening.


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
Fluxbox Startup Problem Xian Slackware 11 10-01-2010 09:43 AM
Skype loads 3 times on startup!! anthonylane13 Slackware 8 03-27-2009 06:50 PM
AutoRestart a Server dimmak Linux - Games 0 07-08-2005 06:25 PM
Make Red Hat autorestart IlyaZ Linux - Newbie 4 04-22-2004 11:02 AM
Squid Problem!!! How to startup on boot... kbrian38 Linux - Newbie 3 01-09-2004 02:00 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:18 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