With #131 a autostart of irserver was implemented, so irserver is started everytime a irTrans command is sent and there is no connection to irserver.
While on Windows this autostart can be done in background, on Linux unfortunately it is necessary to run irserver with root priviledges and therefore there has to be some kind of password prompt. Currently irserver is started by https://github.com/asterics/AsTeRICS-Ergo/blob/master/custom/bin/ARE/tools/start_irserver.sh skript in a terminal, where the password has to be inserted. This could be prettier solved with e.g. gksudo or kdesudo.
see https://github.com/asterics/P4AllBuildingBlocks/blob/master/CameraInput/XFacetrackerLK/package/linux/postinst.sudo#L66 how this could be solved in a script.
The best thing would be to patch irserver in order to not need admin priviledges - but this is not an easy task: https://github.com/asterics/IRTrans-Server
With #131 a autostart of
irserverwas implemented, soirserveris started everytime a irTrans command is sent and there is no connection toirserver.While on Windows this autostart can be done in background, on Linux unfortunately it is necessary to run
irserverwithrootpriviledges and therefore there has to be some kind of password prompt. Currentlyirserveris started by https://github.com/asterics/AsTeRICS-Ergo/blob/master/custom/bin/ARE/tools/start_irserver.sh skript in a terminal, where the password has to be inserted. This could be prettier solved with e.g.gksudoorkdesudo.see https://github.com/asterics/P4AllBuildingBlocks/blob/master/CameraInput/XFacetrackerLK/package/linux/postinst.sudo#L66 how this could be solved in a script.
The best thing would be to patch
irserverin order to not need admin priviledges - but this is not an easy task: https://github.com/asterics/IRTrans-Server