Get rid of username/password?

More
1 year 2 months ago #333196 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. 

Please Log in to join the conversation.

More
1 year 2 months ago #333197 by RotarySMP
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

Please Log in to join the conversation.

More
1 year 2 months ago #333295 by Kieran
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.

Please Log in to join the conversation.

More
1 year 2 months ago #333297 by MaHa
Replied by MaHa on topic Get rid of username/password?
In Debian, XFCE i use this:
Code:
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

Please Log in to join the conversation.

More
1 year 2 months ago #333310 by Kieran
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.

Please Log in to join the conversation.

More
1 year 2 months ago #333311 by Kieran
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 to join the conversation.

More
1 year 2 months ago #333331 by tommylight
On the main menu, there is something like "startup" in the "preferences" submenu, use that for autostarting LinuxCNC.
Desktop entries will not autostart.

Please Log in to join the conversation.

More
1 year 2 months ago #333838 by thomaseg
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 to join the conversation.

More
1 year 2 months ago #333839 by besriworld
I don't know if it's correct but I directly turn off the main power switch and everything goes off.

Please Log in to join the conversation.

More
1 year 2 months ago #333841 by thomaseg

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 to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum