I have made a file .xinitrc in the users home directory. In the file I've put
exec python3 /srv/Game/main.py
But the python script doesn't run when launching x with
startx
What am I doing wrong? I thoght this was how you used .xinitrc
CodePudding user response:
Is this line before or after the windowmanger start? Because the WM will never end.
CodePudding user response:
I solved it, and it was mostly issued with permissions in both the directory for the python file and for .xinitrc. Used chmod -R
to solve it. Thank you for the suggestions.