LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-09-2005, 07:59 PM   #1
kejia
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
Question Three problems about Debian


I just move from Fedora to Debian, for freedom. The following is my problems.

1. I install kernel 2.6. Why does it take about so long time for my Debian to boot? I have never change any default configuration since I completed the installation.

2. As default, the login interface does not allow user to log in as account root. Where and how should I log in as root? When I log in as other user account, I try the LEFT-ALT + F1---F6, but nothing happens.

3. Debian installation question. I have downloaded the whole two DVD ISO files, and installed the Debian with the command: linux26. But when processing the last step, it began updating security packages from the Debian server, which cost whole one day of mine( the poor local network). Is there any installation parameter I can use to avoid the operation?

Thanks for any reply. Thanks.

Last edited by kejia; 11-09-2005 at 08:11 PM.
 
Old 11-09-2005, 08:47 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
1. Check for services running at startup that you don't need. One such service that Debian seems to install by default is Appletalk services and protocols..
open a shell and su- to root.

apt-get remove netatalk - that alone should trim at least 20 seconds from the boot..


2. You Should never log into a graphical session as root. Log in as a normal user if you need to do anything as root, you can either open a shell and su- or sudo your commands. any graphical cofiguration tools such as synaptic will prompt you for the root password when you run them.


3. from this point forward Debian will notgo out on it's own and download any updates.. if you want security updates or other updates from the Internet you will either need to run synaptic, aptitude, or apt-get so this one shouldn't be an issue...
 
Old 11-09-2005, 08:58 PM   #3
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
I agree with farslayer...

Moreover:

In order to support a wide variety of hardware and other things, which makes 1st installations go better, the out-of-the box debian kernel is bloated somewhat, and there's loads of unneeded modules. Im sure this is the same for any easily installed desktop distribution to some extent.

Your best bet is to get it running and booted, and when you have the time - re-compile the kernel and take out all the uneeded stuff (and you can optimize according to your processor at the same time).

Regarding access via root - it is possible. Once you log in to KDE or whichever GUI, simply open a terminal , become root, and type

/etc/init.d/gdm stop

Then you'll get to a terminal log in - do so, and again become root. As root, from here you can type

startx

Now you'll be in a gui as root. But as advised by our friend farslayer, this is not a good idea.

To resolve security updates, you can put in a cron job that will run

apt-get update
apt-get upgrade

during off-hours. You definitely want the security upates to be frequent. There is also a program called

cron-apt

(i think...)

Have a look.
 
Old 11-09-2005, 10:32 PM   #4
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
there's an option in gdm to allow root logins. change your preferences to allow
 
Old 11-09-2005, 10:33 PM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
in the GUI(where I'm assuming you are logging in, stands for Graphical User Interface) you can typt CTRL-ALT-F{1,2,3,4,5,6}(in other words anything from F1 to F6), and get to a console, where you can login as root.
 
Old 11-10-2005, 04:06 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Sometimes also exim is long to start when the DNS (or resolver mechanism with network down) is not well configured.
dpkg-reconfigure exim4-config
Do it only if it stucks saying exim:.....
 
Old 11-11-2005, 03:12 AM   #7
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Never login from GDM as root. As mentioned above, "su" and "sudo" will get you far, but you might experience problems starting graphical programs as root. To fix this, check out "gksu" and "xsu".
 
  


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
debian problems speel Linux - Newbie 3 10-08-2007 02:56 PM
Debian problems alyks Debian 7 09-20-2004 12:35 PM
A few debian problems kidicarus Debian 3 08-17-2004 07:06 AM
Debian 3.0 woody problems furball Linux - Newbie 5 05-18-2004 12:15 AM
Problems with debian! |b0sh| Linux - Laptop and Netbook 2 09-10-2003 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration