My goal is to launch a C program and only a C program with X.
I can't use the startx as a wrapper trick, so I'm using xinitrc.
When I used xinitrc to start lxterminal, it works flawlessly. So just:
However, replacing lxterminal with my c program causes the connection to the X server to be lost:
Code: Select all
#!/bin/bash
./c.exe #also tried full path
Also, any attempt at launching lxterminal and having it run the command to execute my c program have also failed, with x crashing/failing. I've tried the --command option and the -e option.
Anyone have any idea as to how to do this?