title: connect remote host without password in linux

text: Am trying to connect remote host by using ssh:               ssh xxxx@hostname.       It will connect by asking password. But I need to connect host with out password.


title: Passwordless ssh on archlinux (after ssh-copy-id still prompts for password)

text: On ubuntu/mint, all I need to do for passwordless ssh login is:               ssh-keygen -t rsa # on both pc     ssh-copy-id targetpc     ssh targetpc # does not prompt from password anymore      and that's all.. I do the same on archlinux (or manjaro), it's not working on the third step, it still prompts for password..               debug1: Reading configuration data /home/blablabla/.ssh/config     debug1: Reading configuration data /etc/ssh/ssh_config     debug1: Connecting to 192.168.11.3 [192.168.11.3] port 22.     debug1: Connection established.     debug1: identity file /home/blablabla/.ssh/id_rsa type 1     debug1: identity file /home/blablabla/.ssh/id_rsa-cert type -1     debug1: identity file /home/blablabla/.ssh/id_dsa type 2     debug1: identity file /home/blablabla/.ssh/id_dsa-cert type -1     debug1: identity file /home/blablabla/.ssh/id_ecdsa type 3     debug1: identity file /home/blablabla/.ssh/id_ecdsa-cert type -1     debug1: Enabling compatibility mode for protocol 2.0     debug1: Local version string SSH-2.0-OpenSSH_6.2     debug1: Remote protocol version 2.0, remote software version OpenSSH_6.1     debug1: match: OpenSSH_6.1 pat OpenSSH*     debug1: SSH2_MSG_KEXINIT sent     debug1: SSH2_MSG_KEXINIT received     debug1: kex: server->client arcfour hmac-md5 zlib@openssh.com     debug1: kex: client->server arcfour hmac-md5 zlib@openssh.com     debug1: sending SSH2_MSG_KEX_ECDH_INIT     debug1: expecting SSH2_MSG_KEX_ECDH_REPLY     debug1: Server host key: ECDSA 71:d2:05:dd:21:d1:ae:fc:a8:e5:f2:1c:2c:60:31:85     debug1: Host '192.168.11.3' is known and matches the ECDSA host key.     debug1: Found key in /home/blablabla/.ssh/known_hosts:11     debug1: ssh_ecdsa_verify: signature correct     debug1: SSH2_MSG_NEWKEYS sent     debug1: expecting SSH2_MSG_NEWKEYS     debug1: SSH2_MSG_NEWKEYS received     debug1: Roaming not allowed by server     debug1: SSH2_MSG_SERVICE_REQUEST sent     debug1: SSH2_MSG_SERVICE_ACCEPT received     debug1: Authentications that can continue: publickey,password     debug1: Next authentication method: publickey     debug1: Offering RSA public key: /home/blablabla/.ssh/id_rsa     debug1: Authentications that can continue: publickey,password     debug1: Offering DSA public key: /home/blablabla/.ssh/id_dsa     debug1: Authentications that can continue: publickey,password     debug1: Offering ECDSA public key: /home/blablabla/.ssh/id_ecdsa     debug1: Authentications that can continue: publickey,password     debug1: Next authentication method: password      and when using old home directory (from ubuntu), the ssh-copy-id shows some information that i've never seen before               /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed     /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys      is there some steps missing that i should do on archlinux? EDIT: the version of openssh is differ on both machine, one is 6.1p1-6, others was 6.2p1-1


title: SSH Login with key but without password with regular user on Synology Diskstation

text: For backup purposes I wan't to login to my Synology DS212j+ without using a password (but with a passwordless RSA key) and with a regular user (let's say the username is 'regularuser'). I've gotten passwordless SSH login to work with root. I've gotten SSH login with password to work with 'regularuser' For some I reason, I can't get passwordless SSH Login to work for regularuser, even though I've tried to get the setup to be identical:               DiskStation> ls -al /root     ...      drwx------ 2 root root 4096 Jun 12 08:40 .ssh     ...          DiskStation> ls -al /volume1/regularuser     ...     drwx------ 2 regularuser users 4096 Jun 11 20:28 .ssh     ...          DiskStation> ls -l /root/.ssh/     -rw-r--r-- 1 root root 399 Jun 12 08:41 authorized_keys     DiskStation> ls -l /volume1/regularuser/.ssh/     -rw-r--r-- 1 regularuser users 399 Jun 12 08:43 authorized_keys          DiskStation> diff /root/.ssh/authorized_keys /volume1/regularuser/.ssh/authorized_keys     DiskStation>      I've recently uncommented the following lines in /etc/ssh/sshd_config:               RSAAuthentication yes     PubkeyAuthentication yes     AuthorizedKeysFile .ssh/authorized_keys      Does anyone have an idea what I'm missing? Why does logging in as regularuser still result in me being asked by a password by Diskstation? Thanks in advance for any help! ## **UPDATE** Here is the SSH verbose (triple v) info for both logging in with root and with regularuser, from the same machine. **REGULARUSER**               regularuser@my-notebook ~ $ ssh -v -v -v regularuser@192.168.1.60     OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012     debug1: Reading configuration data /home/regularuser/.ssh/config     debug1: Reading configuration data /etc/ssh/ssh_config     debug1: /etc/ssh/ssh_config line 19: Applying options for *     debug2: ssh_connect: needpriv 0     debug1: Connecting to 192.168.1.60 [192.168.1.60] port 22.     debug1: Connection established.     debug3: Incorrect RSA1 identifier     debug3: Could not load "/home/regularuser/.ssh/id_rsa" as a RSA1 public key     debug1: identity file /home/regularuser/.ssh/id_rsa type 1     debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048     debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048     debug1: identity file /home/regularuser/.ssh/id_rsa-cert type -1     debug3: Incorrect RSA1 identifier     debug3: Could not load "/home/regularuser/.ssh/id_dsa" as a RSA1 public key     debug1: identity file /home/regularuser/.ssh/id_dsa type 2     debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024     debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024     debug1: identity file /home/regularuser/.ssh/id_dsa-cert type -1     debug1: identity file /home/regularuser/.ssh/id_ecdsa type -1     debug1: identity file /home/regularuser/.ssh/id_ecdsa-cert type -1     debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1-hpn13v11     debug1: match: OpenSSH_5.8p1-hpn13v11 pat OpenSSH*     debug1: Enabling compatibility mode for protocol 2.0     debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1     debug2: fd 3 setting O_NONBLOCK     debug3: load_hostkeys: loading entries for host "192.168.1.60" from file "/home/regularuser/.ssh/known_hosts"     debug3: load_hostkeys: found key type ECDSA in file /home/regularuser/.ssh/known_hosts:1     debug3: load_hostkeys: loaded 1 keys     debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521     debug1: SSH2_MSG_KEXINIT sent     debug1: SSH2_MSG_KEXINIT received     debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1     debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib     debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib     debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit: first_kex_follows 0      debug2: kex_parse_kexinit: reserved 0      debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1     debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: none,zlib@openssh.com     debug2: kex_parse_kexinit: none,zlib@openssh.com     debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit: first_kex_follows 0      debug2: kex_parse_kexinit: reserved 0      debug2: mac_setup: found hmac-md5     debug1: kex: server->client aes128-ctr hmac-md5 none     debug2: mac_setup: found hmac-md5     debug1: kex: client->server aes128-ctr hmac-md5 none     debug1: sending SSH2_MSG_KEX_ECDH_INIT     debug1: expecting SSH2_MSG_KEX_ECDH_REPLY     debug1: Server host key: ECDSA 28:e8:90:26:d5:a4:e4:bd:b7:59:21:b8:f2:b8:ee:fd     debug3: load_hostkeys: loading entries for host "192.168.1.60" from file "/home/regularuser/.ssh/known_hosts"     debug3: load_hostkeys: found key type ECDSA in file /home/regularuser/.ssh/known_hosts:1     debug3: load_hostkeys: loaded 1 keys     debug1: Host '192.168.1.60' is known and matches the ECDSA host key.     debug1: Found key in /home/regularuser/.ssh/known_hosts:1     debug1: ssh_ecdsa_verify: signature correct     debug2: kex_derive_keys     debug2: set_newkeys: mode 1     debug1: SSH2_MSG_NEWKEYS sent     debug1: expecting SSH2_MSG_NEWKEYS     debug2: set_newkeys: mode 0     debug1: SSH2_MSG_NEWKEYS received     debug1: Roaming not allowed by server     debug1: SSH2_MSG_SERVICE_REQUEST sent     debug2: service_accept: ssh-userauth     debug1: SSH2_MSG_SERVICE_ACCEPT received     debug2: key: /home/regularuser/.ssh/id_dsa (0x22283138)     debug2: key: /home/regularuser/.ssh/id_rsa (0x22281ad8)     debug2: key: regularuser@my-notebook (0x22286470)     debug2: key: /home/regularuser/.ssh/id_ecdsa ((nil))     debug1: Authentications that can continue: publickey,password     debug3: start over, passed a different list publickey,password     debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password     debug3: authmethod_lookup publickey     debug3: remaining preferred: keyboard-interactive,password     debug3: authmethod_is_enabled publickey     debug1: Next authentication method: publickey     debug1: Offering DSA public key: /home/regularuser/.ssh/id_dsa     debug3: send_pubkey_test     debug2: we sent a publickey packet, wait for reply     debug1: Authentications that can continue: publickey,password     debug1: Offering RSA public key: /home/regularuser/.ssh/id_rsa     debug3: send_pubkey_test     debug2: we sent a publickey packet, wait for reply     debug1: Authentications that can continue: publickey,password     debug1: Offering RSA public key: regularuser@my-notebook     debug3: send_pubkey_test     debug2: we sent a publickey packet, wait for reply     debug1: Authentications that can continue: publickey,password     debug1: Trying private key: /home/regularuser/.ssh/id_ecdsa     debug3: no such identity: /home/regularuser/.ssh/id_ecdsa     debug2: we did not send a packet, disable method     debug3: authmethod_lookup password     debug3: remaining preferred: ,password     debug3: authmethod_is_enabled password     debug1: Next authentication method: password     regularuser@192.168.1.60's password:       **ROOT**               regularuser@my-notebook ~ $ ssh -v -v -v root@192.168.1.60     OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012     debug1: Reading configuration data /home/regularuser/.ssh/config     debug1: Reading configuration data /etc/ssh/ssh_config     debug1: /etc/ssh/ssh_config line 19: Applying options for *     debug2: ssh_connect: needpriv 0     debug1: Connecting to 192.168.1.60 [192.168.1.60] port 22.     debug1: Connection established.     debug3: Incorrect RSA1 identifier     debug3: Could not load "/home/regularuser/.ssh/id_rsa" as a RSA1 public key     debug1: identity file /home/regularuser/.ssh/id_rsa type 1     debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048     debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048     debug1: identity file /home/regularuser/.ssh/id_rsa-cert type -1     debug3: Incorrect RSA1 identifier     debug3: Could not load "/home/regularuser/.ssh/id_dsa" as a RSA1 public key     debug1: identity file /home/regularuser/.ssh/id_dsa type 2     debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024     debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024     debug1: identity file /home/regularuser/.ssh/id_dsa-cert type -1     debug1: identity file /home/regularuser/.ssh/id_ecdsa type -1     debug1: identity file /home/regularuser/.ssh/id_ecdsa-cert type -1     debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1-hpn13v11     debug1: match: OpenSSH_5.8p1-hpn13v11 pat OpenSSH*     debug1: Enabling compatibility mode for protocol 2.0     debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1     debug2: fd 3 setting O_NONBLOCK     debug3: load_hostkeys: loading entries for host "192.168.1.60" from file "/home/regularuser/.ssh/known_hosts"     debug3: load_hostkeys: found key type ECDSA in file /home/regularuser/.ssh/known_hosts:1     debug3: load_hostkeys: loaded 1 keys     debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521     debug1: SSH2_MSG_KEXINIT sent     debug1: SSH2_MSG_KEXINIT received     debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1     debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib     debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib     debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit: first_kex_follows 0      debug2: kex_parse_kexinit: reserved 0      debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1     debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96     debug2: kex_parse_kexinit: none,zlib@openssh.com     debug2: kex_parse_kexinit: none,zlib@openssh.com     debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit:      debug2: kex_parse_kexinit: first_kex_follows 0      debug2: kex_parse_kexinit: reserved 0      debug2: mac_setup: found hmac-md5     debug1: kex: server->client aes128-ctr hmac-md5 none     debug2: mac_setup: found hmac-md5     debug1: kex: client->server aes128-ctr hmac-md5 none     debug1: sending SSH2_MSG_KEX_ECDH_INIT     debug1: expecting SSH2_MSG_KEX_ECDH_REPLY     debug1: Server host key: ECDSA 28:e8:90:26:d5:a4:e4:bd:b7:59:21:b8:f2:b8:ee:fd     debug3: load_hostkeys: loading entries for host "192.168.1.60" from file "/home/regularuser/.ssh/known_hosts"     debug3: load_hostkeys: found key type ECDSA in file /home/regularuser/.ssh/known_hosts:1     debug3: load_hostkeys: loaded 1 keys     debug1: Host '192.168.1.60' is known and matches the ECDSA host key.     debug1: Found key in /home/regularuser/.ssh/known_hosts:1     debug1: ssh_ecdsa_verify: signature correct     debug2: kex_derive_keys     debug2: set_newkeys: mode 1     debug1: SSH2_MSG_NEWKEYS sent     debug1: expecting SSH2_MSG_NEWKEYS     debug2: set_newkeys: mode 0     debug1: SSH2_MSG_NEWKEYS received     debug1: Roaming not allowed by server     debug1: SSH2_MSG_SERVICE_REQUEST sent     debug2: service_accept: ssh-userauth     debug1: SSH2_MSG_SERVICE_ACCEPT received     debug2: key: /home/regularuser/.ssh/id_dsa (0x20d09138)     debug2: key: /home/regularuser/.ssh/id_rsa (0x20d07ad8)     debug2: key: regularuser@my-notebook (0x20d0c470)     debug2: key: /home/regularuser/.ssh/id_ecdsa ((nil))     debug1: Authentications that can continue: publickey,password     debug3: start over, passed a different list publickey,password     debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password     debug3: authmethod_lookup publickey     debug3: remaining preferred: keyboard-interactive,password     debug3: authmethod_is_enabled publickey     debug1: Next authentication method: publickey     debug1: Offering DSA public key: /home/regularuser/.ssh/id_dsa     debug3: send_pubkey_test     debug2: we sent a publickey packet, wait for reply     debug1: Authentications that can continue: publickey,password     debug1: Offering RSA public key: /home/regularuser/.ssh/id_rsa     debug3: send_pubkey_test     debug2: we sent a publickey packet, wait for reply     debug1: Authentications that can continue: publickey,password     debug1: Offering RSA public key: regularuser@my-notebook     debug3: send_pubkey_test     debug2: we sent a publickey packet, wait for reply     debug1: Server accepts key: pkalg ssh-rsa blen 279     debug2: input_userauth_pk_ok: fp 50:ab:e6:ea:ff:bf:2d:05:41:47:76:64:25:05:08:c7     debug3: sign_and_send_pubkey: RSA 50:ab:e6:ea:ff:bf:2d:05:41:47:76:64:25:05:08:c7     debug1: Authentication succeeded (publickey).     Authenticated to 192.168.1.60 ([192.168.1.60]:22).     debug1: channel 0: new [client-session]     debug3: ssh_session2_open: channel_new: 0     debug2: channel 0: send open     debug1: Requesting no-more-sessions@openssh.com     debug1: Entering interactive session.     debug2: callback start     debug2: client_session2_setup: id 0     debug2: fd 3 setting TCP_NODELAY     debug2: channel 0: request pty-req confirm 1     debug1: Sending environment.     debug3: Ignored env SSH_AGENT_PID     debug3: Ignored env GPG_AGENT_INFO     debug3: Ignored env TERM     debug3: Ignored env SHELL     debug3: Ignored env XDG_SESSION_COOKIE     debug3: Ignored env WINDOWID     debug3: Ignored env GNOME_KEYRING_CONTROL     debug3: Ignored env USER     debug3: Ignored env SSH_AUTH_SOCK     debug3: Ignored env SESSION_MANAGER     debug3: Ignored env USERNAME     debug3: Ignored env DEFAULTS_PATH     debug3: Ignored env XDG_CONFIG_DIRS     debug3: Ignored env PATH     debug3: Ignored env DESKTOP_SESSION     debug3: Ignored env PWD     debug3: Ignored env JAVA_HOME     debug3: Ignored env GNOME_KEYRING_PID     debug1: Sending env LANG = en_US.UTF-8     debug2: channel 0: request env confirm 0     debug3: Ignored env MANDATORY_PATH     debug3: Ignored env MDM_XSERVER_LOCATION     debug3: Ignored env SHLVL     debug3: Ignored env HOME     debug3: Ignored env GNOME_DESKTOP_SESSION_ID     debug3: Ignored env LOGNAME     debug3: Ignored env XDG_DATA_DIRS     debug3: Ignored env DBUS_SESSION_BUS_ADDRESS     debug3: Ignored env MDMSESSION     debug3: Ignored env WINDOWPATH     debug3: Ignored env DISPLAY     debug3: Ignored env MDM_LANG     debug3: Ignored env XDG_CURRENT_DESKTOP     debug1: Sending env LC_TIME = en_US.UTF-8     debug2: channel 0: request env confirm 0     debug3: Ignored env COLORTERM     debug3: Ignored env XAUTHORITY     debug3: Ignored env _     debug2: channel 0: request shell confirm 1     debug2: callback done     debug2: channel 0: open confirm rwindow 0 rmax 32768     debug2: channel_input_status_confirm: type 99 id 0     debug2: PTY allocation request accepted on channel 0     debug2: channel 0: rcvd adjust 87380     debug2: channel_input_status_confirm: type 99 id 0     debug2: shell request accepted on channel 0               BusyBox v1.16.1 (2012-05-10 02:27:56 CST) built-in shell (ash)     Enter 'help' for a list of built-in commands.          DiskStation>       * * * If you use a diff tool (eg text-compare.com) to compare them, you'll see that there's only one difference between the two outputs prior to the accept/denial point, which is that the codes in these lines differ: regularuser:               debug2: key: /home/regularuser/.ssh/id_dsa (0x22283138)     debug2: key: /home/regularuser/.ssh/id_rsa (0x22281ad8)     debug2: key: regularuser@my-notebook (0x22286470)      root:               debug2: key: /home/regularuser/.ssh/id_dsa (0x20d09138)     debug2: key: /home/regularuser/.ssh/id_rsa (0x20d07ad8)     debug2: key: regularuser@my-notebook (0x20d0c470)      Is that relevant? I don't know what they are. The key named regularuser@my- notebook is the one that should work (and does work for root).


title: How to install libXaw8.so.8()(64bit)?

text: I get an error while install xbrightness. > xbrightness-0.3-3.1.x86_64`   >  requires libXaw8.so.8()(64bit) How can I install it?


title: Untar only a certain number of files from a large tarball

text: I have a large tarball that is busy being FTP'd over from a remote system to our local system. I want to know if it is possible to start untarring lets say 50 files at a time so that those files can begin being processed while the transfer takes place.


title: Changing mode preference (1x/EVDO/Hybrid) for USB modem

text: Device in question - Huawei HC156 (what it says on the packaging)/HC1260 (what it says in lsusb). I CAN connect to the internet with it, but I can't change modes between 1x, EVDO, Hybrid. The option to do this, it seems, is available only in the Windows application bundled with it, and I have absolutely no clue on how to do that on Debian. So far, the solution has been to start Windows, use the app to change mode preference. The change then shows up in Debian. Is there no way to do it from Debian itself?


title: How do I configure which ethernet connections are active on boot?

text: I have an unmanaged dedicated server that I administer, running CentOS. Recently when I reboot the server, I am unable to use SSH. Both times this has happened the server host has determined the issue and explained it like this: > "Please check now - I'm not sure how and why but eth0 and eth1 were both > active on boot (there should only be one). I've fixed this and rebooted the > server which came up cleanly with network connectivity. If you have any > application that could be making this change, kindly disable the same as > well." So in order for me to check into this myself, I am wondering where to look in order to see the settings he is describing there? That way I can configure it myself and try and determine if any programs are changing this. Note: I have been using the 'reboot' command, could this be resetting the ONBOOT status?


title: Output exceeding terminal window width

text: I had run a program that resulted in many more lines of output than my current terminal window width. As a result, I could only see partial results...is there any way to get the full output? I am using the bash shell.


title: Do you prefer bash scripts or aliases for shortcuts?

text: I have a `~/bin` directory (which is on my `PATH`) where I store a lot of little 1 or 2 line scripts. Some of them just `cd` into a directory and run a command on a file, like `vim` or something. But I also have a lot of aliases in my `.bash_aliases` file which serve the same purpose. How do you decide between writing a little bash script and writing an alias? Does it matter at all which way you go?


title: arch installation- startx not working

text: I went through the Arch installation yesterday, everything seemed to be going fine but when I ran `startx` it gave an error(in image below)- ![error message when I ran startx](http://i.stack.imgur.com/fOfJW.jpg) Is it a problem with the graphics card driver? My laptop has Intel GL40 and I've installed the xf86-video-intel driver; is it the correct one?


title: Mounting multiple img files as single loop device

text: Is there a way to take a disk img file that is broken up into parts and mount it as a single loop device?


title: Clone whole partition or hard drive to a sparse file

text: I like to clone a whole partition or a whole hard drive onto a larger external disk but like to create a sparse file. I often use `dd` for cloning, but it doesn't support sparse files. As a workaround I used something like:               cp --sparse=always <(dd if=/dev/sda1 bs=8M) /mount/external/backup/sda1.raw      However this is a little too tricky for my taste and doesn't allow me to resume the process if aborted. It is funny that there is a NTFS tool for this (`ntfsclone`) but no such tool exists for the native file systems of Linux (EXT2-4). Is there some better tool for this, e.g. a `dd` variant with sparse support? I do not look for some proprietary software for disk backups but simply want to make a sparse clone copy which I can mount as loop device if required.


title: How can I get a list of long running processes that match a particular pattern?

text: I know that I can do `ps aux | grep cgi` to get a list of all cgi scripts currently running, and `ps -p [pid] -o etime=` can get me the run time for each pid; is there a way to combine the two, or better still, only return those that have been running for "too long" (say, 45sec)? Ideally, I'm looking for something that could be put into a perl script that looks out for issues, emails me the details and pro-actively kills the process "for safety". would it be better to just strap a the output from one, and then iterate through the results?


title: If I close the laptop lid the next boot fails

text: I never shutdown my laptop. I use hibernate instead. Hibernate and suspend are working, but if I close the lid after clicking "Hibernate" the next boot will crash. I see a black screen that never goes away and I have to hard reset it holding the power button losing all my open applications. I hate when I forget it and I close the lid! Is there a solution for this? Is this a compatibility problem with no solution? My laptop is a Lenovo Ideapad Y460 running Debian wheezy. Linux 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 GNU/Linux


title: How to encrypt messages/text with RSA? (using openssl?)

text: I'm Bob.   I have Alice's public key. I want to send Alice an -> RSA <- encrypted message.   How can I do it using the openssl command? The message is:   Hi Alice! Please bring malacpörkölt for dinner!


title: Invalid signatures when running apt-get update

text: I'm new to linux and am trying to run an update, I get a lot of "Hit"'s and "Ign"'s but in the end I get these errors, does anybody know what they mean and how I can fix them?               W: GPG error: http://speglar.simnet.is olivia Release: The following signatures were invalid: BADSIG 3EE67F3D0FF405B2 Clement Lefebvre (Linux Mint Package Repository v1) <root@linuxmint.com>     W: GPG error: http://speglar.simnet.is raring Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>     W: GPG error: http://archive.canonical.com raring Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>     W: GPG error: http://ppa.launchpad.net raring Release: The following signatures were invalid: BADSIG 5A9A06AEF9CB8DB0 Launchpad PPA for Ubuntu Wine Team


title: Alternatives to FVWM window manager?

text: I've been using FVWM for over a decade, and for some time I've been concerned that the window manager is dying a slow death. I realize that 2.6.0 just came out a few days ago, and ironically that is what reminded me to look into a replacement - while a new stable version is good, it took so long (4 years between 2.4.20 and 2.6.0, and 2 years between 2.4.19 and 2.4.20) that I'm still unconfident in FVWM's future. Thus, I'm wondering if there is a more modern window manager which has the following properties (these are the key things I like about FVWM and would like to keep):   1. Focus-follows-mouse _without_ auto-raise. I.e., if I drag the mouse into a window which is partially obscured, that window gains focus but does _not_ come to the front.   2. Multiple virtual desktops that I can switch between with the keyboard and that I can move windows between.   3. Modifier key + mouse window manipulation that can be configured to the following:      * left click + alt + shift = send to back if frontmost, otherwise raise to front     * right click + alt + shift = maximize window vertically (horizontal size unchanged)     * middle click + alt + shift = grab window and move it     * middle chord + alt + control + shift = resize (drag pointer to side or corner and move that side or corner) For all of these, "click" means click anywhere in the window, not just the frame. The move/resize operations should begin on mouse-down and end on mouse- up. I don't use any desktop environment, just plain X11.


title: How to remove Dropbox

text: I am trying to remove Dropbox from my computer. So far I have done the following:               sudo aptitude remove dropbox     sudo aptitude purge dropbox      But this didn't get rid of it 100%               oshiro@debian:~$ locate dropbox     /usr/share/nmap/scripts/broadcast-dropbox-listener.nse     /var/cache/apt/archives/dropbox_1.6.1_i386.deb     /var/lib/apt/lists/linux.dropbox.com_debian_dists_wheezy_Release     /var/lib/apt/lists/linux.dropbox.com_debian_dists_wheezy_Release.gpg     /var/lib/apt/lists/linux.dropbox.com_debian_dists_wheezy_main_binary-i386_Packages     oshiro@debian:~$       I know I can delete each of those manually, but wanted to know if that is the correct way of removing a .deb installed application?


title: good unix troubleshooting book

text: I've been trying to learn *nix and I think I'm doing pretty good as far as basic commands, and I think I understand a lot of the "monitoring" type commands etc... in short, I think I'm doing okay with syntax type stuff. And doing stuff like setup of xyz is more or less straight forward...but I really want to start learning how to do is troubleshoot/diagnose problems and be able to fix them. For example, if I go to my website and it's not loading...what would be the first thing I should check for? That sort of thing. So I figured there's probably some good books out there about what to do when things go wrong, what to start looking for, how to identify what is going wrong and how to fix it etc...so I was looking for some recommendations on where I should turn to for that? Ideally I would like book recommendations because I'm old fashioned and like being able to have something in my hands but also for bathroom reading situations :) Any good books out there? I did do a little bit of researching before posting here...but after a while of trying to look at various books, it became clear to me that I am currently too much of a noob to figure out whether the book I'm getting is really going to give me what I"m after...seems like most books I've looked at so far focus on install, backup and general syntax...but that stuff is easy and straight forward to digest...I'm looking for the stuff that will help me become a better detective and *nix problem solver... p.s. - I'm currently using centOS 5.3 but from what I can tell, a lot of things are generic and can work from *nix system to *nix system so I don't think I necessarily need it to be centOS specific... Edit: I ended up getting 3 books: Linux Troubleshooting Bible Linux Server Hacks **Linux Server Hacks, Volume 2** (can't post link due to posting restrictions but you can find it easy enough from first link)


title: Find filesystem of an unmounted partition from a script

text: I'm writing a custom automated install using AIF (Arch Installation Framework), and I need to find the filesystem on a partition given a partition. So far I have this:               grok_partitions () {         local partitions=         for label in `ls /dev/disk/by-label | grep "Arch"`         do             if [ $label == "Arch" ]             then                 mount_point="/"             else                 IFS="-" read base mount <<< "${label}"                 mount_point="/${mount}"             fi                  local partition=$(readlink -f /dev/disk/by-label/${label})             local part_no=$(echo ${partition} | grep -Po '\d+')             local fs=$(parted -mls | grep "^${part_no}" | cut -d: -f5)             partitions+="${partition} raw ${label} ${fs};yes;${mount_point};target;no_opts;${label};no_params\n"         done              # do the swap         if [ -e /dev/disk/by-label/swap ]         then             local partition=$(readlink -f /dev/disk/by-label/swap)             partitions+="$partition raw swap swap;yes;no_mountpoint;target;no_opts;swap;no_params"         else             # if there's no labeled swap, use the first one we find             local partition=$(fdisk -l | grep -m1 swap | awk '{ print $1 }')             if [ ! -e $partition ]             then                 echo "No swap detected. Giving up."                 exit 1             fi             partitions+="$partition raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params"         fi              echo -n ${partitions}     }      This worked fine on my machine with only one hard drive, but it failed (obviously) when running in my VM running on a LiveCD (the LiveCD was being picked up as another drive, /dev/sr0). I've thought of a couple of hacks I could try:   * `mount $partition; grep $partition /etc/mtab | awk ...`   * use `parted -mls`, but pull out the partition I care about with clever scripting, then parse as I already do in the scriptt Is there a better, simpler way of doing this? I already have the partitions I'm interested in, and I only need to find their filesystems (as well as find available swap).


title: How to show the filesystem type via the terminal?

text: > **Possible Duplicate:**   >  How to tell what type of filesystem you’re on?   >  Find filesystem of an unmounted partition from a script How can I quickly check the filesystem of the partition? Can I do that by using `df`?


title: How to tell what type of filesystem you're on?

text: Is there a command to tell what type of filesystem you're using?


title: Finding which filesystem

text: I have an external hard drive and would like to know what kind of a file system it has. How do I find that out using the terminal?


title: How to know file system of any medium like hard disk, CD/DVD, flash drive?

text: Is there any command or any way to know what file system is there on a medium like hard disk or CD/DVD or flash drive etc. From GUI gparted one can know the type on hard disks/pen drive but not of CD/DVD. I ran the below command to mount my DVD.               ravbholua@ravbholua-Aspire-5315:~/Documents/Other$ sudo mount -t iso9660  /dev/cdrom ~/Downloads     mount: block device /dev/sr0 is write-protected, mounting read-only     mount: wrong fs type, bad option, bad superblock on /dev/sr0,            missing codepage or helper program, or other error            In some cases useful info is found in syslog - try            dmesg | tail  or so          ravbholua@ravbholua-Aspire-5315:~/Documents/Other$      From the error thrown by `mount`, I feel that the file system that I had given in the command i.e. 'iso9660' may not be right. From this it strikes my mind to 1st know the f.s. present on the DVD. I'm working on Ubuntu 13.04.


title: crontab and DST disagreement with different timezone

text: From a server hosted in Poland (UTC +01:00), is there a way I can consistently have a crontab entry run at 9am New York time (UTC -05:00)? For me this wasn't trivial since the daylight saving time ended last Sunday in Poland, so jobs that I have scheduled to run at 15:00 their local time most of the year are late this week by an hour from the point of view of US stock exchanges. I remember Congress' decision a few years ago to extend DST, which put things out of sync for a few weeks per year. One workaround I am not even sure would work (which I prefer to avoid anyhow) is that when I have a task:               0 14 * * * something      I fetch NY's time `TZ=":US/Eastern" date +%s` and compare using bash arithmetic whether I should `sleep 3600` or not before running `something`


title: FreeBSD: Opening X applications after su to root?

text: Using FreeBSD 8.2. I'm accessing my machine over vnc using tightvnc. I log in as my normal user. This is okay. I can open X applications and they display fine. Then I su to root and they won't open. I used to be able to do xhost +localhost but this doesn't work anymore. I read online about copying .Xauthority, so now in my .cshrc for root I do this:               if ($user != "root") then       setenv XAUTHORITY /home/$user/.Xauthoriy     endif      This gets me further but now I get an error:               GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed ..      I searched for this online and someone said to prefix the command with dbus- launch first:               dbus-launch emacs      I tried this and it works but it seems kludgy. How do I get this working so I can launch X based programs after su'ing to root seamlessly (like I could with FreeBSD 6.x)?


title: Debian Squeeze: connect to A2DP (bluetooth) through command line

text: I would like to turn my Lacie NAS into a A2DP bluetooth source, in order to stream audio to a bluetooth audio sink. The NAS runs Debian Squeeze in a chroot environment, and is connected to a Bluetooth dongle. I have no GUI installed on this NAS. I can get bluetooth up with `hciconfig hci0 up`, and I can pair with the audio sink. I created a file `~/.asoundrc` with the following contents:               pcm.btheadset {         type bluetooth         device C8:84:47:02:59:F4         profile “auto”     }      Then I executed `hciconfig hci0 voice 0x0060`, which gave no output. After that, I executed               pactl load-module module-alsa-sink device=btheadset      which gave the following error:               socket(): Address family not supported by protocol     Connection failure: Connection refused      Did I skip a step? Or is there anything else to accomplish what I want? UPDATE: I think the underlying problem is that the required kernel modules are not loaded. I have currently the following modules running:               snd_page_alloc     soundcore      btusb     uhci_hcd     rfcomm     l2cap     bluetooth     ftdi_sio      usbserial     usblp      ehci_hcd     loop     usb_storage     usbcore      Are there any other sound-specific kernel modules that I need to get sound over bluetooth working?


title: What does `env COLUMNS=%S ps …` do?

text: I have seen the syntax `env COLUMNS=%s`in shell scripts, e.g. see the line below from the Helm package in Emacs:               env COLUMNS=%s ps -axo pid,user,pri,nice,ucomm,tty,start,vsz,%%cpu,%%mem,etime,command      What does `env COLUMNS=%s` do? How is it different for example from `COLUMNS=%s` or `export COLUMNS=%s` ? Finally, does anyone know if such syntax is supported in OS X?


title: How to block HTTPS site using RHEL Squid?

text: I want to block HTTPS sites using Linux Squid server. How can I do this?


title: Why does this command create an enormously large file?

text: I was experimenting today with some append operations and, in my curiosity, ran this (where **file1.txt** was non-empty and **file2.txt** was empty):               $ cat file1.txt >> file2.txt >> file1.txt      When I saw it taking a while, I hit `Ctrl`+`C` to end it. By then, **file1.txt** was hundreds of MB in size. Switching the file names doesn't produce the same effect; only when the files are in this order does the infinite redirection happen. What exactly is going on that causes this?


title: gawk: Summing floats formatted with comma separator

text: I'm trying to sum floats which use the comma as separator, and gawk does integer calculations. Here's the script:               BEGIN {       FS=";"       OFS=";"       CONVFMT = "%2.2f"     }     {        print $1       print $2       print $1+$2      }      I'm using this data file:               4,3;5,7      and calling the script like this:               LC_ALL=fr_BE gawk -f test.awk < t.txt      I get this output:               4,3     5,7     9      I have the fr_BE locale set up, but the result is still incorrect. How can I fix this?


title: How to upgrade Apache 2.2.15 to 2.4.4 in CentOS

text: I want to upgrade Apache from 2.2.15 to 2.4.4 in CentOS. Do I need to download update files to a folder and update Apache? Is this even possible?


title: Access local UPNP and port forwarding while using OpenVPN

text: I have a laptop with Arch Linux and NetworkManager. When I connect to any wireless network I establish client OpenVPN connection to PrivateInternetAccess (my VPN provider) for privacy. SSH and Minecraft servers stop working after that. I've found some sloution for it. But RetroShare can't forward ports with UPNP (some of my friends are behind NAT) and Tomahawk even doesn't show my friends online. Is it possible to allow access to UPNP and incoming connections on local network while using VPN's tun0 as my primary route (for email/surfing/etc) or to route RetroShare and Tomahawk bypassing VPN? I think it can be a NetworkManager.dispatcher script or something like that...


title: Graphics and Wireless Driver Problems on Crunchbang

text: I started using Crunchbang. However, I still have problems with graphics card and wireless drivers. My graphics card is **ATI Radeon HD 7670M** and notebook model is **Acer Aspire V3-551G**. I have downloaded the graphics card driver from this link: http://support.amd.com/en- us/download/desktop?os=Linux%20x86_64 . When I install it and reboot my PC, it doesn't start anymore and I have to reinstall Crunchbang again. My **lspci** output:               01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Thames XT/GL [Radeon HD 7600M Series]     02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)     03:00.0 Network controller: Atheros Communications Inc. AR9462 Wireless Network Adapter (rev 01)


title: Why does KDEPIM add “pbecbengr-rivy-znaqngrq-ba” to the domain part of outgoing Message-ID headers?

text: When I send an eMail with Kontact (KDEPIM), my `Message-ID` headers look like this:               Message-ID: <1548233.Ax4hfq5P2Q@pbecbengr-rivy-znaqngrq-ba.tglase.lan.tarent.de>      In contrast, my regular MUA uses:               Message-ID: <alpine.DEB.2.11.1408151037370.23325@tglase.lan.tarent.de>      So, why does KMail not use just the FQDN of my host, and why does it use the string “pbecbengr-rivy-znaqngrq-ba” (which is rot13 for “corporate-evil- mandated-on”)? Duckduckgoïng and googling for either string does not yield anything informative or at all…


title: Using Awesome window manager on CentOS 7

text: Awesome works fine on Fedora 19, so it should work on CentOS 7, right? Well, I tried and failed to get it to work. After a long time, I managed to compile it from source and set GDM to boot from an `~/.xinitrc`. However, all I got was the window manager starting but none of the keybinds (keyboard or mouse) were working at all. I am looking for a usable step by step installation procedure.


title: Why only one active group at a time?

text: As far as I understand the users in Unix system can belong to multiple groups and one of them will become the primary group for that user. Others will be supplementary groups. All of this User/Group infrastructure is facilitated by /etc/group and /etc/passwd files. Now group permission of the user is determined exclusively by the active group which can be changed by `newgrp` command. The active group on login is the primary group defined in /etc/passwd file. So the question is what is the fundamental reason on why the designers chose to have this concept of a single active group even though allowing the user to have more than one supplementary groups? What would be the issue if all the groups were active simultaneously?


title: psad: do not block access to HTTP

text: I want to block intruders via `psad`, but HTTP and HTTPS should not be blocked. For example, if someone is scanning my dedicated server via `nmap`, `psad` should block him for 2 hours, but he should still see the contents from my domain. I set `AUTO_BLOCK_TIMEOUT` to a value of 7200, so everyone scanning me is completely blocked for 2 hours. Woefully the attacker is also blocked from seeing my webpage, which is not my intention. Is there any possibility to set up a partial blockage via `psad`?


title: Can a crontab job run concurrently with itself?

text: If I have a crontab job that runs, for instance, every hour, but that job may take more than an hour to complete, will the next job fail to run?


title: Sharing files with NFS and Unix Permissions

text: I'm kind of new to using NFS in the context of Linux permissions, so I'm a little lost on how I can make this work. Here's my setup:   * `alpha` writes files as `root` to the mounted NFS share.   * `beta` serves NFS and reads files from the shared directory, as well as serves the files out over HTTP. The HTTP server runs as user `blaster` with group `server`.  The dilemma I'm facing is that files are written as `root` on `alpha` and can't read or written by user `blaster` of group `server` on `beta`. The question is: how can I fix this? Do I have to create user `blaster` and group `server` on `alpha` and write files using this user and group in order to allow things to be shared with `beta`?


title: Recommended way to login to root?

text: After I found out hundreds of hacking attempts are made in a day I decided I want to disable logging in to root remotely via a password. But then I found I can't switch users in WinSCP so I can't easily upload/download/edit files. After I figured out how to disable remote logins it appeared I can't login remotely via a key. So I allowed it and disabled the password. But it turns out it disables passwords on all users. How do you recommend protecting myself when logging in to my server? Someone mentioned he uses one time login tokens, but I am unsure how to use that. But anyways, how do I disable password login for root but allow it for everyone else? I must be able to `su` into root from the other accounts `bc` primary I log into `acidzombie24` then `su` to root and carry on normally.


title: How to auto generate resolv.conf on Centos 6.5

text: I just installed CentOS 6.5 and configured the following files: `/etc/sysconfig/network-scripts/ifcfg-eth0`               DEVICE=eth0     HWADDR=aa:bb:dd:dd:ee:ff     TYPE=Ethernet     UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97     ONBOOT=yes     NM_CONTROLLED=no     BOOTPROTO=dhcp      `/etc/sysconfig/network`               NETWORKING=yes     HOSTNAME=localhost.IM     NTPSERVERARGS=iburst      When I reboot the computer, `ifconfig eth0` shows an IP address but the `resolv.conf` file is empty. All it says inside is `search IM`. There are no `nameservers` listed in the file. However, after bootup, if I do `dhclient -r` to release the IP address and then type `dhclient eth0` to get an IP address, `resolv.conf` is populated correctly with my DNS name servers. Why isn't this happening automatically from my configuration files? I thought `dhcp` enabled in my `ifcfg-eth0` file should take care of this. The CentOS documentation says setting `NETWORKING=yes` starts networking at boot time: http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp- configuring-client.html. Any help is appreciated.


title: Mirror mode openldap perfromance is slow when either mirrored node fails

text: I'm managing two openldap servers in mirrored mode. When either server fails ldap performs poorly, 30 seconds to several minutes to authenticate. Affected services include ssh and X11 (XDMCP). A mirrored dns also runs on both servers. Running openldap 2.4.23-32 on RHEL 6.3.


How do I disable remote root login via ssh? I want to log into my server (I use keys on my main comp) then `su` into root instead of access root directly. I am using Debian. I follow guides online which say add `PermitRootLogin no` to the file and another mention `Protocol 2`. Then reset ssh. `/etc/init.d/ssh restart`. I did this and it did not work. I was able to log into root using putty. How do I disable remote root login on Debian?


title: How can I create a multi-boot USB using livecd-tools?

text: While going through the man page, I found some options that seem to suggest that the command line tool `livecd-iso-to-disk` is capable of creating a multiple-boot USB:               --multi         Used when installing multiple image copies to signal configuration of         the boot files for the image in the --livedir <dir> parameter.          --livedir <dir>         Used with multiple image installations to designate the directory <dir>         for the particular image.      I have a 32 bit ISO image file and a 64 bit one in the directory `/var/Installers/Fedora-20`. I would like to be able to select either one from the grub menu when booting from the USB. I tried running the following:               # livecd-iso-to-disk --efi --multi --livedir /var/Installers/Fedora-20 /dev/sdc1      But it didn't work because the `<source>` argument is missing. I have two ISO images, it seems counter-intuitive to ask for the `<source>` when the directory to the image files is provided. Am I missing something here?


title: Installing SolveigMM Video Splitter under Wine

text: @ wine-1.4.1 I have been using Linux for about four years now but haven't found a nice GUI to trim videos WITHOUT recoding...perhaps I solely fall in love with SolveigMM Video Splitter I have tried various old versions of this applications which can be found at http://solveigmm-video-splitter.soft32.com/old-version/ but while installing I encounter following problems anyone please help               err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\Common Files\\Solveig Multimedia\\msvcp71.dll") stub     p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_Trimmer.ax" failed with error 0     err:module:import_dll Library WMVCore.DLL (which is needed by L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_EditEngine.dll") not found     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MPEG4TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\LC.dll" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MediaJointer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP2TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_FileWriter.ax" failed with error 0     err:module:import_dll Library WMVCore.DLL (which is needed by L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_ASFMuxer.ax") not found     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_KFrManager.ax" failed with error 0     err:module:import_dll Library WMVCore.DLL (which is needed by L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_EditEngine.dll") not found     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_Trimmer.ax" failed with error 0     usama@crunchbang:~/downloads$ wine "SolveigMM Video Splitter 2.2.1005.17.exe"     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\Common Files\\Solveig Multimedia\\msvcp71.dll") stub     p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_Trimmer.ax" failed with error 0     err:module:import_dll Library WMVCore.DLL (which is needed by L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_EditEngine.dll") not found     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MPEG4TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\LC.dll" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MediaJointer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP2TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_FileWriter.ax" failed with error 0     err:module:import_dll Library WMVCore.DLL (which is needed by L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_ASFMuxer.ax") not found     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_KFrManager.ax" failed with error 0     err:module:import_dll Library WMVCore.DLL (which is needed by L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_EditEngine.dll") not found     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_Trimmer.ax" failed with error 0      **UPDATE** Via winetricks I installed WMP10 (Windows Media Player 10) along with FFDSHOW codecs. I got a running copy (video/audio playback) of WMP10. After that I reinstalled SolveigMM Video Splitter got rid of errors about missing DLLs but perhaps I am stuck particularly at this error               fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP2TrimmerFA.ax"      I assume that .ax files are producing errors that are beyond my comprehension GUI does popup but closes with following error log               Unhandled exception: page fault on read access to 0x00000014 in 32-bit code (0x7ebebdcc).     Register dump:      CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b      EIP:7ebebdcc ESP:0033c98c EBP:0033ca14 EFLAGS:00010246(  R- --  I  Z- -P- )      EAX:00516e41 EBX:7ec40ff4 ECX:000a1204 EDX:006c3c38      ESI:00000000 EDI:00000000     Stack dump:     0x0033c98c:  00000000 00000018 00000000 00b68000     0x0033c99c:  00000000 0014303c 0033ca60 0033c9d4     0x0033c9ac:  00b68014 7ec411dc 7eba0000 00000000     0x0033c9bc:  0033c9e0 005171fe 00661ef4 000001bf     0x0033c9cc:  7eba0000 7ec41914 7ec42010 006c0084     0x0033c9dc:  00000003 0033c9fc 005172c3 006c3c38     Backtrace:     =>0 0x7ebebdcc GetCharacterPlacementW+0x3c() in gdi32 (0x0033ca14)       1 0x004fa06e in smmvsplitter (+0xfa06d) (0x00c03ce4)       2 0x00000001 (0x0065b154)       3 0x004fa2e0 in smmvsplitter (+0xfa2df) (0x0057598d)     0x7ebebdcc GetCharacterPlacementW+0x3c in gdi32: movl   0x14(%esi),%eax     Modules:     Module  Address         Debug info  Name (133 modules)     PE    400000-  a58000   Export          smmvsplitter     PE   31e0000- 3298000   Deferred        smm_kfrmanager.ax     PE   33b0000- 34ab000   Deferred        smm_editengine     PE   70d0000- 710a000   Deferred        wmasf     PE   86d0000- 8916000   Deferred        wmvcore     PE  10000000-101c3000   Deferred        smm_ocxslider     ELF 7b800000-7ba3a000   Deferred        kernel32<elf>       \-PE  7b810000-7ba3a000   \               kernel32     ELF 7bc00000-7bcd4000   Deferred        ntdll<elf>       \-PE  7bc10000-7bcd4000   \               ntdll     ELF 7bf00000-7bf04000   Deferred        <wine-loader>     ELF 7d08a000-7d0a7000   Deferred        libgcc_s.so.1     ELF 7d0bc000-7d129000   Deferred        ieframe<elf>       \-PE  7d0c0000-7d129000   \               ieframe     ELF 7d14c000-7d186000   Deferred        usp10<elf>       \-PE  7d150000-7d186000   \               usp10     ELF 7d1ca000-7d208000   Deferred        libxslt.so.1     ELF 7d208000-7d22f000   Deferred        mpr<elf>       \-PE  7d210000-7d22f000   \               mpr     ELF 7d22f000-7d2a5000   Deferred        wininet<elf>       \-PE  7d240000-7d2a5000   \               wininet     ELF 7d2a5000-7d337000   Deferred        urlmon<elf>       \-PE  7d2b0000-7d337000   \               urlmon     ELF 7d337000-7d35e000   Deferred        liblzma.so.5     ELF 7d35e000-7d4b2000   Deferred        libxml2.so.2     ELF 7d4c7000-7d570000   Deferred        msxml3<elf>       \-PE  7d4d0000-7d570000   \               msxml3     ELF 7d570000-7d58e000   Deferred        msxml<elf>       \-PE  7d580000-7d58e000   \               msxml     ELF 7d68e000-7d6a9000   Deferred        spoolss<elf>       \-PE  7d690000-7d6a9000   \               spoolss     ELF 7d6a9000-7d6cb000   Deferred        localspl<elf>       \-PE  7d6b0000-7d6cb000   \               localspl     ELF 7d6cb000-7d6d4000   Deferred        librt.so.1     ELF 7d6d4000-7d6dd000   Deferred        libffi.so.5     ELF 7d6dd000-7d6e1000   Deferred        libgpg-error.so.0     ELF 7d6e1000-7d72c000   Deferred        libdbus-1.so.3     ELF 7d72c000-7d768000   Deferred        libp11-kit.so.0     ELF 7d768000-7d7ed000   Deferred        libgcrypt.so.11     ELF 7d7ed000-7d7ff000   Deferred        libtasn1.so.3     ELF 7d7ff000-7d813000   Deferred        libresolv.so.2     ELF 7d813000-7d818000   Deferred        libkeyutils.so.1     ELF 7d818000-7d821000   Deferred        libkrb5support.so.0     ELF 7d821000-7d84b000   Deferred        libk5crypto.so.3     ELF 7d84b000-7d91d000   Deferred        libkrb5.so.3     ELF 7d91d000-7d92f000   Deferred        libavahi-client.so.3     ELF 7d92f000-7d9f8000   Deferred        libgnutls.so.26     ELF 7d9f8000-7da36000   Deferred        libgssapi_krb5.so.2     ELF 7da36000-7da8c000   Deferred        libcups.so.2     ELF 7da90000-7daa1000   Deferred        gnome-keyring-pkcs11.so     ELF 7dacf000-7db05000   Deferred        uxtheme<elf>       \-PE  7dae0000-7db05000   \               uxtheme     ELF 7db05000-7db0f000   Deferred        libxcursor.so.1     ELF 7db11000-7db16000   Deferred        libcom_err.so.2     ELF 7db16000-7db24000   Deferred        libavahi-common.so.3     ELF 7db7d000-7dba5000   Deferred        libexpat.so.1     ELF 7dba5000-7dbdb000   Deferred        libfontconfig.so.1     ELF 7dcdb000-7dcea000   Deferred        libxi.so.6     ELF 7dcea000-7dced000   Deferred        libxcomposite.so.1     ELF 7dced000-7dcf5000   Deferred        libxrandr.so.2     ELF 7dcf5000-7dcff000   Deferred        libxrender.so.1     ELF 7dcff000-7dd23000   Deferred        imm32<elf>       \-PE  7dd10000-7dd23000   \               imm32     ELF 7dd23000-7dd46000   Deferred        libxcb.so.1     ELF 7dd46000-7de7e000   Deferred        libx11.so.6     ELF 7de7e000-7de90000   Deferred        libxext.so.6     ELF 7de90000-7dea9000   Deferred        libice.so.6     ELF 7dea9000-7deb1000   Deferred        libsm.so.6     ELF 7deb5000-7debb000   Deferred        libxfixes.so.3     ELF 7dec6000-7df62000   Deferred        winex11<elf>       \-PE  7ded0000-7df62000   \               winex11     ELF 7df62000-7df7b000   Deferred        libz.so.1     ELF 7df7b000-7e017000   Deferred        libfreetype.so.6     ELF 7e017000-7e049000   Deferred        hhctrl<elf>       \-PE  7e020000-7e049000   \               hhctrl     ELF 7e06a000-7e070000   Deferred        libxxf86vm.so.1     ELF 7e070000-7e073000   Deferred        libxinerama.so.1     ELF 7e073000-7e079000   Deferred        libxdmcp.so.6     ELF 7e080000-7e0ba000   Deferred        winhttp<elf>       \-PE  7e090000-7e0ba000   \               winhttp     ELF 7e0ba000-7e138000   Deferred        gdiplus<elf>       \-PE  7e0d0000-7e138000   \               gdiplus     ELF 7e138000-7e163000   Deferred        msvfw32<elf>       \-PE  7e140000-7e163000   \               msvfw32     ELF 7e163000-7e1ac000   Deferred        dsound<elf>       \-PE  7e170000-7e1ac000   \               dsound     ELF 7e1ac000-7e281000   Deferred        quartz<elf>       \-PE  7e1c0000-7e281000   \               quartz     ELF 7e281000-7e390000   Deferred        oleaut32<elf>       \-PE  7e2a0000-7e390000   \               oleaut32     ELF 7e390000-7e42e000   Deferred        msvcrt<elf>       \-PE  7e3b0000-7e42e000   \               msvcrt     ELF 7e42e000-7e458000   Deferred        msacm32<elf>       \-PE  7e430000-7e458000   \               msacm32     ELF 7e458000-7e4d8000   Deferred        rpcrt4<elf>       \-PE  7e460000-7e4d8000   \               rpcrt4     ELF 7e4d8000-7e602000   Deferred        ole32<elf>       \-PE  7e4f0000-7e602000   \               ole32     ELF 7e602000-7e6b3000   Deferred        winmm<elf>       \-PE  7e610000-7e6b3000   \               winmm     ELF 7e6b3000-7e6f0000   Deferred        winspool<elf>       \-PE  7e6c0000-7e6f0000   \               winspool     ELF 7e6f0000-7e7d4000   Deferred        comdlg32<elf>       \-PE  7e700000-7e7d4000   \               comdlg32     ELF 7e7d4000-7e8d6000   Deferred        comctl32<elf>       \-PE  7e7e0000-7e8d6000   \               comctl32     ELF 7e8d6000-7e94a000   Deferred        shlwapi<elf>       \-PE  7e8e0000-7e94a000   \               shlwapi     ELF 7e94a000-7eb71000   Deferred        shell32<elf>       \-PE  7e960000-7eb71000   \               shell32     ELF 7eb71000-7eb8b000   Deferred        version<elf>       \-PE  7eb80000-7eb8b000   \               version     ELF 7eb8b000-7ec58000   Dwarf           gdi32<elf>       \-PE  7eba0000-7ec58000   \               gdi32     ELF 7ec58000-7edac000   Deferred        user32<elf>       \-PE  7ec70000-7edac000   \               user32     ELF 7edac000-7ee18000   Deferred        advapi32<elf>       \-PE  7edc0000-7ee18000   \               advapi32     ELF 7ee18000-7ee24000   Deferred        libnss_files.so.2     ELF 7ee24000-7ee2f000   Deferred        libnss_nis.so.2     ELF 7ee2f000-7ee46000   Deferred        libnsl.so.1     ELF 7ee46000-7ee4e000   Deferred        libnss_compat.so.2     ELF 7efc5000-7efeb000   Deferred        libm.so.6     ELF 7efec000-7f000000   Deferred        msimg32<elf>       \-PE  7eff0000-7f000000   \               msimg32     ELF b7401000-b7407000   Deferred        libuuid.so.1     ELF b7408000-b740c000   Deferred        libdl.so.2     ELF b740c000-b7570000   Deferred        libc.so.6     ELF b7571000-b758a000   Deferred        libpthread.so.0     ELF b758a000-b76cd000   Dwarf           libwine.so.1     ELF b76cd000-b76d0000   Deferred        libxau.so.6     ELF b76e4000-b7702000   Deferred        ld-linux.so.2     ELF b7702000-b7703000   Deferred        [vdso].so     Threads:     process  tid      prio (all id:s are in hex)     0000000e services.exe         00000027    0         0000001e    0         00000015    0         00000010    0         0000000f    0     00000012 winedevice.exe         0000001c    0         00000019    0         00000014    0         00000013    0     0000001a plugplay.exe         00000020    0         0000001d    0         0000001b    0     00000023 explorer.exe         00000024    0     00000040 (D) C:\Program Files\Solveig Multimedia\SolveigMM Video Splitter\SMMVSplitter.exe         00000041    0 <==     System information:         Wine build: wine-1.4.1         Platform: i386         Host system: Linux         Host version: 3.2.0-4-686-pae      While installing this was terminal output               fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a060, {485e7de8-0a80-11d8-ad15-505054503030}, 1, 0x33fde0, (null), (null), 0x100a068,): stub     fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a080, {485e7de9-0a80-11d8-ad15-505054503030}, 1, 0x33fde0, (null), (null), 0x100a088,): stub     fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a0a0, {485e7dea-0a80-11d8-ad15-505054503030}, 1, 0x33fde0, (null), (null), 0x100a0a8,): stub     fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a0c0, {485e7deb-0a80-11d8-ad15-505054503030}, 1, 0x33fde0, (null), (null), 0x100a0c8,): stub     fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a0e0, {485e7dec-0a80-11d8-ad15-505054503030}, 1, 0x33fde0, (null), (null), 0x100a0e8,): stub     fixme:advapi:RegisterTraceGuidsW (0x100778a, 0x100a100, {485e7ded-0a80-11d8-ad15-505054503030}, 1, 0x33fde0, (null), (null), 0x100a108,): stub     fixme:win:RegisterDeviceNotificationW (hwnd=0x133618, filter=0x54e91c,flags=0x00000001) returns a fake device notification handle!     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     err:richedit:ReadStyleSheet skipping optional destination     fixme:sfc:SfcIsFileProtected ((nil), L"C:\\users\\usama\\Temp\\1KQ759CF\\SolveigMM_Video_Splitter_3_7_1312_23\\presetup\\Common\\SMM_BatchSplit.exe") stub     p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_Trimmer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_KFrManager.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_ASFMuxer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_FileWriter.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP2TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MediaJointer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_WavMux.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_ASF_Trimmer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP4Demuxer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP4Muxer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MPEG4TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MKVMuxer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MKVSplitter.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MPADemuxer.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_SilenceGen.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_VP8TrimmerFA.ax" failed with error 0     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_VorbisDecoder.ax" failed with error 0     fixme:quartz:Inner_QueryInterface No interface for {00000126-0000-0000-c000-000000000046}     fixme:ole:TLB_ReadTypeLib Header type magic 0x00905a4d not supported.     err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Solveig Multimedia\\SMM_MP4VTrimmerFA.ax" failed with error 0     p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module     fixme:msxml:domdoc_get_parseError (0x146854)->(0x33f1bc): creating a dummy parseError


title: How do I create a separate partition for my /home directory?

text: I was reading http://docs.fedoraproject.org/en- US/Fedora/14/html/Installation_Guide/s1-diskpartitioning-x86.html, but it's not clear to me what this means. What's an LVM Volume Group versus a Hard Drive? I want to make sure that my home directory is on it's own partition so that I can more easily reinstall and upgrade the os. EDIT: If /home is on its own logical volume, will I be able to easily reinstall the os, or is a logical volume a different type of entity from a partition?


title: How to source /etc/profile and .bashrc while starting vncserver

text: I have an installation of RHEL5.10 (2.6.18-371.11.1.el5) with `vncserver`:               # rpm -qa | grep vnc     libvncserver-0.9.7-2.el5     vnc-server-4.1.2-14.el5_6.6     x11vnc-0.9.13-8.el5      While my other installations of same versions do `source /etc/profile` and `~/.bashrc` and `~/.bash_profile`, this server ignores it. Where should I look in order to find what is missing?


title: partitions problem with Debian Squeeze and Windows 7 (Partition 1 does not end on cylinder boundary)

text: I have just installed Debian Squeeze in a hard disk where also Windows 7 is installed. Now, if I run cfdisk, I get the following message:               "FATAL ERROR: Bad primary partition 3: Partition ends in the final partial cylinder".      Is there a way to fix it without reinstalling everything? **EDIT** : Output from `fdisk -l`:               Disk /dev/sda: 250.1 GB, 250059350016 bytes                                                                                255 heads, 63 sectors/track, 30401 cylinders                                                                                Units = cylinders of 16065 * 512 = 8225280 bytes                                                                                Sector size (logical/physical): 512 bytes / 512 bytes                                                                                I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                Disk identifier: 0x1f244dbd                                                                                Device Boot      Start         End      Blocks   Id  System                                                                                /dev/sda1               1         154     1228800    7  HPFS/NTFS                                                                                Partition 1 does not end on cylinder boundary.                                                                                /dev/sda2             154        9673    76464844    7  HPFS/NTFS                                                                                Partition 2 does not end on cylinder boundary.                                                                                /dev/sda3            9673       29127   156262401    5  Extended                                                                                Partition 3 does not end on cylinder boundary.                                                                                /dev/sda4           29127       30402    10240000    7  HPFS/NTFS                                                                                Partition 4 does not end on cylinder boundary.                                                                                /dev/sda5            9673       16968    58593280   83  Linux     /dev/sda6           16968       17430     3709952   82  Linux swap / Solaris     /dev/sda7           17430       28372    87889920   83  Linux     /dev/sda8           28372       29127     6066176   83  Linux


title: Is it possible to fake destination directory path with zip?

text: Given a bunch of files in the current directory, I want to be able to zip them such that, when extracted, they'd be placed in some given directories. For example, say I have these in `$PWD`:               ls     fsck     xz     chroot      And when I run `unzip foo.zip`, they each get extracted to these directories:               /bin     /sbin     /usr/bin     /usr/sbin      The closest I could find is that these files must already exist in whatever directory paths I want the files to be extracted to (using `$PWD` as root directory):               $ zip foo.zip bin/ls sbin/fsck usr/bin/xz usr/sbin/chroot      Then, on a system where I want this extraction to happen, I would have to:               $ cd /     $ sudo unzip foo.zip


title: Fan error during boot but it boots well

text: I installed the second linux distro along with Ubuntu, something went wrong, it was to choosing a wrong nvidia driver, and I decided to remove that distro completely by deleting the partition and creating it again (I'll persist installing it) from Ubuntu. However, I had (after the installation the 2nd distro) and am having (after I've removed it) an issue: during boot there 2 beeps and the label "Fan error" on the black screen before the boot menu appears. It does boot well (Ubuntu) but that error slows down the boot and it generally not normal. I tried boot-repair but the error has remained up til now. I'm on x64 system and UEFI.


title: Black screen on resume from suspend to RAM

text: This is my first post so please bear with me. I have Xubuntu(12.04) and Fedora17KDE spin installed on my netbook. While Xubuntu wakes up neatly, Fedora gets stuck at the black screen while resuming. After going through the `pm-suspend.log` file I realized that `vbetools` was not installed. I installed the `vbetools` package. Still resume throws up a black screen. Now the log file has something different to say:               Thu Aug 16 16:07:46 IST 2012: performing suspend     Thu Aug 16 16:07:51 IST 2012: Awake.     Thu Aug 16 16:07:51 IST 2012: Running hooks for resume     Running hook /usr/lib64/pm-utils/sleep.d/99video resume suspend:     Function not supported      Also `vbetools` was having trouble with SELinux. I went ahead and disabled SELinux. I don't think that has anything to do with this. I have come across many similar posts but am not able to find a solution. Here is the output of `lspci | grep VGA`:               00:02.0 VGA compatible controller: Intel Corporation Cedarview Integrated Graphics Controller (rev 09)      Slightly off-topic: Also the brightness keys wont work. I manage to change the brightness using the setpci method. Any help would be greatly appreciated. :)


title: Extract several pages from a djvu file

text: I have a djvu file of multiple pages. I wonder how to extract a new djvu file that consists of only a subset of multiple pages? For example, a djvu file has 10 pages, and I would like to extract a new djvu file consisting of pages 3-6 of the original djvu file. Can it be done with some commands of djvulibre, such as djvused, djvm, ...? I am using Ubuntu Linux. Consider two different cases: extract without removal of pages from the original djvu file, and extract without removal. Thanks!


title: Bridge not working

text: We want to create bridge (`mybridge`) on our board over `eth0` and `eth1` interface. The board runs Linux 2.6.34.9. Following are the commands:               brctl addbr mybridge     ifconfig eth1 0.0.0.0     ifconfig eth0 0.0.0.0     brctl addif mybridge eth1     brctl addif mybridge eth0     ifconfig mybridge up      PC-----ETH1-----mybridge-------ETH0 When we ping the board from a PC, we are able to receive packet on `eth1` (`eth1` rx counter increasing), but they are not getting transferred to `mybridge`, since the rx counter on `mybridge` is not increasing. After little search on net we found that `mybridge` is up but not going to RUNNING mode. Unless it goes to RUNNING mode, the bridge will not work. Can anyone please let us why `mybridge` is not entering RUNNING state?               / # ifconfig     eth0      Link encap:Ethernet  HWaddr BC:9A:78:56:34:12                 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1               RX packets:0 errors:0 dropped:0 overruns:0 frame:0               TX packets:0 errors:0 dropped:0 overruns:0 carrier:0               collisions:0 txqueuelen:1000                RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)          eth1      Link encap:Ethernet  HWaddr 00:E0:0C:BC:E0:00                 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1               RX packets:101 errors:0 dropped:0 overruns:0 frame:0               TX packets:3 errors:0 dropped:0 overruns:0 carrier:0               collisions:0 txqueuelen:1000                RX bytes:7200 (7.0 KiB)  TX bytes:126 (126.0 B)          lo        Link encap:Local Loopback                 inet addr:127.0.0.1  Mask:255.0.0.0               UP LOOPBACK RUNNING  MTU:16436  Metric:1               RX packets:0 errors:0 dropped:0 overruns:0 frame:0               TX packets:0 errors:0 dropped:0 overruns:0 carrier:0               collisions:0 txqueuelen:0                RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)          mybridge  Link encap:Ethernet  HWaddr 00:E0:0C:BC:E0:00                 UP BROADCAST MULTICAST  MTU:1500  Metric:1               RX packets:0 errors:0 dropped:0 overruns:0 frame:0               TX packets:0 errors:0 dropped:0 overruns:0 carrier:0               collisions:0 txqueuelen:0                RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)      Any sort of input will be of great help.


title: How to bind "Ctrl-Alt-b" to the prefix of tmux?

text: Tmux uses `Ctrl``b` as its prefix, but `Ctrl``b` conflict with Emacs. I want to bind `Ctrl``Alt``b` to tmux's prefix. I guess it may be `C-M-b` but didn't work...


title: What happens when I do "cat debian.iso > /dev/sdX"?

text: I'm creating a live-USB and don't understand precisely: what happens when I copy a file (or even a file system) directly to a device node (as opposed to a file system)?


title: Dual graphics cards in Mint & Ubuntu

text: I have a triple boot machine with Windows 7, Mint 13 (with XFCE) and Ubuntu 12. Only under Windows 7 does my second screen attached to a second graphics card come on. Under both Mint and Ubuntu, the second screen is blank and under my display properties I only seen on screen (the second screen enters power saving mode because it is receiving no signal). They both show up under `lshw` (as well as the on-board GPU on my motherboard but I don't wish to use this). Do I need to 'tweak' something specifically in Mint or Ubuntu to enable a second GPU?               *-pci:0          description: PCI bridge          product: Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port          vendor: Intel Corporation          physical id: 1          bus info: pci@0000:00:01.0          version: 09          width: 32 bits          clock: 33MHz          capabilities: pci normal_decode bus_master cap_list          configuration: driver=pcieport          resources: irq:40 ioport:e000(size=4096) memory:f6000000-f70fffff ioport:e0000000(size=301989888)        *-display             description: VGA compatible controller             product: GT218 [GeForce 210]             vendor: NVIDIA Corporation             physical id: 0             bus info: pci@0000:01:00.0             version: a2             width: 64 bits             clock: 33MHz             capabilities: vga_controller bus_master cap_list rom             configuration: driver=nouveau latency=0             resources: irq:16 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff        *-multimedia             description: Audio device             product: High Definition Audio Controller             vendor: NVIDIA Corporation             physical id: 0.1             bus info: pci@0000:01:00.1             version: a1             width: 32 bits             clock: 33MHz             capabilities: bus_master cap_list             configuration: driver=snd_hda_intel latency=0             resources: irq:17 memory:f7080000-f7083fff     *-pci:1          description: PCI bridge          product: Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port          vendor: Intel Corporation          physical id: 1.1          bus info: pci@0000:00:01.1          version: 09          width: 32 bits          clock: 33MHz          capabilities: pci normal_decode bus_master cap_list          configuration: driver=pcieport          resources: irq:41 ioport:d000(size=4096) memory:f4000000-f50fffff ioport:c0000000(size=301989888)        *-display             description: VGA compatible controller             product: GT218 [GeForce 210]             vendor: NVIDIA Corporation             physical id: 0             bus info: pci@0000:02:00.0             version: a2             width: 64 bits             clock: 33MHz             capabilities: vga_controller bus_master cap_list rom             configuration: driver=nouveau latency=0             resources: irq:17 memory:f4000000-f4ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:d000(size=128) memory:f5000000-f507ffff        *-multimedia             description: Audio device             product: High Definition Audio Controller             vendor: NVIDIA Corporation             physical id: 0.1             bus info: pci@0000:02:00.1             version: a1             width: 32 bits             clock: 33MHz             capabilities: bus_master cap_list             configuration: driver=snd_hda_intel latency=0             resources: irq:18 memory:f5080000-f5083fff     *-display          description: Display controller          product: 2nd Generation Core Processor Family Integrated Graphics Controller          vendor: Intel Corporation          physical id: 2          bus info: pci@0000:00:02.0          version: 09          width: 64 bits          clock: 33MHz          capabilities: bus_master cap_list          configuration: driver=i915 latency=0          resources: irq:56 memory:f7400000-f77fffff memory:b0000000-bfffffff ioport:f000(size=64)      ![Mint display properties](http://i.stack.imgur.com/B1A1d.png)


title: How do I mcast multiple pcap files simultaneously with guaranteed ordering and controllable speed?

text: We capture many pcap files every day on many different multicast groups. For the purposes of testing & benchmarking, we wish to replay these files in an isolated environment and in a controlled way. These pcap files are captured simultaneously, but on different multicast groups & ports. I want to replay these files back on to the network (possibly with ttl=0 or 1) in the order in which the packets were recorded, and on different (and specifyable) multicast groups. This ordering must be synchronized accross _all_ of the files being played back. For example, suppose we have two capture files, `foo.pcap` and `bar.pcap`. We want to replay `foo.pcap` packets on mcast group 239.255.0.1:30001, and the `bar.pcap` packets should be replayed on 239.255.0.2:30002. `foo.pcap` has packets recorded at time offsets 0, 1, and 5. `bar.pcap` has packets recorded at time offsets (relative to `foo.pcap`) 3, 4, and 5. So what I'm looking for is a way to replay these packets _in an order synchronized accross both`foo.pcap` and `bar.pcap`_. In other words, the first 2 packets from `foo.pcap` should go out on to 239.255.0.1:30001, and then the first two packets from `bar.pcap` should go out on 239.255.0.2:30002, and then the last packet from `foo.pcap` should go out _at the same time_ (or close to it) as the last packet from `bar.pcap`. We also need to be able to tune the rate at which packets are replayed. eg, at recorded speed; 10x recorded speed; 1 GB/sec; etc. How can I accomplish this? I have looked in to tools such as tcpreplay and bittwist, but these tools either won't send on different groups, or won't synchronize the egress order across all the files.


title: Piped Logs in Apache?

text: Can someone walk me though how the data flows? Need to understand how I can intercept the log data, make changes to that data in situ, then save to a file.


title: How to make dot matrix printer print every line of 'tail -f'

text: I have a dot matrix printer, an Epson LQ-500. It works well with CUPS, and I use it to print listings sometimes, text files, etc. now, I'd like to use it as a logging printer. for that, I need it to print a line, when it is appended to a file or named pipe. I was thinking about using something like this:               tail -n1 -f file | lpr -l -h -P Epson-LQ-500      but it doesn't work, the print job is constantly held. Then I tried this:               tail -n1 -f file | lp -d Epson-LQ-500 -o raw -H immediate      and it doesn't work either, the print job is held indefinitely. When using `tail` without `-f`, or when using `cat` it all works fine, but CUPS just won't let it print line-by-line. So, how do I do that?


title: Execution of a command in a variable with eval

text: I am trying to use grep to color some log files . I wrote a script and a part of it looks like this :               #!/bin/bash     com="GREP_COLOR=\"1;36\" egrep --color=always  '[^a-zA-Z0-9]' $log |less -R"     log="/var/log/syslog"     eval $com      The execution was missing $log ! I tried this :               #!/bin/bash     com="`GREP_COLOR=\"1;36\" egrep --color=always  '[^a-zA-Z0-9]' $log |less -R`"     log="/var/log/syslog"     eval $com      Nothing happened ! Could you see any mistake in my code ?


title: Map IDE drive to /dev/hda

text: I run a small home server with one IDE drive (for the system) and a few SATA drives (for a software RAID). The IDE drive used to be at `/dev/hda` and the SATA drives at `/dev/sd*`. After a power outage the IDE drive claims to be `/dev/sde` and wreaks havoc with my RAID. How do I get my IDE drive to behave well again?


title: How to get CPU info on a vmware guest

text: This is a server that is running on Vmware ESXi:               SERVER:/root # cat /etc/SuSE\-release                              SUSE Linux Enterprise Server 11 (x86_64)     VERSION = 11                    PATCHLEVEL = 2                  SERVER:/root # rpm -qa|grep -i vmware                              vmware-open-vm-tools-common-8.0.3-258828.sles11sp1     vmware-open-vm-tools-nox-8.0.3-258828.sles11sp1     vmware-tools-nox-8.0.3-258828.sles11sp1     vmware-tools-common-8.0.3-258828.sles11sp1     SERVER:/root #       How can I figure out how many physical CPUs are assigned to the vmware guest? I only have access to the guest, not the host


title: Proprietary ATI driver on linux not working with GLUT

text: I have a laptop with an ATI Radeon 3450 Graphic card (Lenovo U330). I have Crunchbang Linux (basically Debian Squeeze). After installing the proprietary ATI drivers (ati-driver-installer-11-12-x86.x86_64.run) I can't run a GLUT sample scene. I'm using freeglut3. The program compiles, but when I try to execute it, I get a strange error...               freeglut (./TEST_GLUT):  ERROR:  Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow     X Error of failed request:  BadWindow (invalid Window parameter)       Major opcode of failed request:  4 (X_DestroyWindow)       Resource id in failed request:  0x0       Serial number of failed request:  30       Current serial number in output stream:  33      I tried `glxinfo` and I get this..               name of display: :0.0     Error: couldn't find RGB GLX visual or fbconfig      When I try `glxdemo` the error is:               Error: couldn't get an RGB, Double-buffered visual      Any help?


title: filter file for specific date

text: My OS is Solaris 10 (64 bit) and I have many files in a logs directory where we receive 40-50 logs every day. I have last 20 days file present in this directory and I want to move each day file to a particular directory whose name is appended with the date of file. For example               File_name  date     1.txt      31-jul-20122      2.txt      01-Aug-2012      then create a directory for old files belongs to 31-jul-2012 and move to new directory 31-jul RIO_31-Jul-2012 and move them and like wise for 01-aug files. I have written a scripts which is running fine for current date but i don't know how t modify it to accomdate old date. My scripts is as below               NEWDIR=RIO_31-Jul-2012     mkdir /ersdg3/ERS/ERS_INPUT_LOGS/RIO/LOGS/$NEWDIR     cd /var/opt/ers/logs/rio     touch -t `date +%Y%m%d0000` dummy     find . -newer dummy -type f  |     while read fname     do         mv $fname /ersdg3/ERS/ERS_INPUT_LOGS/RIO/LOGS/$NEWDIR     done


title: file missing from Desktop screen but can be seen using "ls" under the Desktop directory

text: I downloaded some files onto desktop. After typing `ls` under the `Desktop` directory, I can see these files. However, I cannot see the icons on my desktop corresponding to the files I see with `ls`. I use CentOs.


title: installing own Git Server, push code after granted permission

text: I'm trying to install a Git Server in a RedHat 6.5 box   I'm folowing this tutorials : 1,2,3, and to be honest the more I read the more things get obscure. If I'm to create a git user wich will be the owner of the main repos and also in charge of doing the commits, how do I prevent a developer from pushing a bad code (gitolite, is there something neweer?)?   What is the simplest configuration for the git server( I would love gitlab but my boss will not alow that) while alowing the developer push only when the code has been reviewed, and granted permission to do the push. note: All the developers have ssh access to the server. and I have collected theirs ssh.pub keys


title: npm issues with uglify-js

text: I'm trying to use node.js to run a project on my Raspberry Pi (following this guide: http://blog.donaldderek.com/2013/06/build-your-own-google-tv-using- raspberrypi-nodejs-and-socket-io/ ) and I've run into a bit of a problem with npm. When I try `npm install` I get a bunch of errors, the first of which being `npm ERR! error installing uglify-js@2.2.5` `npm ls` gives               npm WARN jade * Unmet dependency in /home/pi/app/RaspberryPiTV     npm WARN base64id 0.1.0 Unmet dependency in /home/pi/app/RaspberryPiTV/node_modules/socket.io     npm WARN policyfile 0.0.4 Unmet dependency in /home/pi/app/RaspberryPiTV/node_modules/socket.io     npm WARN socket.io-client 0.9.11 Unmet dependency in /home/pi/app/RaspberryPiTV/node_modules/socket.io     GoogleTV-rPi@1.2.1 /home/pi/app/RaspberryPiTV     âââ¬ express@3.1.1     â âââ buffer-crc32@0.2.1     â âââ commander@0.6.1     â âââ¬ connect@2.7.4     â â âââ buffer-crc32@0.1.1     â â âââ bytes@0.2.0     â â âââ formidable@1.0.11     â â âââ pause@0.0.1     â â âââ qs@0.5.1     â âââ cookie@0.0.5     â âââ cookie-signature@0.0.1     â âââ debug@0.7.2     â âââ fresh@0.1.0     â âââ methods@0.0.1     â âââ mkdirp@0.3.5     â âââ range-parser@0.0.4     â âââ¬ send@0.1.0     â   âââ mime@1.2.6     âââ UNMET DEPENDENCY jade *     âââ omxcontrol@0.0.1     âââ¬ socket.io@0.9.14     â âââ UNMET DEPENDENCY base64id 0.1.0     â âââ UNMET DEPENDENCY policyfile 0.0.4     â âââ UNMET DEPENDENCY socket.io-client 0.9.11     âââ uglify-js@1.3.5  extraneous      And here's my package.json file:               {       "name": "GoogleTV-rPi",       "version": "1.2.1",       "private": false,       "scripts": {         "start": "node app.js"       },       "dependencies": {         "express": "3.1.1",         "jade": "*",         "socket.io": "0.9.14",         "omxcontrol": "*"       },       "devDependencies": {},       "optionalDependencies": {},       "engines": {         "node": "*"       }     }      Node version is v0.10.7 npm version is 1.1.4 Any ideas what I'm doing wrong, or if there are any workarounds?