Install mtr and mtr-gtk packages, and read the mtr manpage you find out that there is a gtk version if you do "mtr -g". Typing mtr -g however just gives you back a command prompt. No GUI starts, and nothing happens. [root@devel root]# mtr -g 66.187.233.254 [root@devel root]# [root@devel root]# ltrace mtr -g 66.187.233.254 __libc_start_main(0x0804a1f0, 3, 0xbffffb04, 0x08048f10, 0x0804e0b8 <unfinished ...> socket(2, 3, 255) = 3 setsockopt(3, 0, 3, 0xbffffa54, 4) = 0 socket(2, 3, 1) = 4 getuid() = 0 setuid(0) = 0 geteuid() = 0 getuid() = 0 getenv("MTR_OPTIONS") = NULL getopt_long(3, 0xbffffb04, "a:hvrc:tgklnsi:p:", 0x080500c0, NULL) = 103 getopt_long(3, 0xbffffb04, "a:hvrc:tgklnsi:p:", 0x080500c0, NULL) = -1 gethostname("devel.capslock.lan", 128) = 0 gethostbyname("66.187.233.254") = 0x4212cb84 gettimeofday(0x08050190, 0, 54272, 0, 0) = 0 __res_init(0x08050190, 0, 54272, 0, 0) = 0 __res_state(0x08050190, 0, 54272, 0, 0) = 0x4212e800 __res_state(0x08050190, 0, 54272, 0, 0) = 0x4212e800 socket(2, 2, 0) = 5 setsockopt(5, 1, 6, 0xbffffa4c, 4) = 0 inet_addr("127.0.0.1") = 0x0100007f time(NULL) = 1037313063 time(NULL) = 1037313063 getpid() = 9679 close(3) = 0 close(4) = 0 +++ exited (status 0) +++ [root@devel root]#
Oh, BTW, this is 100% reproduceable, ie: not random.
hmmm.. As a workaround xmtr seems to work though... Might be something in the initialization code of mtr. Will check if the latest upstream version fixes it, otherwise will take a look at it at some time. Read ya, Phil
Hm... I remember vaguely that i compile 2 versions of mtr, one with and one without gtk support. This allows you to just install the text only mode of it for a server installation without dragging in all the X11 cruft stuff (nothing against X11, mind you ;-), but some people might not want all these packages installed). I should change the manpage at some point. At least the latest version actually prints out a short message saying that mtr has not builtin gtk support. It might be even better to print out a message saying use xmtr for graphical client or something similar. Read ya, Phil
OK, closing as wontfix, Mike as the TUI version now prints out that message. :-) Read ya, Phil