Get rid of username/password?

More
11 Aug 2025 04:51 #333196 by Kieran
Get rid of username/password? was created by Kieran
Is there a simple way to not need to log into my cnc machine? Actually,  is it possible to have linuxcnc fire up automatically too? I want to flip the breaker on my machine and then hit a power on contactor for the servos and be ready to machine. No time to be typing in passwords to drill a hole.   lol

Now that my machine is mostly configured and ive got all the software in it, its not gonna be going online ever again. 
The following user(s) said Thank You: RotarySMP

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

More
11 Aug 2025 06:40 - 11 Aug 2025 06:42 #333197 by RotarySMP
Replied by RotarySMP on topic Get rid of username/password?
I did this on my mill and lathe.

forums.linuxmint.com/viewtopic.php?t=329194

I also have the Mill autostarting LinuxCNC. Good reminder that I need to do this on the lathe.
faq.urveboard.com/books/operating-system.../debian-11-autostart
Last edit: 11 Aug 2025 06:42 by RotarySMP.
The following user(s) said Thank You: Kieran

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

More
12 Aug 2025 20:53 - 12 Aug 2025 20:54 #333295 by Kieran
Replied by Kieran on topic Get rid of username/password?
Hmm I'm not seeing any options in Debian to auto login. I did some googling here and there over the last few weeks and havnt found a good way yet. My 10+ year old Ubuntu linuxcnc machine seemed a lot simpler to get going. Debian seems annoying so far.
Last edit: 12 Aug 2025 20:54 by Kieran.

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

More
12 Aug 2025 21:08 #333297 by MaHa
Replied by MaHa on topic Get rid of username/password?
In Debian, XFCE i use this:
For auto login to Debian open a terminal:

sudo nano /etc/lightdm/lightdm.conf

Uncomment the following and add your user name, be sure to scroll far enough down to get past the comments sections.:

autologin-user=yourusername
autologin-user-timeout=0
The following user(s) said Thank You: tommylight, Kieran

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

More
13 Aug 2025 03:59 - 13 Aug 2025 04:00 #333310 by Kieran
Replied by Kieran on topic Get rid of username/password?
Thank you MaHa! That did the trick. I messed with the lightdm.conf last night but I didn't know what i was doing, got scared, and changed it back to how it was. :D

RotorySMP, im gonna try the auto-launch next.
Last edit: 13 Aug 2025 04:00 by Kieran.

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

More
13 Aug 2025 04:13 #333311 by Kieran
Replied by Kieran on topic Get rid of username/password?
ok I made a file called cnc.desktop in ect/xdg/autostart.

[Desktop Entry]
Type=Application
Exec=/home/cnc/Desktop/Ecat5.desktop
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enable=true
Name=CNCMILL
Comments=Start Linuxcnc Ecat5 mill.

It doest seem to work on a restart. Do i have to point it to home/linuxcnc/configs or something? how do i tell linuxcnc which config to launch?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Aug 2025 12:45 #333331 by tommylight
Replied by tommylight on topic Get rid of username/password?
On the main menu, there is something like "startup" in the "preferences" submenu, use that for autostarting LinuxCNC.
Desktop entries will not autostart.
The following user(s) said Thank You: besriworld

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

More
24 Aug 2025 08:39 #333838 by thomaseg
Replied by thomaseg on topic Get rid of username/password?
I've been wanting this to, so thanks for the input!....but.... how do you guys handle the shutting down process? Currently i'm quiting LinuxCNC with ctrl+q, going to Application-->Logoff in Debian and clicks Shutdown....waits untill the screen turns off and then flicking the main-switch on the machine.... is there a better way?

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

More
24 Aug 2025 08:54 #333839 by besriworld
Replied by besriworld on topic Get rid of username/password?
I don't know if it's correct but I directly turn off the main power switch and everything goes off.

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

More
24 Aug 2025 09:02 #333841 by thomaseg
Replied by thomaseg on topic Get rid of username/password?

I don't know if it's correct but I directly turn off the main power switch and everything goes off.

hehe! That is one way to do it! But I don't think Linux likes getting the power cut like that? Or is that assumption wrong?

/Thomas

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

Time to create page: 0.481 seconds
Powered by Kunena Forum