Results 1 to 2 of 2
Hi guys!
I developed a small C++ application with Qt for GUI.
It is in /Pjt and I can run from command line using ./Pjt.
But whenever I go to ...
- 05-14-2010 #1
Can't run my program from tty?
Hi guys!
I developed a small C++ application with Qt for GUI.
It is in /Pjt and I can run from command line using ./Pjt.
But whenever I go to Ctrl+Alt+F1, it fails to execute saying that
"Could not execute ./Pjt from tty's.(err:CANNOT CONNECT TO X SERVER)"
How to solve this?
Thanks in advance for your inputs.
- 05-14-2010 #2
Ctrl+Alt+F1, is what I call a virtual terminal (/dev/tty1). It doesn't allow the "graphical environment" your application needs. You can't run graphical applications on a virtual terminal, AFAIK.
You may want to use the graphical terminal (or what I call pseudo console
) to run your app.
Sorry if I miss the point
Regards
Luis
PS: Don't really know if the names are correct, but I like to call them something.



