- Posts: 37
- Thank you received: 0
How to install VNC on LinuxCNC 2.9 with QTplasmac?
- LinfieldGarage
- Topic Author
- Offline
- Junior Member
-
Less
More
4 years 5 months ago #242065
by LinfieldGarage
How to install VNC on LinuxCNC 2.9 with QTplasmac? was created 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
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
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
Does anyone have this working who can share some tips?
Thanks,
Jamie
Please Log in to join the conversation.
4 years 5 months ago #242069
by rodw
Replied by rodw on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
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
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 to join the conversation.
4 years 5 months ago #242123
by andypugh
Replied by andypugh on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
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.
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.
Please Log in to join the conversation.
- LinfieldGarage
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
4 years 5 months ago #242392
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
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
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 to join the conversation.
- LinfieldGarage
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
4 years 5 months ago #242425
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
@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
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
Please Log in to join the conversation.
4 years 5 months ago #242463
by rodw
Replied by rodw on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
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.
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 to join the conversation.
- LinfieldGarage
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
4 years 5 months ago #242478
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
That fits my workflow exactly. This machine will replace a smaller plasma running Mach4, so Samba will be very useful. I saw the “load latest” button in your YouTube video. That’s a cool idea.
Please Log in to join the conversation.
4 years 5 months ago #242525
by rodw
Replied by rodw on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
With SAMBA, I can't remember exactly what, but in Windows there was a setting that needed to be enabled to allow Windows to talk to the linux drive. Good luck. I tried for years to do this, Now I've forgotten how...
Please Log in to join the conversation.
- LinfieldGarage
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
4 years 5 months ago #242628
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
Hehe, thanks. I'll let you know how that goes. I got my laser crosshairs and offsets working, next up is the THCAD-5 Ohmic sensing, then some fine tuning before this machine runs well enough to use.
Please Log in to join the conversation.
4 years 5 months ago #242672
by rodw
Replied by rodw on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
You might find this useful. It contains my latest config for THCAD-5 ohmic sensing
I just load the supplied hal file from my in file. It will need editing to suit your config.
You need to select the ohmic-on pin as your ohmic probe pin when congiguring qtplasmac.
to build the component
sudo halcompile --install ohmic3.comp
I just load the supplied hal file from my in file. It will need editing to suit your config.
You need to select the ohmic-on pin as your ohmic probe pin when congiguring qtplasmac.
to build the component
sudo halcompile --install ohmic3.comp
Please Log in to join the conversation.
Time to create page: 0.192 seconds
