LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-30-2006, 03:34 PM   #1
07mackenzie
Member
 
Registered: Aug 2004
Posts: 94

Rep: Reputation: 15
Smile Some easy questions about the X server/logins


Hi, I just have several questions about how x works

First, I would like it so when I start up the computer, the default login is just the console instead of the KDE or GNome login manager. Is this possible?

Secondly, with the startx command, it always starts up in Gnome - how can I change it so when I type in startx, it starts KDE?

And last question: I have the nVidia display drivers installed and I setup dual monitors through its settings. Each time, I press apply and write changes to conf file. But when I restart the PC, it is back to single monitor and I have to go configure it again (which doesnt take long, but its kind of annoying).

It says it saves in the conf file, but apparently it does not. Any ideas?

Thanks
 
Old 11-30-2006, 03:59 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You don't say which distribution that you're using so the following is just general...

You can change your default run level to a text login with the /etc/inittab file. Look for a line with initdefault in it and change it to:
Code:
id:3:initdefault:
You can then run telinit 3 or wait until the next time you re-boot for the change to take effect.

Do you have the xwmconfig command on your system? If so, it's used to change the default window manager.

For your last one, I'm not sure - it sounds like something distribution specific since xorg.conf should be the file with the required settings.
 
Old 11-30-2006, 04:06 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Quote:
Originally Posted by 07mackenzie
Hi, I just have several questions about how x works

First, I would like it so when I start up the computer, the default login is just the console instead of the KDE or GNome login manager. Is this possible?
Yes, but exactly how to configure this depends on your distribution.

Quote:
Originally Posted by 07mackenzie
Secondly, with the startx command, it always starts up in Gnome - how can I change it so when I type in startx, it starts KDE?
startx looks at several files to decide what to do. If you have a file called .xinitrc in your $HOME directory, it will execute anything in there. If it will check a system wide file. The exact location of this may depend on your distro, but it will probably be /etc/X11/xinit/xinitrc. On Ubuntu Edgy, this file actually contains an instruction to run the commands in yet another file: /etc/X11/Xsession. I think you can sometimes change which session type you are going to use by passing an argument to startx, but I suspect this is distro-dependent.

Quote:
Originally Posted by 07mackenzie
And last question: I have the nVidia display drivers installed and I setup dual monitors through its settings. Each time, I press apply and write changes to conf file. But when I restart the PC, it is back to single monitor and I have to go configure it again (which doesnt take long, but its kind of annoying).

It says it saves in the conf file, but apparently it does not. Any ideas?

Thanks
Don't know about multi-monitor stuff or the nvidia config tool, sorry.
 
Old 11-30-2006, 04:15 PM   #4
07mackenzie
Member
 
Registered: Aug 2004
Posts: 94

Original Poster
Rep: Reputation: 15
Thank you both for the replies! Sorry, I thought I had Debian in my profile info, but clearly i dont :P But yeah, using Debian

Thanks again
 
Old 11-30-2006, 04:22 PM   #5
Indiestory
Member
 
Registered: Aug 2006
Location: Aberdeen, Scotland
Distribution: OpenBSD
Posts: 164
Blog Entries: 1

Rep: Reputation: 30
if you're using slackware as you seem to be, you can change the /etc/rc.d/rc.4 file which contains the operations for entering run level 4 ( not too sure but i think this is it) it looks for session managers in order starting with gdm , but you can build any wm on top of that try: searching for login managers ( have a look at slim)
 
  


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
Restricting Interactive Logins to server tealey@sgi.com Linux - Security 3 07-11-2006 08:47 AM
LXer: Systems Solutions Teams with Open-Xchange to Deliver Easy-to-Deploy, Easy-to-Use Collaboration Server LXer Syndicated Linux News 0 02-22-2006 10:46 PM
Limiting logins to server using pam_access Builder Linux - Enterprise 2 12-23-2004 10:42 AM
POP3 and IMAP server logins gavinm Linux - Software 7 12-10-2003 12:06 PM
Logins main server... blither Linux - Networking 0 10-06-2003 08:41 PM

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

All times are GMT -5. The time now is 11:16 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