Controlling Native Klipper Printers
Hi, I am looking at picking up some of the newer printers that run klipper natively, such as the Creality K1 or K1 max. Is this a problem for repetier-server to control a printer that has klipper natively installed? I already am using it to control a few Vorons but the version of klipper on those is the integrated into repetier-server. The newer klipper printers have klipper already running on them and repetier-server would be running on a separate computer.
Comments
A connection to mainsail which is most likely running on the creality if it uses klipper is currently not possible.
sudo systemctl daemon-reload
it should run as that use on next restart.
@vanfidel did this ever go anywhere? Any luck with the k1's?
1. Permission to write to pipe/sockets from klipper due to klipper running as a different user. You could modify the systemd starter to use pi as user instead of repetierserver but be aware that every update will recreate old user so you must fix it again then.
2. API socket has not serial path + .api as filename
Moonraker support is planned and would fix the problem as well when finished.
Description=Repetier-Server 3D Printer Server
After=network.target
[Service]
Type=forking
PermissionsStartOnly=true
LimitNICE=-20
Nice=-20
User=mks
KillMode=process
TimeoutStopSec=30
User=repetierserver
Environment="LC_ALL=C"
ExecStartPre=/bin/mkdir -p /var/lib/Repetier-Server
ExecStartPre=/bin/chown -R mks /var/lib/Repetier-Server
ExecStart=/usr/local/Repetier-Server/bin/RepetierServer -c /usr/local/Repetier-Server/etc/RepetierServer.xml --daemon
Restart=on-failure
RestartSec=0
TasksMax=infinity
[Install]
WantedBy=multi-user.target
User=repetierserver
in systemd file just add one with mks so not sure which is used.
socket user is the one running klipper when it creates the file. Our versions get started with repetierserver as user but as I understand you are using native klipper on that device.
Run
ps aux
and see if any process is using repetierserver as user to find if all have same user.