Forum / NoMachine for Linux / Need help – trying to start nxserver at boot
- This topic has 4 replies, 3 voices, and was last updated 9 years, 2 months ago by Britgirl.
-
AuthorPosts
-
May 11, 2015 at 08:53 #7164robostanParticipant
I want to remotely connect to a Raspberry Pi2 using NoMachine Software. I want to connect to the Pi using a windows PC. I have successfully installed the SW on both machines and can access the Pi from the PC, but in order to do this, I have to start the Pi, startx, then launch the NX software from the GUI. This defeats the purpose in that the reason I want to remote in to the Pi is to remove the need to connect a keyboard and monitor.
I tried a few commands from the terminal (including nxserver –start nxd), but no luck. Can’t seem to find any useful documentation regarding how to launch the server manually or how to get it to start at boot.
There may also be an issue with logging in to the pi remotely, but I know I used NX Client to log into an Ubuntu machine from Windows before, so I was hoping I could make this work. Any help or direction to existing documentation (I did look) would be appreciated.
TIA
May 11, 2015 at 09:59 #7173Trf_517ParticipantHello TIA
to get to the source of the problem we need to ask you if the operating system you are using on your Raspberry is Raspbian?
We can only guess at the moment that the answer is yes, and if so, you can use raspi-config script to allow Raspbian automatically enter GUI at startup. Just enter
sudo raspi-config
at the terminal to call this script. Option 3 wil allow you to set the result of booting up.
NX server should startup automatically with the GUI. Please let us know if that solves your problem.
May 18, 2015 at 12:58 #7228robostanParticipantThanks for the info. Yes, sorry I did not mention, but I am using Raspbian.
Finally had a chance to try it. Did not work until I launched the server app from the gui and changed the ‘allow connections’ settings. Once I did that and rebooted, I can connect now. Thanks!
Now my issue is that the Pi defaults to a very low resolution if no monitor is connected and I cannot change it remotely using the NX Client app or by using the preferences from the Raspbian GUI while remote. There must be a way to make the thing boot up with fixed resolution. I am used to using xorg.conf, but don’t think Rasbian uses that.
Oh and this is Stan. TIA means Thanks in Advance.
May 20, 2015 at 14:07 #7258Trf_517ParticipantHello Stan
Sorry, my bad 🙂
Headless Raspbian is in fact defaulting to some low resolution.
Although the solution may be found in this topic https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=19600
for me it was enough to uncomment
hdmi_force_hotplug=1
in /boot/config.txt file.
Since I use
hdmi_group=2
hdmi_mode=32
with forcing hotplug headless Raspbian started at resolution 1280×960.
Let us know if that works for you 🙂
August 28, 2015 at 09:00 #8053BritgirlKeymasterUpdate for NoMachine users of Raspberry: https://www.nomachine.com/tips-on-how-to-set-up-your-raspberry-pi-for-remote-access-via-nomachine
-
AuthorPosts
This topic was marked as solved, you can't post.