You are not logged in.
Pages: 1
How should I run GUI apps on commandline(Not terminal) like firefox while desktop enviroment is running?
Offline
If you mean from a different tty, then you just need to specify the DISPLAY variable. You can check in your X session what DISPLAY is set to, but under most common setups it will just be ":0", so:
DISPLAY=:0 firefox"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
How should I change DISPLAY var? tty 7 is Desktop environment and tty1 is X Server's log. I have created a user named windows and when I log in, (on every tty except 1 and 7) qemu start with Windows. but when I log in and script runs( qemu-system-x86_64 ... ) I get this message:
Unable to init server: Could not connect: Connection refused
gtk initialization failed
Offline
Why are you trying to do all that? Just run qemu from within your X session.
Or do you want to start another X session for the vm?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Yes, exactly. Simply change tty and login to a user. Your Windows is ready separate from your Desktop environment and you can kill it by pid as root if you want to exit.
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1