import os
import subprocess
import time

#!/usr/bin/env python3


def start_xvesa():
    subprocess.Popen(['/usr/X11R6/bin/Xvesa', ':0', '-ac', '-shadow', '-screen', '1024x768x24', '-br', '-mouse', '/dev/input/mice'])
    time.sleep(0.1)
    os.environ['DISPLAY'] = ':0'

def start_roxterm():
    subprocess.Popen(['/usr/bin/roxterm'])

if __name__ == "__main__":
    start_xvesa()
    start_roxterm()
