Find the answer to your Linux question:
Results 1 to 2 of 2
I was wondering if there was any way to run a single GUI application from the tty 1 without running the full desktop?!??! Say, like I tried running Celestia (like ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    7

    single X window application from terminal


    I was wondering if there was any way to run a single GUI application from the tty 1 without running the full desktop?!??!

    Say, like I tried running Celestia (like Stellarium, astronomical software/application) from the desktop and I found it taking 100% cpu resources and getting slowed down. On MS Windows after all it works smoothly, even multiple instances of Celestia work on MS without getting stuck. But I want it to run the same way on Linux too.

    It occurred what if it runs solely from the terminal without even logging to the desktop environment.

    Is it possible this way any X window application can run. Only a single GUI application without running the desktop.

    Hope it was clearly put!?!?

  2. #2
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2
    Try:

    /usr/bin/xinit /path/to/program -- /usr/bin/X :0

    Of coz, change the path accordingly, you could also just put them inside a script and pipe the output somewhere else, so you could use the terminal as well.

    Make sure you are in runlevel 3 when you run this.(run init 3)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •