Code: Select all
(lxterminal:1648): Gtk-WARNING **: cannot open display:Code: Select all
#The main executable, invokes all required scripts.
from sys import executable
from subprocess import *
import operations #Dont worry about this, this is my own library
operations.setupGPIO()
pid = Popen(args=[
"lxterminal", "--command=python /home/pi/Doucments/Python/RoomAccess/input.py"], shell=True).pid
Code: Select all
pid = Popen(args=[
"lxterminal", "--command=startx python /home/pi/Doucments/Python/RoomAccess/input.py"], shell=True).pidI have looked around for fixes but they are all for other Linux distributions, can anyone offer any help, any will be greatly appreciated
Thanks in advance