LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-22-2004, 06:42 AM   #1
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Rep: Reputation: 30
How can I log into system without KDM?


Hi,

I want to be able to boot right into my system without having to use KDM/GDM/XDM ....I could use startx at prompt but is there a way to get that to work via a script or file ?

Dave T.
 
Old 06-22-2004, 07:21 AM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
You can define the runlevel you want in the file "/etc/inittab" as root.
Look for "id:3:initdefault:"
3 = text only, you have to type startx for graphic
5 = X is started, directly graphical login

Hth
Fluppi
 
Old 06-22-2004, 07:28 AM   #3
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Thank you for your reply....

Sooo if I want to run KDE for exmanple I could add it to .xinitrc file & it would be started from boot....??

Dave t.
 
Old 06-22-2004, 07:42 AM   #4
jmorse
Member
 
Registered: Mar 2004
Location: United Kingdom
Distribution: LFS
Posts: 74

Rep: Reputation: 15
Yes... or more specifically: 'startkde' is the script that will bring KDE up. Adding it to '~/.xinitrc' will cause it to be run when you run 'startx', once you have logged in.
 
Old 06-22-2004, 08:18 AM   #5
DavidTempler
Member
 
Registered: Apr 2003
Location: United Kingdom
Distribution: Ubuntu 6.06
Posts: 172

Original Poster
Rep: Reputation: 30
Thank you exec startkde it is ....

Dave T.
 
  


Reply


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
Can't log in as root from KDM, how do I get GDM back? Navyblue Linux - Newbie 3 07-28-2005 01:21 AM
New KDM Theme --> cannot log in max2004 Fedora 5 07-03-2005 03:15 PM
Kdm will not let me log out or shutdown J_Szucs Linux - General 3 05-27-2005 11:00 AM
occasional kdm log-out and application closure crashes dizzi Slackware 4 07-15-2004 06:10 AM
kdm (can't log in) islandkid Linux - General 6 03-24-2002 04:53 PM


All times are GMT -5. The time now is 09:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration