Menu

#43 v 4.02 - problems spawning windows with Mac OSX Mavericks

v1.0 (example)
open
nobody
None
5
2014-12-25
2013-10-23
ks1721
No

Version 3.28 (from mac ports)
venus:App-ClusterSSH-4.02_01 kurt$ /opt/local/libexec/perl5.12/sitebin/cssh -v
Version: 4.02_01
Mac OSX Mavericks 10.9
XQuartz 2.7.5_rc2 (xorg-server 1.13.4)

Duncan - version 4.02 on Mavericks is having problems (feel free to correct me on what the real problem is) spawning new windows. Mac OSX can "see" the windows - which I can show through the Mission Control windowing manager (screen shot attached), but only a single window spawns - which I believe to be the window created for the last session? With version 4.02 (versus 3.x), all of the windows attempt to be created in the first monitor window in a multiple monitor scenario.

Again, I am willing to provide additional diagnostics of whatever you need or test a patch. Hopefully you can get monitor positioning/sizing working on this version too. I know I saw a patch for it, but wasn't sure how far that got. Thanks again for your efforts.

DEBUG (Level 2) Log:

venus:App-ClusterSSH-4.02_01 kurt$ /opt/local/libexec/perl5.12/sitebin/cssh --debug 2 kurt@localhost kurt@localhost
09:35:25: VERSION: 4.02_01
Loading in config file: /Users/kurt/.clusterssh/config
Loading in config file: /Users/kurt/.clusterssh/config
09:35:25: Fetching font size
09:35:25: Done with font size
09:35:25: Loading keymaps and keycodes
09:35:25: Unknown keycode 16785992
09:35:25: Unknown keycode 16786890
09:35:25: Unknown keycode 5053
09:35:25: Unknown keycode 5052
09:35:25: Unknown keycode 16785937
09:35:25: Unknown keycode 16785456
09:35:25: Unknown keycode 16785476
09:35:25: Unknown keycode 16785465
09:35:25: Unknown keycode 16785466
09:35:25: Unknown keycode 16841474
09:35:25: Unknown keycode 16841473
09:35:25: Unknown keycode 16777926
09:35:25: Unknown keycode 16785935
09:35:25: Unknown keycode 16785926
09:35:25: Unknown keycode 16777946
09:35:25: Unknown keycode 16840959
09:35:25: Unknown keycode 16777948
09:35:25: Unknown keycode 16777219
09:35:25: Unknown keycode 16777219
Reading clusters from file /etc/clusters
No file found to read
Reading clusters from file /Users/kurt/.clusterssh/clusters
No file found to read
Reading tags from file /etc/tags
No file found to read
Reading tags from file /Users/kurt/.clusterssh/tags
No file found to read
09:35:25: Resolving cluster names: started
Tag localhost is not registered
Tag localhost is not registered
09:35:25: Resolving cluster names: completed
09:35:25: create_windows: started
09:35:25: REAPER currently returns: -1
09:35:25: create_windows: completed
09:35:25: create_menubar: started
09:35:25: Using default send menu
09:35:25: create_menubar: completed
09:35:25: Capture map events
09:35:25: Opening to: kurt@localhost kurt@localhost
09:35:25: Working on server localhost for kurt@localhost
09:35:25: Set temp name to: /var/folders/gm/6bst38b53dq8y86hf5s4p2fc0000gn/T/8IDuwSqiKX
09:35:25: Terminal exec line:
xterm -bg #000000 -fg #EEBBCC -xrm '.VT100.allowSendEvents:true' -T 'CSSH: kurt@localhost' -font 6x13 -e /opt/local/bin/perl5.12 -e ' my $pipe=shift;
my $svr=shift;
my $user=shift;
my $port=shift;
my $mstr=shift;
my $command="ssh ";
open(PIPE, ">", $pipe) or die("Failed to open pipe: $!\n");
print PIPE "$$:$ENV{WINDOWID}"
or die("Failed to write to pipe: Invalid argument\n");
close(PIPE) or die("Failed to close pipe: Invalid argument\n");
if($svr =~ m/==$/)
{
$svr =~ s/==$//;
warn("\nWARNING: failed to resolve IP address for $svr.\n\n"
);
sleep 5;
}
if($mstr) {
unless("ssh" ne "console") {
$mstr = $mstr ? "-M $mstr " : "";
$command .= $mstr;
}
}
if($user) {
unless("ssh" eq "telnet") {
$user = $user ? "-l $user " : "";
$command .= $user;
}
}
if("ssh" eq "telnet") {
$command .= "$svr $port";
} else {
if ($port) {
$command .= "-p $port $svr";
} else {
$command .= "$svr";
}
}
if("") {
$command .= " \"\"";
}
$command .= " ; echo Sleeping for 5 seconds; sleep 5";
warn("Running:$command\n"); # for debug purposes
exec($command);
' /var/folders/gm/6bst38b53dq8y86hf5s4p2fc0000gn/T/8IDuwSqiKX localhost 'kurt' '' ''
09:35:25:
Working on server localhost 1 for kurt@localhost
09:35:25: Set temp name to: /var/folders/gm/6bst38b53dq8y86hf5s4p2fc0000gn/T/Rs2hg2wh6l
09:35:25: Terminal exec line:
xterm -bg #000000 -fg #EEBBCC -xrm '
.VT100.allowSendEvents:true' -T 'CSSH: kurt@localhost' -font 6x13 -e /opt/local/bin/perl5.12 -e ' my $pipe=shift;
my $svr=shift;
my $user=shift;
my $port=shift;
my $mstr=shift;
my $command="ssh ";
open(PIPE, ">", $pipe) or die("Failed to open pipe: $!\n");
print PIPE "$$:$ENV{WINDOWID}"
or die("Failed to write to pipe: Invalid argument\n");
close(PIPE) or die("Failed to close pipe: Invalid argument\n");
if($svr =~ m/==$/)
{
$svr =~ s/==$//;
warn("\nWARNING: failed to resolve IP address for $svr.\n\n"
);
sleep 5;
}
if($mstr) {
unless("ssh" ne "console") {
$mstr = $mstr ? "-M $mstr " : "";
$command .= $mstr;
}
}
if($user) {
unless("ssh" eq "telnet") {
$user = $user ? "-l $user " : "";
$command .= $user;
}
}
if("ssh" eq "telnet") {
$command .= "$svr $port";
} else {
if ($port) {
$command .= "-p $port $svr";
} else {
$command .= "$svr";
}
}
if("") {
$command .= " \"\"";
}
$command .= " ; echo Sleeping for 5 seconds; sleep 5";
warn("Running:$command\n"); # for debug purposes
exec($command);
' /var/folders/gm/6bst38b53dq8y86hf5s4p2fc0000gn/T/Rs2hg2wh6l localhost 'kurt' '' ''

09:35:26: Performing sysread
09:35:26: Done and closing pipe
09:35:26: Performing sysread
09:35:26: Done and closing pipe
09:35:26: All client windows opened
09:35:26: Retiling windows
09:35:26: Count is currently 2
09:35:26: Screen Columns: 10
09:35:26: Screen Rows: 1
09:35:26: Terminal height=2615

Configuration dump produced by "cssh -u"

auto_close=5
auto_quit=yes
console=console
console_args=
console_position=
debug=0
external_cluster_command=
extra_cluster_file=
history_height=10
history_width=40
internal_activate_autoquit=1
internal_columns=10
internal_font_height=13
internal_font_width=6
internal_rows=1
internal_screen_height=2680
internal_screen_width=5120
internal_terminal_cols=80
internal_terminal_height=322
internal_terminal_rows=24
internal_terminal_width=488
internal_total=2
key_addhost=Control-Shift-plus
key_clientname=Alt-n
key_history=Alt-h
key_paste=Control-v
key_quit=Control-q
key_retilehosts=Alt-r
lang=en
max_addhost_menu_cluster_items=6
max_host_menu_items=30
menu_host_autotearoff=0
menu_send_autotearoff=0
mouse_paste=Button-2
rsh=rsh
rsh_args=
screen_reserve_bottom=60
screen_reserve_left=0
screen_reserve_right=0
screen_reserve_top=0
send_menu_xml_file=/Users/kurt/.csshrc_send_menu
show_history=0
ssh=ssh
ssh_args=
telnet=telnet
telnet_args=
terminal=xterm
terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'
terminal_args=
terminal_bg_style=dark
terminal_colorize=1
terminal_decoration_height=10
terminal_decoration_width=8
terminal_font=6x13
terminal_reserve_bottom=0
terminal_reserve_left=5
terminal_reserve_right=0
terminal_reserve_top=5
terminal_size=80x24
terminal_title_opt=-T
unmap_on_redraw=no
use_all_a_records=0
use_hotkeys=yes

user=

window_tiling=yes
window_tiling_direction=right
09:35:26: Tiling top left going bot right
09:35:26: Moving localhost window
09:35:26: Moving localhost 1 window
09:35:26: Setting focus on localhost 1
09:35:26: Setting focus on localhost
09:35:26: Sending console to front
09:35:27: Building hosts menu
09:35:27: Done
09:35:27: Sleeping for a mo
09:35:27: Sorting focus on console
09:35:27: Marking main window as user positioned
09:35:27: Setting up repeat
09:35:27: Repeat setup
09:35:27: Starting MainLoop

2 Attachments

Discussion


Log in to post a comment.