- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: whts the diff b/w 'startx' and 'init 5'
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2004 03:18 AM
тАО03-04-2004 03:18 AM
what is the difference between "init 5" and "startx". which command(either "init 5" or "startx") should I issue to run X-server so that i can work in GUI environment.
Thanks in anticipation
Regards
Sharf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2004 03:22 AM
тАО03-04-2004 03:22 AM
Solutionhth,
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2004 04:25 AM
тАО03-04-2004 04:25 AM
Re: whts the diff b/w 'startx' and 'init 5'
A unix system is bought up by changing to a specific run-level. /etc/inittab describes thes e run levels and some applications to start up to be "monitored" by "init". Shutting down is really changing to run level 0.
Standard unix system decided run level 3 would be "start everything required to get a multi-user, networked environment". I think it was Red Hat who decided a simple way of getting the X login box up was to say "lets make a run level 5 that starts xdm/gdm/kdm and make that the default"
This start the xdm application which is a log in box which sets up an X environment when you login and runs the system wide Xsession file.
When you dont use the inittab approach to starting xdm, you run "startx". This is a script that starts the X server and does what the X login would do but without the logging in.
You have another option "xinit" which is basically the simplest way of starting. This way is nice because you can pass arguments to your personal .xsession file thus changing which X environment you atrt up in. You can do it with the other ways too but it's more irritating.
My preferred method is not to use /etc/inittab but to put "kdm" in a start up script in /sbin/init.d. This is more unixy.
Apologies for the lengthy reply I just happen to like X :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2004 06:14 PM
тАО03-04-2004 06:14 PM
Re: whts the diff b/w 'startx' and 'init 5'
Thanx Claudio for such a precoius reply.
And U Great Mark, I so thankfull to u for for such explanatory reply
Thanks U great ones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2004 06:40 PM
тАО03-04-2004 06:40 PM
Re: whts the diff b/w 'startx' and 'init 5'
Ciao
Claudio