Hello. First, let me say that
5.9 Standard GOLD built on Dec-16-07 on Linux 2.6.22.14
Is one wicked cool distro, thanks!!!
I wish to report something: When trying to scp a file to the box, I see this error:
xmodmap: unable to open display ''
(I can scp files FROM my Vector box just fine, thank you, only not TO it).
When I use the -v switch to scp, I do not see that error, as a matter of fact, I
see no errors at all, the exit status is 0, but yet the file is not on my Vector
box:
-bash-3.2$ scp -v testfile rlw@nocona:/home/rlw
Executing: program /usr/bin/ssh host nocona, user rlw, command scp -v -t /home/rlw
OpenSSH_4.6, OpenSSL 0.9.7j 04 May 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to nocona [192.168.1.110] port 22.
debug1: Connection established.
debug1: identity file /home/rlw/.ssh/identity type -1
debug1: identity file /home/rlw/.ssh/id_rsa type 1
debug1: identity file /home/rlw/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'nocona' is known and matches the RSA host key.
debug1: Found key in /home/rlw/.ssh/known_hosts:8
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/rlw/.ssh/identity
debug1: Offering public key: /home/rlw/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /home/rlw/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
rlw@nocona's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t /home/rlw
You are working as rlw
-bash-3.2$ debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0
-bash-3.2$
Now, in an effort to get around this, I commented out the following line in my
~/.bashrc file:
#use custom keymap
xmodmap ~/.Xmodmap
So that it is now:
#use custom keymap
#xmodmap ~/.Xmodmap
And rebooted the machine.
Then, I no longer get the error
xmodmap: unable to open display ''
but the file is still not transferred.
I know that at least one other user is having this error, from this post here:
http://www.vectorlinux.com/forum2/index.php?topic=4585.msg30148#msg30148So, I don't think that 'scp' is failing because of xmodmap. As a matter of fact, even with
xmodmap not sourcing ~/.Xmodmap, scp still returns an exit status of 0, which SHOULD
indicate success, but the scp is not successful (at least, I cannot see the file on the
Vector box).
Is anyone else having this issue? Is there a fix known?
High Regards!
Robert