Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been looking around and found some info on how to exit x server but i still keep getting into problems
First my problem
I am trying to install Nivida I have downloaded the file but when I do the sh (filename) it gives me this (you need to exit x server)
ok one person says to vi /etc/inittab and to change the runlevel to 3 and after i install the stuff to change it back to 5
the problem is I can not see any thing there that says runlevel 5
Code:
etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
# What to do in single-user mode.
~~:S:wait:/sbin/sulogin
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
"/etc/inittab" 69 lines, 2008 characters
ok if it is there i do not see it
some one else said to do this
CTRL+ALT+F1 problem is i still get the same err message even when I type
telinit 3
and at times it does nothing and at times it ask for the root pass and then i am in my username code eg
omeg~9#>
and i cant even get directory or the installation done
i try cd /home/myname/desktop/downloads (enter)
and nothing happens
Bascialy what i need is to exit x server to install the program
How do I do it?
The advice given by 'zeeshanhayat' is correct. How your run-level became set to a '2' is interesting.
Once you have installed the nvidia driver and verified that X11 works (per zeeshanhayat's advice), restore the init-level in the /etc/inittab to level 5. In other words, when all is done, ensure that you see:
Code:
# The default runlevel.
id:5:initdefault:
Afterwards, each time you reboot, your system will launch X11, and hence, your window manager (Gnome, KDE, or ?).
ok got it up on runing but came up on another problem
Code:
Error: Unable to find the kernel source tree for the current running kernel. Please make
sure you have installed the kernel source files for your kernel and that they are properly
configured; on RED Hat lunux system, for example be sure you have the "kernel-source or
kernel-devel" RPM installed. if you know the correct kernel source files are
installed you may specify the kernel source path
'--kernel-source-path' command line
ok i thought the kerenel was installed at first (i have no idea what it wants me to do (pluse i am using debian so i cant use rpm files)
what do i need to do to get the kernel
befor it give me this it aske if i want to download the kernel package from neivida website but it does not find it.
Last edited by phoenix_wolf; 01-11-2008 at 02:23 AM.
You already have the kernel installed. What the error message is saying is that you do not have the kernel source installed. You can use apt, aptitude or synaptic to install the kernel source that matches the version of the kernel you are running (you can find this out by doing "uname -r".
The kernel's installed, but that doesn't mean the kernel's source is installed. Google for using apt-get to get the kernel source. I use an RPM distro, so I can't tell you how it's done with apt.
but I can't seem to find the source what do i do next i tried
apt-get install 2.6.18-5-amd64
apt-get install kernel-source-2.6.18-5-amd64
I aslo did the
apt-get install kernel-devel
Reading package lists... Done
Building dependency tree... Done
Package kernel-source is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kernel-source has no installation candidate
Do you have a GUI to access your package manager (Synaptic, Adept, whatever)?
Use that to search for your your distro calls the appropriate kernel-headers.
The command for me (kubuntu) is apt-get install linux-headers-2.6.15-29-386
Edit: you can't just apt-get install kernel-source you need to say which kernel-source and you need the headers! /Edit
ok i did a serch for kernel headers in synaptic it shows
kernel-package 10.067 installed
linux-kernel-headers 2.6.18-7 installed
rt2400-source not installed
rt2500-source not installed
rt2570-source not installed
rt2x00-source not installed
but all of the (not installed are wirless network drivers)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.