Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to set up a linux embedded environment witch should run a specific graphical application and nothing else. I decided to adopt Gentoo for that purpose and now I'm facing with the following problem.
I need to start the system the faster as possible, without any log-in screen and immediatly presenting to the user the graphical application of my interest.
I hope the problem is clear. I CAN'T start X and then Gnome and then tell Gnome to skip the log-in and then tell Gnome to automatically start my application!!! Telling the truth I can't install Gnome at all and I need some "light" solution to the problem ... the lightest.
And now a specific question: is it necessary to start a window manager or I can (in some way) start X and then my application?
Below are several examples of how command line arguments in xinit are used.
xinit
This will start up a server named X and run the user's .xinitrc, if it exists, or else start an xterm.
xinit -- /usr/X11R6/bin/Xqdss :1
This is how one could start a specific type of server on an alternate display.
xinit -geometry =80x65+10+10 -fn 8x13 -j -fg white -bg navy
This will start up a server named X, and will append the given arguments to the default xterm command. It will ignore .xinitrc.
xinit -e widgets -- ./Xsun -l -c
This will use the command ./Xsun -l -c to start the server and will append the arguments -e widgets to the default xterm command.
xinit /usr/ucb/rsh fasthost cpupig -display ws:1 -- :1 -a 2 -t 5
This will start a server named X on display 1 with the arguments -a 2 -t 5. It will then start a remote shell on the machine fasthost in which it will run the command cpupig, telling it to display back on the local workstation.
I don't understand ! You want to run a specific application and nothing else, as you said in your first post. If that is what you want, the before mentioned command can get it running. Why do you need window manager ?
I just tried this myself and firefox launches but, without any borders and title bar etc as the WM is not running. But, if all I wanted was just the firefox running, I wouldn't need a border, status bar...... !
If the only program you can launch is xterm and starting any other program fails, then, you should come back and describe what exactly was the error message. Probably, the error has to do with you configuration. Post the error message here, if you really want to make it work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.