LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Understanding X?? ++ (https://www.linuxquestions.org/questions/linux-general-1/understanding-x-150262/)

bdp 02-25-2004 04:27 AM

Understanding X?? ++
 
i've heard a loose account of somebody running a single X program from the command line without doing a startx first. essentially it sounded like running a window manager or ? (i don't know a lot of details about X) isn't necessary, X will just show one GUI prog in full-screen type mode.

anybody know how to achieve this type of GUI behavior?

Tinkster 02-25-2004 01:40 PM

You're still running X in that scenario, you just don't have
a window-manager ...

The "trick" is to have e.g. a ~/.xinitrc with e.g.
exec emacs
as it's last (and olny line with an exec) line.
That will bring up X with only one program (emacs)
running ...

If you're using a graphical login-manager, make an
analogous .xsession file ...

Alternatively, you can mess around with xinit,
but I don't know a "proper call" off the top of my
head, have a read ;)


Cheers,
Tink

bdp 02-25-2004 05:47 PM

editing .xinitrc works perfectly from runlevel 3, thanks.


All times are GMT -5. The time now is 10:40 AM.