Two users and 1 PC with NoMachine

Forum / NoMachine for Mac / Two users and 1 PC with NoMachine

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #16298
    simonLebedev
    Participant

    I want to allow my friend to use my mac PC by connecting with NoMachine and his account. But at the same time I want to be able to use the PC also, but with my account. This is somehow possible by connecting first with vnc, loggin in with friend’s account, quiting vnc and connecting with NoMachine. This way I can use the pc with my account and at the same time my friend can use it too but with his account. The problem is that it is quite uncomfortable to do these manipulations and it does not always work out. For some reason sometimes NoMachine still connects to my account, not my friends account.

    Btw. using different accounts while connecting with NoMachine does not seem to make any difference. I would expect that connecting with friend’s account would lead me to see his desktop, not mine. And vice versa.

    #16371
    Britgirl
    Keymaster

    Accessing multiple user accounts running on the same host is available on Linux, and not on Mac or Windows. This functionality is called Terminal Services, you provide a virtual desktop for each user and they work separately, even at the same time.

    When you access the physical desktop of NoMachine (which is what you do with the free NoMachine for Linux/Win/Mac), the users will see the same physical desktop. NoMachine can’t currently make any Windows or Mac computer become a Terminal Server.

    #16462
    simonLebedev
    Participant

    The method how to achieve that which I described above worked pretty good actually. But with the new 6th version one thing is broken now. I can see the screen of the second user on client pc, while I can work on the  server pc, but after the update using mouse or keyboard on client’s side affects the server account. I wonder if someone can fix this on one of the next updates?

    #16715
    simonLebedev
    Participant

    Any information? Or at least can someone provide me with an older version of NoMachine for mac? Older than 6.x.x.

    #16722
    Britgirl
    Keymaster

    I can see the screen of the second user on client pc, while I can work on the  server pc, but after the update using mouse or keyboard on client’s side affects the server account.

     

    The problem you have is not clear. Please tell us the specific steps to reproduce the issue you have with keyboard and mouse using version 6 which you didn’t have using the earlier version 5.

    Thanks.

    #16748
    simonLebedev
    Participant

    Britgirl,

    ok. I have a Mac server, and Windows client. Both are running 6.0.62 NoMachine version. I also have screen sharing turned on on mac (Settings>Sharing>Screen sharing). I have two accounts on Mac (let’s say A and B). A is logged in, B is logged out. On Windows I have vnc viewer.

    Next steps forces NoMachine clients to see the B’s screen for some reason:

    I log in with Windows as client with vnc to the Mac server. I appear in a login window, even though my A account is up and running. I login with the B account. (Everything is good with vnc, I can work with both accounts, but I need the speed of NoMachine.) Than I just close VNC without logging out.

    Next I just need to open NoMachine client on Windows machine and connect to the Mac client. I appear on the B desktop as needed but for some reason when I use mouse and keyboard on client side, I see reactions not on the B desktop, but on the A desktop.

    #16752
    Britgirl
    Keymaster

    Now I understand 🙂 So that’s a bug and you can do the following as your workaround:

    Edit the configuration file /Applications/NoMachine.app/Contents/Frameworks/etc/node.cfg to have:

    DisplayServerExtraOptions “-oldeventapi 1”

    I checked it and it works. Apple deprecated the old APIs which were used (in NM version 5 and earlier) and released new ones, which were also available in v5 but were disabled by default. From version 6 we enabled the new API as default. But you can still set the old ones by using the workaround above.

     

    #16771
    simonLebedev
    Participant

    Thank you very much, that helped 🍺

    #16893
    simonLebedev
    Participant

    I have another problem. If I press one of these keys on A desktop(which is server’s desktop):

     

    Command ⌘, Shift ⇧, Option ⌥, Control ⌃, Caps Lock ⇪

    it also affects B desktop(which is client). Other keys like letters, and mouse work as expected.

    #16899
    graywolf
    Participant

    Could you do an example?

    #16902
    simonLebedev
    Participant

    https://www.youtube.com/watch?v=VmTxjAopWJs

    On the video I show two computers (A which is server Mac, and B which is client windows notebook). A and B have separate desktops (achieved as described here). When I trigger Caps Lock on A it also triggers on B.

    #16941
    simonLebedev
    Participant

    Is there any solution, or any clarifications needed?

    #16959
    Britgirl
    Keymaster

    Hi, sorry for delay. We reproduced it and published the Trouble Report here: https://www.nomachine.com/TR12O08313

    Sign up to receive notification of the fix when it has been released 🙂

    #16965
    simonLebedev
    Participant

    Britgirl, Thank you very much

Viewing 14 posts - 1 through 14 (of 14 total)

This topic was marked as solved, you can't post.