CFMessagePortCreateLocal failed
Brought to you by:
jonathanosx,
sensetalkdoug
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.
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.
Logged In: YES
user_id=257500
I did an su and tried to launch the server. Same error.
Logged In: YES
user_id=631278
Hmm, is the machine running headless?
If so you might need to an adaptor for the video card to trick it to startup
the video, please see our FAQ:
http://www.redstonesoftware.com/osxvnc/OSXvnc.html#Headless
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
Logged In: YES
user_id=257500
Other than the hardware, I can't find any difference among
them, no.