Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#185 UI Input disabled after user switching in OS X

open
nobody
Interface (96)
5
2006-04-13
2006-04-13
Anonymous
No

Connecting from a Tiger (10.4.6) to a Panther machine
looses UI input (cannot click or type, but can control
the mouse pointer) after fast user switching between
accounts or to the log-in screen

Discussion

  • Logged In: NO

    This appears to be a problem with the VNC Server on Panther.
    The problem occurs regardless of client, and can be
    temporarily fixed by restarting the VNC server deamon from a
    remote terminal session.

     
  • Logged In: NO

    If you restart the VNC server app, you will get control of keyboard again

     
  • Sean Kamath
    Sean Kamath
    2007-09-20

    Logged In: YES
    user_id=955479
    Originator: NO

    I've been experiencing this as well. Are you using the VINE VNC server?

     
  • Logged In: YES
    user_id=631278
    Originator: NO

    I can confirm that this is something happening server side. It's caused by Apple security restrictions in Panther (10.3), which basically does not allow a server started by another user (non-root) to send external events. This problem isn't present in Tiger (10.4) because each user maintains a separate desktop session when doing fast-user-switching.

    So you can restart the server or better still, have each user configure a server (possibly on a different port) set to startup automatically.

     
  • Sean Kamath
    Sean Kamath
    2007-09-22

    Logged In: YES
    user_id=955479
    Originator: NO

    Then colour me befuddled. I start the VINE VNC server at boot, as root. Or I can manually start the VNC server as root.
    I presume you must mean that when the screen is switched, that all events for that new instantiation of the screen will not send external events.

    As for Tiger, yes, this works VERY well (it actually works with 10.3, kinda): I start a VNC session for my own login when I fast user switch, but also start a session for the end-user. Thus, I can administer the machine with my account, or see what my grandmother is trying to do. :-)

    As for restarting the server on 10.3 -- you have to completely kill off the service, otherwise the shell script just restarts the server, which somehow doesn't allow the permissions to do the right thing.