Advanced Search

Search Results (Searched for: )

  • currinh
  • currinh's Avatar
Yesterday 04:23

Trouble with XFCE (trixie) timed logouts

Category: Installing LinuxCNC

Every few years I upgrade something on my stepper controlled knee-mill. I usually get sucked into upgrading linuxcnc at the same time. I just upgraded the stepper motors and put a new controller on. The new controller is using Mesa 5i25 and 7i76 cards with Gecko drivers. I was running linuxcnc 2.9.4 and decided to upgrade to 2.9.8. Rather than upgrade I did a new install with 2.9.8 (Debian trixie).

After install, and working though several problems, I have linuxcnc 2.9.8 working well with a Pncconf configuration. But, I am having great trouble with the computer logging out every 30-60 minutes. A very bad thing for a machine controller. I suspect this is in the XFCE environment but can not find a solution via Internet searching.

I did find, through searching, and have implemented the following changes:

I changed /etc/ligntdm/ligntdm.conf to implement auto login by un-commenting
  autologin-user-[my user name : hugh]
  autologin-user-timeout = 0

In the XFCE settings I disabled Lock Screen [disable "Lock screen when idle"] and disabled Screen Saver.

To prevent logout from /etc/syslogout I put an empty file as "$HOME/.nosyslogout"

In XFCE setting, under Power Management, assured the "Suspend When Inactive for" was set to never.

I did try, I believe, disabling the Display Power Management toggle in the setting menu. This caused a broken system. When a login was done the machine thought awhile then returned to the login screen. I could not figure out how to fix this via the terminal so had to re-install linuxcnc. I re-installed once without re-formatting the /home directory but the login loop was still present. Another re-install with re-formatting all partitions brought me back to zero. I'm trying to not repeat this error.

The computer now starts up without requiring a  login, that's fine. It works for 30-60 minutes and then logs me out. The result of the logout was a new login screen (user: & password). After the above changes, auto login, it automatically logs me back in. But for both of these, any running applications, like linuxcnc, are killed with the logout/login.

What am I missing? Is there a simple fix or should I step back to linuxcnc 2.9.4 and see if it still works?

I am surprised by this problem. I'd think a linuxcnc ISO should be set up for no screen saver and certainly no timed logout. This seems like death to a machine controller where a complicated program could run for a couple of hours. This tends to convince me I've done something wrong with this new clean install.

Thank you for any help you can provide.
  • timo
  • timo
16 Mar 2026 03:25
Replied by timo on topic Inaccurate milling - what could it be?

Inaccurate milling - what could it be?

Category: Basic Configuration

The question is how far are you off dimension?
Are we talking about 0.005 mm? Or mor like 0.2 mm? :-)
On the video it looks like your endmill sticks out "far too" long.
You probably can put it further up into the holder.
Follow suggestions of #344316, finish pass.
  • rodw
  • rodw's Avatar
16 Mar 2026 03:04
Replied by rodw on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Take care with merging Sasha's code. The master linuxcnc-ethercat driver is now Scott Lairds repo github.com/linuxcnc-ethercat as it has a workflow that pushes the driver when built across to etherlabs repo on gitlab so we can get the driver with sudo apt install 
  • rodw
  • rodw's Avatar
16 Mar 2026 02:53

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge

If you open the file with geany which is part of the linuxcnc ISO. the  editor will show line numbers.
  • Marcos DC
  • Marcos DC's Avatar
16 Mar 2026 02:15
Replied by Marcos DC on topic El5101 Config

El5101 Config

Category: EtherCAT

It may be less a case of “no results” and more a case of “the pieces exist, but there does not seem to be a complete worked example showing how to tie them together in LinuxCNC.”

If you already get the Z/C event, then it sounds like the remaining issue is LinuxCNC integration rather than the EL5101 itself.
Using the EL5101 for A/B and a separate optical sensor for Z into an EL1008 sounds like a practical workaround if you are looking for a known working threading setup to base yours on.
  • tommylight
  • tommylight's Avatar
16 Mar 2026 02:03

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

In your hal file, under the addf it has
setp [HMOY] hm2_7i76e.0.stepgen.timer-number 1
setp [HMOT] hm2_7i76e.0.dpll.01.timer-us -100.

Notice the HMOY should be HMOT
-
Editing config files at random never ever ends good.
  • kello711
  • kello711's Avatar
16 Mar 2026 01:28

Probe Basic offset direction not seeming to work

Category: QtPyVCP

I am trying to load up a 1" wood surfacing bit. I wanted to use the tool offset direction in the probing but it doesn't seem to work. I didn't find anything in the documentation to explain how. I added the diameter to the tool table to no avail. Also on the probing menu, what do "User Params" 1 and 2 do?
  • kello711
  • kello711's Avatar
16 Mar 2026 01:22

Probe Basic Errors after successfully probing

Category: QtPyVCP

I'm not sure how to remedy the errors (also attached).

Invalid params in linear command
 Linear move on line 5 would exceed joint 3's positive limit

This occurs after running a surfacing from the conversational tab. I ran the gcode and stopped it to make adjustments to the positions and then run again. The only remedy seemed to re-probe with 3d touch probe and then reload the cutting tool. This seems excessive and not sure how to fix for the future.
  • georgio
  • georgio
16 Mar 2026 01:20

Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu

Category: Installing LinuxCNC

thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge
  • rock861261
  • rock861261
16 Mar 2026 01:08
Replied by rock861261 on topic El5101 Config

El5101 Config

Category: EtherCAT

Can I use the El5101 for the a/b and use an optical sensor for the z with an input to EL1008
  • rock861261
  • rock861261
16 Mar 2026 00:47
Replied by rock861261 on topic El5101 Config

El5101 Config

Category: EtherCAT

I can get a Z activation but cant configure it to linuxcnc

I agree I see a bunch of pieces but no results. So what does everyone use for a spindle encoder for threading?
  • Marcos DC
  • Marcos DC's Avatar
16 Mar 2026 00:42
Replied by Marcos DC on topic El5101 Config

El5101 Config

Category: EtherCAT

Did you check the Beckhoff EL5101 latch documentation?
EN_LATC / LATC_VAL look like the terminal’s native C/index latch mechanism to me, so the EL5101 does seem to provide native index support in hardware.

The real gap looks to be on the LinuxCNC side: mapping that cleanly into the expected index-enable semantics.

From what I have seen in the LinuxCNC forum threads, there are bits and pieces of reference material, but apparently no complete end-to-end example covering EL5101 + LinuxCNC spindle index semantics + threading/orient.
  • tommylight
  • tommylight's Avatar
16 Mar 2026 00:31
Replied by tommylight on topic MESA 7i76eu Firmware

MESA 7i76eu Firmware

Category: Driver Boards

  • tommylight
  • tommylight's Avatar
16 Mar 2026 00:27
Replied by tommylight on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Did you try to lower the jog velocity to something really slow and jog?
Displaying 91 - 105 out of 18154 results.
Time to create page: 0.232 seconds
Powered by Kunena Forum