Linux Console app causing "cannot open display:" error
Posted: Wed Apr 01, 2020 4:54 pm
Hi Fred
My issue is that I want to print documents from Linux daemon. The daemon simply listens on a TCP port for a document request and then prints the document to the default printer. I built a Linux console app in PB 5.71 and the daemon works fine as long as the user is logged into the Linux PC. However, the daemon will not start if you re-boot the PC and then never login.
Can you tell me whether this something PureBasic is causing or whether it is the result of an underlying Linux library used by Purebasic? If it is an underlying library can you tell me which one as I would like to contact the developers to see if the issue can be fixed.
Thanks,
Simon
My issue is that I want to print documents from Linux daemon. The daemon simply listens on a TCP port for a document request and then prints the document to the default printer. I built a Linux console app in PB 5.71 and the daemon works fine as long as the user is logged into the Linux PC. However, the daemon will not start if you re-boot the PC and then never login.
Can you tell me whether this something PureBasic is causing or whether it is the result of an underlying Linux library used by Purebasic? If it is an underlying library can you tell me which one as I would like to contact the developers to see if the issue can be fixed.
Thanks,
Simon