Step 5: Start Xai Sentry Node
Now that you set up a Screen, you can start Xai CLI:
To receive node rewards, boot your operator:
This will prompt you to enter the private key of your sentry wallet. Paste the key and press
Enter
.Wait a few minutes until you see the following message:
Detach from your Screen session before logging out. You can detach from your current Screen session by pressing:
ctrl a + d
(Windows)control a + d
(macOS)
or
where <screen_id>
is the numbers of your Screen session.
Example:
Make sure to Detach before exiting the server. Detached mode allows you to exit your Screen session without closing or interrupting any processes that are happening within that session. That means that everything will keep running in the background even if you log out from your VPS.
You can now safely log out from your server: