Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-10-2006, 10:31 AM   #1
Registered: Jul 2006
Distribution: Ubuntu
Posts: 34

Rep: Reputation: 15
How can i start X on startup?

how can i start X at boot up?
thank you
Old 09-10-2006, 10:36 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Edit the /etc/inittab file

Change the line that reads as: id:3:initdefault:
To read as: id:5:initdefault:

save and exit.
Old 09-10-2006, 10:40 AM   #3
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Slackware uses run-level 4:

Old 09-10-2006, 01:41 PM   #4
LQ Newbie
Registered: Jul 2006
Posts: 10

Rep: Reputation: 0
Start X

Or just put

Startx in your rc.local if it fedora and slackware.

Changing your inittab is better though.
Old 09-11-2006, 10:18 AM   #5
Registered: Nov 2005
Posts: 108

Rep: Reputation: 17
Or add
x:5:respawn:/usr/X11R6/bin/xdm -nodaemon
to /etc/inittab (if xdm shall be your login manager. Otherwise change this) This starts xdm in no-deamon-mode in runlevel 5)
Old 09-12-2006, 08:23 AM   #6
Registered: Jul 2006
Distribution: Ubuntu
Posts: 34

Original Poster
Rep: Reputation: 15
Thank you very much


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start nautilus on startup ? renjitg Linux - Newbie 1 02-21-2006 01:40 PM
k(g)dm won't start when dhcpcd happens during startup ricalicious Linux - Software 0 01-28-2005 12:02 AM
why won't rc.bind start on startup? gsgleason Slackware 1 10-24-2004 01:30 PM
start program on startup HTS Programming 2 07-08-2004 01:22 AM
Start nfs on startup hamish Linux - Networking 2 11-10-2003 01:07 PM > Forums > Linux Forums > Linux - Desktop

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

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