Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-25-2004, 04:27 AM   #1
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
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?
Old 02-25-2004, 01:40 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
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 ;)

Old 02-25-2004, 05:47 PM   #3
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Original Poster
Rep: Reputation: 30
editing .xinitrc works perfectly from runlevel 3, thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help understanding ln dr_zayus69 Linux - General 3 01-14-2005 08:33 PM
A better understanding! nny0000 Slackware 1 04-14-2004 12:01 PM
Understanding X?? nny0000 Linux - General 2 02-25-2004 02:07 AM
understanding dmesg shanenin Linux - Software 2 12-13-2003 03:00 PM
Understanding df -k itsjustme Linux - General 6 10-28-2003 12:08 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration