LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-25-2004, 04:27 AM   #1
bdp
Member
 
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 02-25-2004, 05:47 PM   #3
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 PM.

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