Re: server xloads on my desktop




I see a couple of differences right away although not sure how to fix yet.

Aixserver test which fails.
ssh -v -v -X aixserver /usr/bin/X11/xload

<snip>
mschlech@aixserver's ( mailto:mschlech@aixserver's ) password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth list :0.0 . 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending command: /usr/bin/X11/xload
debug2: channel 0: request exec confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072

debug2: channel 0: rcvd ext data 665
who: 0551-012 The process is not attached to a terminal.
Do not run who am i as a background process.

Usage: who [-AabdHilmpqrsTtuw] [am {i,I}] [utmp_like_file]
-A Accounting entries
-a All (AbdHlprTtu) options
-b Boot time
-d Dead processes
-H Display a Header (title)
-l Login processes
-m Information about current terminal (same as 'am i')
-p Processes other than getty or user process
-q Quick (only user and host name)
-r Run level
-s Short form (suppress Activity and PID)
-T,w Status of tty
(+ writable, - not writable, x exclusive open, ? no response)
-t Time changes
-u,i Activity and PID of shell
debug2: channel 0: written 665 to efd 6
Run who_arc to see who the Arc Editor users are.
debug2: channel 0: rcvd ext data 28
Error: Can't open display:
debug2: channel 0: written 28 to efd 6
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.3 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1

Linuxserver test which works.
"ssh -v -v -X linuxserver /usr/bin/X11/xload"

<snip>
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth list :0.0 . 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending command: /usr/bin/X11/xload
debug2: channel 0: request exec confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
debug2: channel 0: rcvd ext data 39
stty: standard input: Invalid argument
debug2: channel 0: written 39 to efd 6
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 40180
debug2: fd 7 setting O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11

Then if I check my DISPLAY variable it is NOT set on the aix server but is on the linux server.
mschlech@linuxms:~ ( mailto:mschlech@linuxms:~ )> ssh -X aixserver
mschlech@aixserver's ( mailto:mschlech@aixserver's ) password:
*******************************************************************************
* Welcome to host aixserver *
*******************************************************************************

-bash-3.00$ echo $DISPLAY


mschlech@linuxms:~ ( mailto:mschlech@linuxms:~ )> ssh -X linuxserver
mschlech@linuxserver's ( mailto:mschlech@linuxserver's ) password:
Last login: Mon Apr 23 15:32:35 2007 from linuxms
-bash-3.00$ echo $DISPLAY
localhost:13.0




<html><body><font face = "arial" size = "1">
DISCLAIMER: The information transmitted is intended only
for the addressee and may contain confidential,
proprietary and/or privileged material. Any
unauthorized review, distribution or other use
of or the taking of any action in reliance upon
this information is prohibited. If you received
this in error, please contact the sender and
delete or destroy this message and any copies.
</font><body></html>

Relevant Pages

  • Re: ssh xterm -> HPUX fails
    ... debug1: read PEM private key done: type RSA ... debug3: preauth child monitor started ... debug2: monitor_read: 0 used once, ... debug2: channel 0: sent ext data 106 ...
    (comp.security.ssh)
  • Re: run program via ssh
    ... debug2: channel 0: rcvd ext data 45 ... tput: No value for $TERM and no -T specified ...
    (alt.os.linux.suse)
  • openssh3.7p1 chroot patch not work on solaris 7
    ... debug1: monitor_child_preauth: test has been authenticated by privileged process ... debug3: mm_get_keystate: Waiting for new keys ... debug2: mac_init: found hmac-sha1 ... debug1: channel 0: new ...
    (comp.security.ssh)
  • openssh3.7p1 chroot patch not work on solaris 7
    ... debug1: monitor_child_preauth: test has been authenticated by privileged process ... debug3: mm_get_keystate: Waiting for new keys ... debug2: mac_init: found hmac-sha1 ... debug1: channel 0: new ...
    (comp.security.ssh)
  • SSH works but SFtp does not work
    ... # This is the sshd server system-wide configuration file. ... debug1: read PEM private key done: type RSA ... debug2: bits set: 512/1024 ... debug1: session_open: channel 0 ...
    (comp.os.qnx)