Cannot create the Xvfb authority file with just-created cookie

Forum / NoMachine Terminal Server Products / Cannot create the Xvfb authority file with just-created cookie

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5934
    rainkin1993
    Participant

    I follow this tutorial to create virtual desktops:https://www.nomachine.com/AR10K00710

    But I met a problem at step 3:

    root@rainkin:~# xauth -f $AUTHFILE add :0 MIT-MAGIC-COOKIE-1 $COOKIE
    xauth:  file add does not exist
    xauth: (argv):1:  unknown command “:0”

    I google this problem ,the solution is adding hostname to /etc/hosts, I do it ,but it is still not working

    Can you give a help?

    #5940
    Britgirl
    Keymaster

    root@rainkin:~# xauth -f $AUTHFILE add :0 MIT-MAGIC-COOKIE-1 $COOKIE
    xauth:  file add does not exist

     

    This means that $AUTHFILE was not set. I.e it’s empty.

    Are you executing this? AUTHFILE=$HOME/Xvfb-0.auth

    After that step you can do: echo $AUTHFILE to ensure that the variable was correctly set.

     

    If you are using one of the terminal server range (you posted your topic in the section for this range of products) you can simply start a virtual session without having to do any of the above.

     

     

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

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