N
N
nrv2017-03-18 08:05:56
linux
nrv, 2017-03-18 08:05:56

How to immediately connect to Nomachine nxserver on linux (banana pi) without manually starting X?

Hello.
I set out to get remote GUI access to bananapi, which will be a home server and stands without a monitor.
There is no x2go server under armv6, there is Nomachine.
I managed to connect as follows: via SSH I go to the command line, I launch X (startxfce4), I launch nxserver, then I can connect through Nomachine. Everything works, everything is fine.
But I would like to remove the stage with manual entry via ssh and launch X. That is, the machine is turned on, no user sessions hang on it, I immediately log in remotely.
There is not enough knowledge, is it possible, the X server, after all, seems to be launched only from under the user?
Is it possible and how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dummyman, 2017-03-24
@dummyman

The problem can be solved in two directions. As you understand, you can run X through the service manager or with a script in /etc/init.d (it depends on the distribution, maybe systemd is present there).
Or you can use this farm on the client https://sourceforge.net/projects/empty/
That is, register X launch via SSH in the GUI launch shortcut

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question