LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2014, 04:21 PM   #1
3r4t!k
LQ Newbie
 
Registered: Apr 2004
Location: Michigan
Distribution: Debian
Posts: 24

Rep: Reputation: 15
Question tcptrack on startup


Hello all.

I'm having an issue with getting terminal software to start on boot, more
specifically 'tcptrack' running on Debian Wheezy with KDE.

I navigate to System Settings/Startup-Shutdown/Autostart, the command to
execute tcptrack is 'gksu "x-terminal-emulator -e tcptrack -i eth0 -r 15"'.

It worked nicely for about 3 weeks, after a security update it stopped working
in the sense that after I input the password a konsole terminal window will open (not
using my "default" konsole profile) and close after about 2 seconds.

I'm guessing that the terminal window is not opening at the correct width of 80
characters tcptrack needs to run in a terminal, but with no feedback it's hard to be sure.

I've looked but I have not seen any threads with similar problems.

Does anyone have any experience with this, or any helpful suggestions?

Thanks in advance.
 
Old 08-16-2014, 09:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I'd check ~/.xsession-errors*, /var/log/messages /var/log/secure or equivalent and maybe /var/log/X*0.log first.
 
Old 08-18-2014, 07:25 PM   #3
3r4t!k
LQ Newbie
 
Registered: Apr 2004
Location: Michigan
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
Hello, and Thank You for the reply!

I've spent some of the weekend scouring the logs you recommended and then
some, in between eye bleeds, and have yet to find an error referencing tcptrack
or konsole. However there was a bit of fortune, when I looked through the forums
for anyone experiencing the same issues as I had been with tcptrack on startup,
I came across a post about "iftop". I'm not sure why but when I tried to add
"iftop" through the GUI "Autostart" utility I was presented with an error stating
"'iftop' not found, please type a valid program name." This, while puzzling as
this is how I had added "tcptrack" to startup previously, was not a problem I
was going to hunt down. In turn I simply created the 'iftop.desktop' file in the
autostart directory. As per usual with my frustration typing I made a syntax
error in the configuration file, which turned out to be the bit of fortune. When
I booted and gksu had not prompted me for a administrator password I elected to
do a bit more eyeball bloodletting and scour the logs for an error containing
"iftop". As fortune would have it I found an error notification in the
"~/.xsession-errors" log, kindly reminding me of my syntax faux pas. Now that I
have a functioning configuration file for "iftop" its starts just like it should every
boot.

This leads me to believe that it is in fact the limitation of tcptrack, needing
a window of 80 characters or greater to open and run, as iftop scales with the
window size.

I perused the "Profiles" settings in "konsole" again but do not see
any setting for changing the "default" window size. I'm not sure where the configuration
file containing the default window metrics for KDE are nor that I would want to
change it to get tcptrack to startup on boot.

Thanks again.
 
  


Reply


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
tcptrack wrongly shows no activity dewdrop_world Linux - Software 2 09-09-2011 12:33 AM
[SOLVED] tcptrack qrange Debian 2 05-09-2011 08:39 AM
arpwatch & TCPTRACK sudhirmhrj Linux - Networking 5 04-05-2011 11:42 AM
LXer: Tracking TCP Connections With tcptrack LXer Syndicated Linux News 0 08-01-2007 07:31 PM
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 PM.

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