Closed WanMMao closed 11 months ago
It seems similar to #263 but with rc.local
. I do not have the exact answer, but you should be able to find in on internet.
I will be happy to know the answer too :)
rc.local
If I don't start in rc.local, the code is normal, and this issue only occurs when I start in rc.local. I am confused
os.environ['DISPLAY']=':0' os.environ['Xauthority']='/home/username/.Xauthority'
use the code
I solved the problem
General information:
info: I will start the Python script in rc. local this code is as follows:
error info is $display not set May I ask what the reason is
Please help me check what the reason is