ARD root login crashes remote machine

I have an xserve running 10.4.7 and ARD 3.1
We had a system power down during operation. (dont ask)
Then after the machine had came back up, trying to ARD onto machine and login as "admin" would enter OK.
However when logging in as "root" completely crashes the system, I can ping it but nothing else.
The local console shows just light blue screen with spinning wheel. The system has to be power cycled to get it back up.
I could not see from the logs what was causing this.
So as the machine is only running a database and is bound/connected to a windows2003 AD server. I rebuilt clean new boot disks with 10.4.8, again with ARD 3.1. and moved the database back.
However, I still have the problem where the system will completely crash when logging in as "root" user on an ARD session.
Has anyone seen this or can point me at some info to diagnose the problem.

You might try deleting the /Library/Preferences/com.apple.ARDAgent.plist file and the items in /Library/Application Support/Apple/Remote Desktop.

Similar Messages

  • Screen sharing crashes remote machine with two monitors in 10.7.2

    Hello,
    Whenever i connect to my Mac Pro (running 10.7.2 now), the machine hangs completely if my two monitors are connected.  This happens both over the network using Back to my Mac and Slink, when on a local network from my macbook Pro and a friends older iBook. (both running Lion). It also happens from a VNC client (remoter vnc) from my ipad. If i disconnect my second monitor, it works fine in all cases.  Is anyone else experience a remote machine crash when trying to screen share?
    I can connect to the disks fine. it's just screen sharing
    I recently refromatted my machine and it was working fine before then -- but i imagine the problem stems from 10.7.2 since i both reformatted and upgraded.
    thanks
    dan

    If you want to insure that Apple actually knows this is an issue, you should your own bug report
      BugReporter
    <http://bugreporter.apple.com>
    Free ADC (Apple Developer Connection) account needed for BugReporter.
    Anyone can get a free account at:
    <http://developer.apple.com/programs/register/>

  • Ssh login works but main login on remote machine does not

    I have a PPC Mac mini with Tiger installed at a co-locate with a static ip. I also have remote desktop and I recently discovered that although I can successfully log into my remote machine on a terminal using ssh I can't log into the machine using RD. It connects, in other words I see my remote desktop with the choices for logging in. But if I choose my account, which is the only one to choose, and enter my password I get the shakes, the dialog shakes letting me know I did something wrong. I know my password is right because I have it written down and I can log in using ssh. Why would these be different? My apologies if this question is not in the right forum. I wasn't sure where to post this.

    Have you set up the account in the Sharing -> Remote Desktop -> Access Privileges to allow connection and the appropriate functions?

  • How to login to remote machine using SSH?

    Hi,
    I have a requirement where in I am required to connect to a remote machine using SSH and execute some commands, say a tail -100 on some file over there and pull back output data from the remote machine.
    I know we can use sockets to connect to remote machines and Runtime.exec to execute external commands. But I am unable to tie together the two of these to achieve whatever I want to do.
    Is it possible to somehow connect w/o using a custom server socket? The problem is that there is no concrete list of servers to connect to. It will be decided by the user. So I will not be able to install a server socket on each and every machine.
    Any help would be most appreciated. Thanks a lot.
    With regards,
    Ganesh

    Hi,
    I am writing a java program that will try to use a SSH client to connect to a remote machine. I do not want to log into every single remote machine to moitor stuff over there.
    My plan goes like this:
    Have a web application that can connect to a DB for all information regarding remote servers to be monitored.
    Based on user selection of a particular server, use data from the DB to connect to the particular remote server and pull in some data.
    Hope I am clear enough now. Thanks a lot.
    Ganesh

  • Unable to connect to WMI (r) on remote machine "SCCMCLIENT03"

    Hi!
    I'm in the process of configuring the XP firewall to support the Client Push installation method that SCCM offers. At the moment I'm quite happy with the result. The SCCM client agents are installed properly on my reference machines.
    To secure that the WMI functionality is up and running I have (prior to the client agent installation) run wbemtest with following parameter (from server to client, and vice versa):
    \\host\root\cimv2
    I successfully contacted that specific namespace on both ends. But when I trace the log I find the following error which still indicates that something is wrong:
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Unable to connect to WMI (r) on remote machine "SCCMCLIENT03", error = 0x8004100e. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    Why do I get this? What am I missing here? I got the feeling of WMI functioning the way it should.
    Any hints on this one?
    In an MSDN-article (http://msdn.microsoft.com/en-us/library/aa389286(VS.85).aspx) I read the following lines:
    "If the user account that is on Computer A is not an administrator on Computer B, but the user account has Remote Enable permission on Computer B"
    Those lines are part of an article which describes how to configure Remote administrations properly. For that to work, does the computer account of my Central Site Server has to be part of the local administrators group on every client?
    Regards,
    Fredrik
    CCM.log
    Submitted request successfully SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    Getting a new request from queue "Incoming" after 100 millisecond delay. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    ======>Begin Processing request: "TI11WDUE", machine name: "SCCMCLIENT03" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Trying each entry in the SMS Client Remote Installation account list SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Attempting to connect to administrative share '\\SCCMCLIENT03.spost.nu\admin$' using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    Received request: "HPS6133J" for machine name: "SCCMCLIENT02" on queue: "Incoming". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    Stored request "HPS6133J", machine name "SCCMCLIENT02", in queue "Processing". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 2408 (0x0968)
    ---> Connected to administrative share on machine SCCMCLIENT03.spost.nu using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Attempting to make IPC connection to share <\\SCCMCLIENT03.spost.nu\IPC$> SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> Searching for SMSClientInstall.* under '\\SCCMCLIENT03.spost.nu\admin$\' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:13 1704 (0x06A8)
    ---> System OS version string "5.1.2600" converted to 5,10 SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Service Pack version from machine "SCCMCLIENT03" is 3 SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Unable to connect to WMI (r) on remote machine "SCCMCLIENT03", error = 0x8004100e. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Creating \ VerifyingCopying exsistance of destination directory \\SCCMCLIENT03\admin$\system32\ccmsetup. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Copying client files to \\SCCMCLIENT03\admin$\system32\ccmsetup. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Copying file "d:\Program Files\Microsoft Configuration Manager\bin\I386\MobileClient.tcf" to "\\SCCMCLIENT03\admin$\system32\ccmsetup\MobileClient.tcf" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Copying file "d:\Program Files\Microsoft Configuration Manager\bin\I386\ccmsetup.exe" to "\\SCCMCLIENT03\admin$\system32\ccmsetup\ccmsetup.exe" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:14 1704 (0x06A8)
    ---> Created service "ccmsetup" on machine "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 1704 (0x06A8)
    ----- Started a new CCR processing thread. Thread ID is 0xc6c. There are now 2 processing threads SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Submitted request successfully SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Getting a new request from queue "Incoming" after 100 millisecond delay. SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Found CCR "yb2xbq0a.CCR" in queue "Incoming". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    ======>Begin Processing request: "HPS6133J", machine name: "SCCMCLIENT02" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 3180 (0x0C6C)
    ---> Trying the 'best-shot' account which worked for previous CCRs (index = 0x0) SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 3180 (0x0C6C)
    ---> Attempting to connect to administrative share '\\SCCMCLIENT02.spost.nu\admin$' using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 3180 (0x0C6C)
    Received request: "YB2XBQ0A" for machine name: "SCCMCLIENT01" on queue: "Incoming". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    Stored request "YB2XBQ0A", machine name "SCCMCLIENT01", in queue "Processing". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:15 2408 (0x0968)
    ---> Started service "ccmsetup" on machine "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Deleting SMS Client Install Lock File '\\SCCMCLIENT03.spost.nu\admin$\SMSClientInstall.S01' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Completed request "TI11WDUE", machine name "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    Deleted request "TI11WDUE", machine name "SCCMCLIENT03" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    <======End request: "TI11WDUE", machine name: "SCCMCLIENT03". SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ======>Begin Processing request: "YB2XBQ0A", machine name: "SCCMCLIENT01" SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Trying the 'best-shot' account which worked for previous CCRs (index = 0x0) SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    ---> Attempting to connect to administrative share '\\SCCMCLIENT01.spost.nu\admin$' using account 'spost.nu\SA-SCCM_ClientPush' SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:16 1704 (0x06A8)
    Submitted request successfully SMS_CLIENT_CONFIG_MANAGER 2009-03-10 11:12:17 2408 (0x0968)

    Here is what is in my ccmsetup.log
    <![LOG[GetSSLCertificateContext failed with error 0x87d00280]LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="3" thread="984" file="ccmsetup.cpp:5356">
    <![LOG[GetHttpRequestObjects failed for verb: 'GET', url: 'HTTPS://TEST-SCCM.copt.local/CCM_Client/ccmsetup.cab']LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="3" thread="984" file="httphelper.cpp:942">
    <![LOG[DownloadFileByWinHTTP failed with error 0x87d00280]LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="3" thread="984" file="httphelper.cpp:1076">
    <![LOG[CcmSetup failed with error code 0x87d00280]LOG]!><time="16:19:22.341+240" date="04-04-2012" component="ccmsetup" context="" type="1" thread="3496" file="ccmsetup.cpp:9454">
    And in my ccm.log:
    ---> Attempting to connect to administrative share '\\SCCMCLIENTTEST1\admin$' using account 'corporate\sccmadmin'~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.338+240><thread=2708 (0xA94)>
    ---> The 'best-shot' account has now succeeded 1 times and failed 0 times.  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.400+240><thread=2708 (0xA94)>
    ---> Connected to administrative share on machine SCCMCLIENTTEST1 using account 'corporate\sccmadmin'~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.400+240><thread=2708 (0xA94)>
    ---> Attempting to make IPC connection to share <\\SCCMCLIENTTEST1\IPC$> ~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.400+240><thread=2708 (0xA94)>
    ---> Searching for SMSClientInstall.* under '\\SCCMCLIENTTEST1\admin$\'~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.405+240><thread=2708 (0xA94)>
    ---> System OS version string "6.1.7601" converted to 6.10  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.778+240><thread=2708 (0xA94)>
    CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e~  $$<SMS_CLIENT_CONFIG_MANAGER><04-04-2012 16:09:19.826+240><thread=2708 (0xA94)>
    ---> Unable to connect to WMI (root\ccm) on remote machine "SCCMCLIENTTEST1", error = 0x8004100e

  • Getting ssh_exchane_identity error when trying to login from my machine or a remote one. Already enabled remote login

    I updated my system from Snow Leopard to Lion 7.3.1
    Wanted to login from remote computer and then enabled the remote login in Preferences/Sharing, but when trying to login I get the error ssh_exchange_identification also if I try to login from my machine with ssh username@localhost.
    I tried all what I could find on internet forums, but nothing changed.
    Please help!!
    Daniela

    Hi Linc
    here is the output of ssh -vvv localhost
    OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
    debug1: Reading configuration data /etc/ssh_config
    debug1: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to localhost [::1] port 22.
    debug1: Connection established.
    debug3: Not a RSA1 key file /Users/danielamaurizio/.ssh/id_rsa.
    debug2: key_type_from_name: unknown key type '-----BEGIN'
    debug3: key_read: missing keytype
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug3: key_read: missing whitespace
    debug2: key_type_from_name: unknown key type '-----END'
    debug3: key_read: missing keytype
    debug1: identity file /Users/danielamaurizio/.ssh/id_rsa type 1
    debug1: identity file /Users/danielamaurizio/.ssh/id_rsa-cert type -1
    debug1: identity file /Users/danielamaurizio/.ssh/id_dsa type -1
    debug1: identity file /Users/danielamaurizio/.ssh/id_dsa-cert type -1
    ssh_exchange_identification: Connection closed by remote host
    [1]+  Done                    edit sshd_config
    The following line comes from /var/log/secure.log
    May 23 04:59:46 <danielamaurizio> sshd[2267]: fatal: /var/empty must be owned by root and not group or world-writable.
    but I'm not sure if it's want you asked me; the owner of /var/empty is root of group sys.
    By the way I had a problem that Lion cancelled the owner root and I had to use System Preferences User and groups to add root again, with the result that now I can use only the comman "su root" and not "sudo anycommand"  anymore.
    Thanks for halp and cheers
    daniela

  • ARD highlight and erases remote login passwords

    When using ARD to log into remote Macs that have screens locked with a password, on several occasions after two or three characters are entered all characters are hilighted and the next keystroke erases the first part of the password. Does anyone know how to fix this error?

    I've experinced similar issues in the past. BUT I wasn't even using ARD at the time; I was using logmein. at the time I though maybe a key was stuck down on the keyboard or some one was playing with the keyboard.
    I don't remember what I did at the time to work get past the issue. I think I rebooted the computer or typed very slowly with big pauses between each letter.
    BUT like brian, I use screen saver with lock. So it's very possible I was at the screen saver lock window when I had the issue. and my box is a 10.8 box.

  • ARD 3.6.1 remote log in Unix command failure

    Hello, I am using 10.7.5 and ARD 3.6.1 and cannot figure out how to remotely log in to another computer
    I wish to remotely log in using ARD to multiple computers in my network, up to 30 at a time for elementary students.  I can observe, control and send Unix commands to the machines when they are at startup log in screen or in use. This is the Unix command I am trying to use to log into the comptuer using ARD and Unix command function.
    osascript -e 'tell application "System Events" to keystroke "login"'; \
    osascript -e 'tell application "System Events" to keystroke tab'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke "password"'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke return'
    **and yes I am changing the login and password keystroke**
    I have tried the above Unix command and several others but I get a message saying "A console user is not logged in on “studnetmacbook""  so I click the button to run command as user admin but then get the message below. 
    36:50: execution error: An error of type -10810 has occurred. (-10810)
    36:49: execution error: An error of type -10810 has occurred. (-10810)
    36:54: execution error: An error of type -10810 has occurred. (-10810)
    36:52: execution error: An error of type -10810 has occurred. (-10810)
    36:52: execution error: An error of type -10810 has occurred. (-10810)
    Could someone explain these errors.  Is ARD not compatible with remote log in with the versions I have?  I have seen on sites this is posted and other sites that this needs to be run as the root user...Should I know how to run this as a root user and if so could someone help me with how to do this? 
    Or if anyone else has a working command could you share it with me for remotely logging in using ARD.
    Thanks!

    Hi
    Don't quite recognise what it is you're using. Maybe try:
    osascript <<EOF
    tell application "System Events"
    keystroke "whateverusernameyou'reusing"
    keystroke tab
    delay 0.5
    keystroke "whateverthepasswordis"
    delay 0.5
    keystroke return
    end tell
    EOF
    Instead. Works every time for me.
    The above are all on separate lines.
    HTH?
    Tony

  • IBM DB2 9.7 Express-C instalation on remote machine

    Hi guys,
    I'm trying to install IBM DB2 9.7 Express-C on a remote machine that does not have xorg installed.
    I've managed to enable forwarding X over ssh (tested on xeyes), but when i start db2setup, it doesn't do anything.
    Output in console is this:
    user@remotemachine$ ./db2setup
    DBI1190I db2setup is preparing the DB2 Setup wizard which will guide
    you through the program setup process. Please wait.
    DBI1160I Non-root install is being performed.
    If i login with root then the output is basically same:
    user@remotemachine$./db2setup
    DBI1190I db2setup is preparing the DB2 Setup wizard which will guide
    you through the program setup process. Please wait.
    I'm running latest arch with xfce4 with slim for starting DE.
    Can anybody give me some poiners on how to install this?

    spendzo wrote:Can anyone comment if this is ok...?
    Yeah, it's great! I've tested it for you and I'm keeping it.:D Made some small adjustments. Thanks!
    #!/bin/bash
    # /etc/rc.d/db2d
    # Run-level Startup script for the DB2 Databsse
    export DB_USER=db2inst1
    if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
    fi
    case "$1" in
    start)
    echo "" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "Starting DB2 Database: " >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Starting DB2 Database" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "Starting DB2 Database: " >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 db2start" >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 activate db sample" >> /var/log/db2.log
    echo "Done." >> /var/log/db2.log
    echo "" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Start completed." >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    touch /var/lock/db2d
    echo "OK"
    stop)
    echo "Shutting Down DB2 Database:" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Shutting Down DB2 Databases" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    echo "Shutting Down DB2 Database: " >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 deactivate db sample" >> /var/log/db2.log
    su $DB_USER -c "$DB2DIR/bin/db2 db2stop force" >> /var/log/db2.log
    echo "Done." >> /var/log/db2.log
    echo "" >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    date +"! %T %a %D : Shutdown completed." >> /var/log/db2.log
    echo "----------------------------------------------------" >> /var/log/db2.log
    rm -f /var/lock/db2d
    echo "OK"
    reload|restart)
    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> /var/log/db2.log
    echo "DB2 Restart Initiated... " >> /var/log/db2.log
    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> /var/log/db2.log
    $0 stop
    $0 start
    echo "Usage: `basename $0` start|stop|restart|reload"
    exit 1
    esac
    exit 0

  • Copying Files From a Remote Machine through "rcp" command not working.

    Hi All,
    I'm a new comer to this famous forum. I was trying to go through the PDF "Solaris Advanced User's Guide" .So in chapter 9-"Using the network" i came across "Copying Files From a Remote Machine". And the syntax was "rcp machinename:source destination" . And i got another note. It is like
    "The rcp command enables you to copy files from one machine to another. This command uses the remote machine's /etc/hosts.equiv and /etc/passwd files to determine whether you have unchallenged access privileges. The syntax for rcp is similar to the command syntax for cp.".
    But i maintained remote machine's IP address in my system's /etc/hosts file. But still i am unable to do the rcp from remote system to my system or vice versa.
    Always i am getting error message " **Connection refused**".
    Therefore please some one guide me how to perform the " Copying Files From a Remote Machine" through rcp command.
    Reghards
    Kartik

    Hi
    The inconvenience of using scp is that you have to type the password every time you stablish a connection. You can work around this, adding a key into the remote hosts_allow file. This implies in more maintenance.
    From the rcp man page:
    +rcp does not prompt for passwords. It either  uses  Kerberos authentication which is enabled through command-line options or your current local user name must exist on  hostname  and allow remote command execution by rsh(1).+
    From the rsh man page:
    + If you omit command, instead of executing a single command, rsh logs you in on the remote host using rlogin(1).+
    By default, rlogin is disabled on Solaris 10
    [SunOS 5.10/bash] root@wgtsinf01:/store/sun/operating-systems
    # svcs -a|grep -i rlog
    disabled       May_11   svc:/network/login:rloginSo, to use rcp you have to enable the rlogin service and set up all the configuration files. Particularly, as already suggested, I too suggest you to use scp. :)
    Cheers
    -- Andreas
    Edited by: Bank_Of_New_Zealand on 15/06/2009 13:09

  • JMF : Audio can not be played from the remote machine

    Hi,
    I am developing voice chat application.
    As the moment this writing I can capture from mic and play it from the same machine.
    But when I capture and transmit audio from one machine and try to play from remote machine in LAN it does not work.
    Could anybody tell me please What would be the possible causes for this ? I have given the code below.
    //Transmitter
    package lsf.telphony.test;
    import java.io.IOException;
    import java.util.Vector;
    import javax.media.CannotRealizeException;
    import javax.media.CaptureDeviceInfo;
    import javax.media.CaptureDeviceManager;
    import javax.media.DataSink;
    import javax.media.Format;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSinkException;
    import javax.media.NoDataSourceException;
    import javax.media.NoProcessorException;
    import javax.media.NotRealizedError;
    import javax.media.Processor;
    import javax.media.ProcessorModel;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.DataSource;
    public class MediaTransmetter implements Runnable
         private MediaLocator mediaLocator = null;
         private DataSink dataSink = null;
         private Processor mediaProcessor = null;
         public static String errorString;
         private CaptureDeviceInfo captureDeviceInfo = null;
         public MediaTransmetter(String rtpURL)
              DataSource dataSource = null;
              ProcessorModel model = null;
              Format formats[] = null;
              ContentDescriptor contentDescriptor = null;
              try
                   captureDeviceInfo = getCaptureDevice();
                   mediaLocator = captureDeviceInfo.getLocator();
                   dataSource = javax.media.Manager.createDataSource(mediaLocator);
                   contentDescriptor = new ContentDescriptor(ContentDescriptor.RAW_RTP);
                   formats = new Format[] { new AudioFormat (AudioFormat.LINEAR) };
                   model = new ProcessorModel(dataSource, formats, contentDescriptor);
                   mediaProcessor = Manager.createRealizedProcessor(model);               
                   MediaLocator outputLocator = new MediaLocator(rtpURL);
                   dataSink = Manager.createDataSink(mediaProcessor.getDataOutput(), outputLocator);               
              } catch (Exception e)
                   e.printStackTrace();
         @SuppressWarnings("unchecked") //check for this statement
         private CaptureDeviceInfo getCaptureDevice()
              CaptureDeviceInfo captureDeviceInfo;
              Vector<CaptureDeviceInfo> deviceListVector = CaptureDeviceManager.getDeviceList(new AudioFormat(AudioFormat.LINEAR));
              for (int i = 0; i < deviceListVector.size(); i++)
                   captureDeviceInfo = (CaptureDeviceInfo)deviceListVector.elementAt(i);
                   System.out.println("captureDeviceInfo = " + captureDeviceInfo);
                   return captureDeviceInfo; // here the firt element is return. Add to login to get the specific CaptureDeviceInfo object.
              return null;
         @Override
         public void run()
              try
                   dataSink.open();
                   dataSink.start();
              } catch (SecurityException e)
                   e.printStackTrace();
              } catch (IOException e)
                   e.printStackTrace();
              mediaProcessor.start();
              System.out.println("Transmitting started successfully.");
         public static  void main(String[] args) { // Loads pastry settings
              MediaTransmetter mediaTransmetter = new MediaTransmetter("rtp://192.168.2.2/audio");
              Thread mediaTransmetterThread = new Thread(mediaTransmetter);
              mediaTransmetterThread.start();
    }//AudioReceiver
    package lsf.telphony.test;
    import javax.media.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class MediaReceiver extends JFrame implements Runnable
         private static final long serialVersionUID = 1L;
         private static final String FRAME_TITLE = "Telphony Media Player";
         private static final String CONTROL_PANEL_TITLE = "Control Panel";
         private static final int LOC_X = 100;
         private static final int LOC_Y = 100;
         private static final int HEIGHT = 500;
         private static final int WIDTH = 500;
         private Player player = null;
         private JTabbedPane tabPane = null;
         public MediaReceiver()
              super(FRAME_TITLE);
              setLocation(LOC_X, LOC_Y);
              setSize(WIDTH, HEIGHT);
              tabPane = new JTabbedPane();
              getContentPane().add(tabPane);
              addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent e)
                        closeCurrentPlayer();
                        System.exit(0);
         private JPanel createMainPanel()
              JPanel mainPanel = new JPanel();
              GridBagLayout gbl = new GridBagLayout();
              GridBagConstraints gbc = new GridBagConstraints();
              mainPanel.setLayout(gbl);
              boolean visualComponentExists = false;
              if (player.getVisualComponent() != null)
                   visualComponentExists = true;
                   gbc.gridx = 0;
                   gbc.gridy = 0;
                   gbc.weightx = 1;
                   gbc.weighty = 1;
                   gbc.fill = GridBagConstraints.BOTH;
                   mainPanel.add(player.getVisualComponent(), gbc);
              if ((player.getGainControl() != null) && (player.getGainControl().getControlComponent() != null))
                   gbc.gridx = 1;
                   gbc.gridy = 0;
                   gbc.weightx = 0;
                   gbc.weighty = 1;
                   gbc.gridheight = 2;
                   gbc.fill = GridBagConstraints.VERTICAL;
                   mainPanel.add(player.getGainControl().getControlComponent(), gbc);
              if (player.getControlPanelComponent() != null)
                   gbc.gridx = 0;
                   gbc.gridy = 1;
                   gbc.weightx = 1;
                   gbc.gridheight = 1;
                   if (visualComponentExists)
                        gbc.fill = GridBagConstraints.HORIZONTAL;
                        gbc.weighty = 0;
                   } else
                        gbc.fill = GridBagConstraints.BOTH;
                        gbc.weighty = 1;
                   mainPanel.add(player.getControlPanelComponent(), gbc);
              return mainPanel;
         public void setMediaLocator(MediaLocator locator) throws Exception, IOException, NoPlayerException,
                   CannotRealizeException
              setPlayer(Manager.createRealizedPlayer(locator));
         public void setPlayer(Player newPlayer)
              closeCurrentPlayer();
              player = newPlayer;
              tabPane.removeAll();
              if (player == null)
                   return;
              tabPane.add(CONTROL_PANEL_TITLE, createMainPanel());
              Control[] controls = player.getControls();
              for (int i = 0; i < controls.length; i++)
                   if (controls.getControlComponent() != null)
                        tabPane.add(controls[i].getControlComponent());
         private void closeCurrentPlayer()
              if (player != null)
                   player.stop();
                   player.close();
         public static void printUsage()
              System.out.println("Usage: java MediaPlayerFrame mediaLocator");
         public void run()
              try
                   MediaReceiver mpf = new MediaReceiver();
                   mpf.setMediaLocator(new MediaLocator("rtp://192.168.2.2:10000/audio"));
                   mpf.show();
              } catch (Exception t)
                   t.printStackTrace();
         public static void main(String[] args) { // Loads pastry settings
              MediaReceiver mediaReceiver = new MediaReceiver();
              Thread mediaReceiverThread = new Thread(mediaReceiver);
              mediaReceiverThread.start();

    By the way the program does not terminate immediately after starting it. According to your advice I tried removing running it inside in a thread and making it sleep at several points appropriate. No luck.
    I wonder why packets are not sending even the program is running until the end of the line with no exception.
    Have you tried to capture RTP packet traffic with Wireshark or similar kind of network analyzing software with this kind of program?
    I am doubt whether my program is actually transmitting packets but unable to capture those due to the error with transmitter.
    Even with the Wireshark It does not capture outgoing packets.
    And another thing I noticed with netstat is it shows two pots get opened when running the application but those ports are not the one I note in the program.
    For example I run the program with port number as 10000 (sink: setOutputLocator rtp://192.168.2.104:10000/audio). But when I check it with netstat some other ports are open.
    i.e
    nuwan@nuwan-laptop:~/eclipse$ netstat -anup
    (Not all processes could be identified, non-owned process info
    will not be shown, you would have to be root to see it all.)
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    udp 0 0 0.0.0.0:68 0.0.0.0:* -
    udp 0 0 0.0.0.0:40526 0.0.0.0:* -
    udp 0 0 0.0.0.0:5353 0.0.0.0:* -
    udp6       0      0 127.0.1.1:28864         ::: 10772/java*
    udp6       0      0 127.0.1.1:28865         ::: 10772/java*
    nuwan@nuwan-laptop:~/eclipse$
    And each time when I start the program these two ports are changed also.
    And foreign address is not shown ? Any comment for that??
    Is there anything that can be drawn from above information which caused for not working my program.
    This is killing me. And also making me sharper. And I cant leave this behind also. So highly appreciate you time and help.
    Thanks.

  • Not able to access database from a remote machine using SQL Server Management Studio

    Hi,
    I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
    I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
    The SQL Server log shows the message
    The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
    I get the below message in SSMS from remote machine.
    Details of error message are
    ===================================
    Cannot connect to DB_BOX.
    ===================================
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
    Server Name: DB_BOX
    Error Number: 64
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

    Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
    My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
    ALTER ENDPOINT [TSQL Default TCP]
    STATE=STARTED;
    Erland Sommarskog, SQL Server MVP, [email protected]
    This solves the problem. Thanks...

  • Connecting to an XServer as root login

    Is there a way to login to an Xserver from an OSX workstation as root? Is there a setting on the XServer to let root connect to the Xserver from another computer.
    Thanks in advance.

    It should be no problem.
    I can't remember if you first need to enable the root user in NetInfo Manager when running OS X Server. Perhaps you want to check that on the XServe first. (NetInfo Manager -> Security -> Enable Root User)
    Otherwise, you should be able to log in as root from any other machine.

  • Program to open file in remote machine

    Hi,
    i want to write a program in which i can access a file in another system.
    But the catch here is that the other system is using password to login to the system.
    How i can provide password through my Java Program to access to other machine
    ~Aman

    Can you just send me the code how to read file from Shared folder/drive through java program?
    e.g ="\\mcno-pc180\shared\HelloWorld.txt". I am able to access file HelloWorld.txt from my machine which is placed in shared folder path "\\mcno-pc180\shared\".
    Regards
    SPulluri
    Share the folder/drive which you want to access on the remote machine then your application can access it.
    Try to use the user which has already rights of reading/writing to that machine then the security dialog will not appear.

  • Question about BlazeDS on a remote machine

    So, i am running BlazeDS on my windows machine because that is where i have my Java stuff all setup and entrenched.
    However, i develop Flex on my mac because i like how it works, and i have Flash Builder on Mac.
    I want to set up a BlazeDS project, but it's asking for the root installation folder. How can i do this if it is on a remote machine?
    The first answer that comes to mind is to map the Tomcat folder on my mac, but i don't know if that will work right.
    any ideas/suggestions?
    thanks

    bumpity bump....

Maybe you are looking for

  • My macbook pro keeps restarting for no reason.

    My Macbook Pro is about 4 or 5 years old and has recently started randomly restarting. I get the rainbow spinning wheel a lot as well on certain webpages. I've recently had the hard drive replaced after a problem with burning. OS X 10.9.5 Serial no.

  • No sound through hdmi satellite a505-s6960

    I have been having a problem with getting sound through my hdmi port. to a panasonic viera television 42" though it does play on my friends 52" panasonic viera. it has worked on my television before but its not working lately for some reason. any tip

  • How to organize the context object through out the application process

    Hi, Here in my application is using the following steps for a process. - Login - Search - Update - Logout In those above steps, Login, Search, and Update actions are touching to database/LDAP every time. In each time, Im creating new Context object,

  • Pan & scan with slideshow title slide

    I've been trying to use the Ken Burns effect with a title slide in a slideshow - but can't get it to work. Is this possible please - without having to create a video workaround in FCP / iMovie? Thanks Julian

  • Phone Stuck In Recovery Mode

    Like the idiot I am, I decided to upgrade the software of my iPhone to the 4.0 version. I first had to download the most recent version of iTunes...no problem there. When I tried to download the new iPhone software everything froze up. It went throug