How to install VNC on LinuxCNC 2.9 with QTplasmac?

More
4 years 5 months ago #242065 by LinfieldGarage
Hello all,
I have a working system running Linuxcnc 2.9 and QTplasmac, and I want to run VNC or one of the variants so I can remote into the machine.

I have gone through the procedures to install VNC, but cannot figure out how to configure the 
Code:
.vnc/xstartup
file to call the right desktop environment.  I can get connected to the VNC server, but a desktop never loads so I must be doing something wrong.

Does anyone have this working who can share some tips?
Thanks,
Jamie

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #242069 by rodw
You might need to log out of your lcnc box before remoting in.

Ages ago, I installed XRDP and used Windows Remote Desktop on both a Pi and 686.

Other than that I can't help

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago - 4 years 5 months ago #242123 by andypugh
Depending on the situation, you might look at using ssh.

I will quite often ssh into my controllers in the workshop from the house.

On my Mac:
ssh -Y username@holbrook.local
connects me to my lathe, for example.

What I very often do is then use the remote command-line to open a halmeter on the local machine to monitor the status of a long job:

halcmd loadusr halmeter -s pin motion.program-line

It is possible to load the LinuxCNC GUI on the local machine. (just open an ssh session and run the command "linuxcnc"). However on my Mac this only works for the GUIs which do not use OpenGL (which basically means "Touchy"). I don't know what works Linux to Linux.

But, if the local and remote(linuxcnc) machines are both running Linux or MacOS it's very easy to try it out, and you shouldn't need to install anythign that isn't there by default.
Last edit: 4 years 5 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #242392 by LinfieldGarage
Hey Andy, that's good advice. I'm comfortable with *nix sysadmin functions, and I do use a Mac laptop for my day job. I'm just puzzled at what's going on with VNC server.

My goal is to see the QTPlasmac interface remotely and experiment with new buttons, and more advanced features like laser crosshairs, air scribe, and other fun nerdy stuff....

I'll post a writeup when I figure out VNC or some other graphical remote control solution.

Thanks again,
Jamie

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #242425 by LinfieldGarage
@rodw, you were right again! Logging out of the local terminal allowed me to remote into my Linux server without trouble.

I decided to use XRDP instead of VNC this time. The install is easier and there are no config files to deal with. Here is the article that I followed: linuxize.com/post/how-to-install-xrdp-on-debian-10/

Cheers!
Jamie
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #242463 by rodw
Good you made progress. The other cool trick I use is to set up Samba to give access to my home folder on linuxcnc.
From my Windows Machine I can run Sheetcam and post process files straight into the nc_file folder in air conditioned comfort.
Then I set up a load latest button in QTP (Which Phill kindly added at my request).
So my workflow now is to run sheetcam, walk to the machine and press load latest and I'm ready to go!

See the docs on how to implement the load latest feature.

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum