#53 CFMessagePortCreateLocal failed

open
nobody
General (51)
5
2005-01-03
2005-01-03
Jim Hart
No

Server starts fine from the command line if logged in from the
console. When logged in over ssh, starting from the command
line fails with the message "CFMessagePortCreateLocal failed".
The only entry in the system.log is: "Phaser ConsoleMessage:
Starting VNC Server".

OS X 10.2.8. Dual 867 MHz PowerPC G4, 512 MB RAM.

The command used to start the server is:

sudo /usr/local/bin/OSXvnc-server -rfbport 5900

What appears to be an identical setup on 2 400 MHz B&Ws, both
running 10.2.8, works fine. I can't figure out what the difference
is.

Whether the firewall is on with port 5900 open or is completely
off makes no difference.

Discussion

  • Logged In: YES
    user_id=631278

    That error message would usually be associated with not being either the
    console user or root (on 10.2 or 10.1). I see that your command uses
    sudo, are you sure that the user is sudo enabled?

    Try doing an actual su (to become root) and then launching the server.

     
  • Jim Hart
    Jim Hart
    2005-01-04

    Logged In: YES
    user_id=257500

    I did an su and tried to launch the server. Same error.

     
  • Jim Hart
    Jim Hart
    2005-01-05

    Logged In: YES
    user_id=257500

    No, it isn't headless. It has an Apple 17" Studio Display
    attached to it.

     
  • Logged In: YES
    user_id=631278

    Following up on this item, were you ever able to determine what the
    difference was between those two machines and why one of them had a
    problem running the vnc-server using sudo?

     
  • Logged In: NO

    i have a similar problem. i startup osxvc server from a startupitem. no
    firewall is enabled.

    2005-02-05 11:43:46.383 OSXvnc-server[12141] Waiting for clients
    CFMessagePortCreateLocal failed (name = Processes-0.6815745 error =
    0)
    /library/startupitems/osxvnc/osxvnc-keepalive: line 30: 12141 Abort trap
    "$@"
    134
    /library/startupitems/osxvnc/osxvnc-keepalive: Starting Server
    ...
    2005-02-05 11:44:23.901 OSXvnc-server[12143] Keyboard Loading -
    Disabled
    2005-02-05 11:44:23.903 OSXvnc-server[12143] Press Modifiers For
    Character - Disabled
    2005-02-05 11:44:24.182 OSXvnc-server[12143] Pasteboard Inaccessible
    - Pasteboard sharing disabled
    2005-02-05 11:44:24.186 OSXvnc-server[12143] Started Listener Thread
    on port 5900

     
  • Logged In: NO

    i have a similar problem. i startup osxvc server from a startupitem. no
    firewall is enabled.

    2005-02-05 11:43:46.383 OSXvnc-server[12141] Waiting for clients
    CFMessagePortCreateLocal failed (name = Processes-0.6815745 error =
    0)
    /library/startupitems/osxvnc/osxvnc-keepalive: line 30: 12141 Abort trap
    "$@"
    134
    /library/startupitems/osxvnc/osxvnc-keepalive: Starting Server
    ...
    2005-02-05 11:44:23.901 OSXvnc-server[12143] Keyboard Loading -
    Disabled
    2005-02-05 11:44:23.903 OSXvnc-server[12143] Press Modifiers For
    Character - Disabled
    2005-02-05 11:44:24.182 OSXvnc-server[12143] Pasteboard Inaccessible
    - Pasteboard sharing disabled
    2005-02-05 11:44:24.186 OSXvnc-server[12143] Started Listener Thread
    on port 5900

     
  • Jim Hart
    Jim Hart
    2005-02-05

    Logged In: YES
    user_id=257500

    Other than the hardware, I can't find any difference among
    them, no.