Re: how to get to runlevel 3
On Vi, 10 iun 11, 07:57:12, frank thyes wrote: On Fri, 2011-06-10 at 07:42 +0200, Mark Panen wrote: Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. Enter who -r to see your current run level but there is no need for changing it. Try strg + alt + F9 then alt + F1, login and shutdown your X using the Why this detour? Ctrl-Alt-F1 will work just fine ;) Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: how to get to runlevel 3 (to install nvidia drivers)
On Vi, 10 iun 11, 15:09:49, Rohit Vaidya wrote: For NVidia driver installation the Xorg should not be kept running. Why not? Using the Debian packages I never had any issues with that. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: how to get to runlevel 3
On Fri, 2011-06-10 at 22:14 -0400, William Hopkins wrote: On 06/10/11 at 07:42am, Mark Panen wrote: Hi Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. telinit 3 should work for you, what does `who -r` show? Why do you want runlevel 3? Debian typically only uses runlevel 2 for normal operation. Changing to 3 shouldn't have any effect whatsoever. If you want to turn off X, type ctrl-alt-f1 to get to tty1. Then run /etc/init.d/{your-display-manager} stop. Your display manager is probably gdm, but could be xdm, kdm, slim... look for the presence of one of these scripts. X will then be stopped and you can run the nvidia installer. Are you following the recommended method of installing the nvidia driver? Here is the wiki on that in case you don't have it: http://wiki.debian.org/NvidiaGraphicsDrivers Since I was using different distros and sometimes also didn't know how to switch to what runlevel, I decided simply to boot directly into tty1, this for all distros is the same. No shortcuts, no /etc/init.d/question_mark stop. Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1307781948.2378.58.camel@debian
Re: how to get to runlevel 3 (to install nvidia drivers)
On 2011-06-11 10:30 +0200, Andrei POPESCU wrote: On Vi, 10 iun 11, 15:09:49, Rohit Vaidya wrote: For NVidia driver installation the Xorg should not be kept running. Why not? Using the Debian packages I never had any issues with that. The NVidia installer tries to load the kernel module when it's finished, and any previous version has to be unloaded first which is not possible when X is running. There are some commandline options to override that behavior, but by default the installer will abort if X is running. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87fwngrbk3@turtle.gmx.de
Re: how to get to runlevel 3 (to install nvidia drivers)
On Sat, 2011-06-11 at 10:56 +0200, Sven Joachim wrote: On 2011-06-11 10:30 +0200, Andrei POPESCU wrote: On Vi, 10 iun 11, 15:09:49, Rohit Vaidya wrote: For NVidia driver installation the Xorg should not be kept running. Why not? Using the Debian packages I never had any issues with that. The NVidia installer tries to load the kernel module when it's finished, and any previous version has to be unloaded first which is not possible when X is running. There are some commandline options to override that behavior, but by default the installer will abort if X is running. Sven *?* on Ubuntu it was possible to remove an old version and to add a new while running a DE. I suspect this is possible on Debian too? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1307783801.2378.73.camel@debian
Re: how to get to runlevel 3 (to install nvidia drivers)
On Sb, 11 iun 11, 10:56:28, Sven Joachim wrote: On 2011-06-11 10:30 +0200, Andrei POPESCU wrote: On Vi, 10 iun 11, 15:09:49, Rohit Vaidya wrote: For NVidia driver installation the Xorg should not be kept running. Why not? Using the Debian packages I never had any issues with that. The NVidia installer tries to load the kernel module when it's finished, and any previous version has to be unloaded first which is not possible when X is running. There are some commandline options to override that behavior, but by default the installer will abort if X is running. You meant the official nvidia installer? I specifically mentioned using the Debian packages ;) Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: how to get to runlevel 3 (to install nvidia drivers)
On 2011-06-11 11:20 +0200, Andrei POPESCU wrote: On Sb, 11 iun 11, 10:56:28, Sven Joachim wrote: On 2011-06-11 10:30 +0200, Andrei POPESCU wrote: On Vi, 10 iun 11, 15:09:49, Rohit Vaidya wrote: For NVidia driver installation the Xorg should not be kept running. Why not? Using the Debian packages I never had any issues with that. The NVidia installer tries to load the kernel module when it's finished, and any previous version has to be unloaded first which is not possible when X is running. There are some commandline options to override that behavior, but by default the installer will abort if X is running. You meant the official nvidia installer? Yes, sorry if this wasn't clear. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87aadora4s@turtle.gmx.de
Re: how to get to runlevel 3 (to install nvidia drivers)
On 2011-06-11 11:16 +0200, Ralf Mardorf wrote: *?* on Ubuntu it was possible to remove an old version and to add a new while running a DE. I suspect this is possible on Debian too? Using the Debian packages, yes. I was talking about the official installer. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/874o3wra2v@turtle.gmx.de
Re: how to get to runlevel 3 (to install nvidia drivers)
On Sat, 2011-06-11 at 11:28 +0200, Sven Joachim wrote: On 2011-06-11 11:16 +0200, Ralf Mardorf wrote: *?* on Ubuntu it was possible to remove an old version and to add a new while running a DE. I suspect this is possible on Debian too? Using the Debian packages, yes. I was talking about the official installer. Sven Hi Sven, is there a particular reason not to use the package? I know that there could be reasons, but those are very rare. Ralf -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1307787346.2378.103.camel@debian
Re: how to get to runlevel 3 (to install nvidia drivers)
On 2011-06-11 12:15 +0200, Ralf Mardorf wrote: On Sat, 2011-06-11 at 11:28 +0200, Sven Joachim wrote: On 2011-06-11 11:16 +0200, Ralf Mardorf wrote: *?* on Ubuntu it was possible to remove an old version and to add a new while running a DE. I suspect this is possible on Debian too? Using the Debian packages, yes. I was talking about the official installer. Sven Hi Sven, is there a particular reason not to use the package? It might be too old and not support your current GPU, Xserver or kernel. I know that there could be reasons, but those are very rare. If you use stable, you might run into the GPU too new problem. If you use unstable, you might run into the kernel too new problem, or in the X too new problem, especially with the legacy drivers. If you use testing, you might run into any of the above, plus the Debian nvidia packages not available and/or not installable in testing problem. Of course, if you use the installer you are going to have other problems, so that is certainly no panacea. If the Debian packages work, use them and _not_ the installer. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87k4cspqll@turtle.gmx.de
Re: how to get to runlevel 3 (to install nvidia drivers)
On 11/06/11 19:16, Ralf Mardorf wrote: On Sat, 2011-06-11 at 10:56 +0200, Sven Joachim wrote: On 2011-06-11 10:30 +0200, Andrei POPESCU wrote: On Vi, 10 iun 11, 15:09:49, Rohit Vaidya wrote: For NVidia driver installation the Xorg should not be kept running. Why not? Using the Debian packages I never had any issues with that. The NVidia installer tries to load the kernel module when it's finished, and any previous version has to be unloaded first which is not possible when X is running. There are some commandline options to override that behavior, but by default the installer will abort if X is running. Sven *?* on Ubuntu it was possible to remove an old version and to add a new while running a DE. I suspect this is possible on Debian too? I sincerely doubt it. I'm referring to the proprietary nvidia drivers installed using the proprietary installer. With Squeeze or later nouveau will already be loaded so nvidia module will not load. I usually edit grub during boot (append nouveau.modeset=0), boot, console login, download the nvidia driver, su to root, #/etc/init.d/kdm stop (the nvidia installer will not run with x up) locate the kernel version of gcc, export the kernel version of gcc, install the nvidia driver. edit /etc/default/grub to append the nouveau disabling line run update-grub to make change permanent #/etc/init.d/kdm start;exit done! That's pretty much the way the debian wiki said to do it. It may have changed recently. Best check before following my instructions. I hear good things about nouveau - unfortunately my video cards are Gforce2s, best supported with the proprietary driver. I spent ten minutes trying to remove extraneous words from this post Ralf. :-) Cheers -- Tuttle? His name's Buttle. There must be some mistake. Mistake? [Chuckles] We don't make mistakes. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4df38ab2.9000...@gmail.com
Re: how to get to runlevel 3
On Fri, 2011-06-10 at 07:42 +0200, Mark Panen wrote: Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. Enter who -r to see your current run level but there is no need for changing it. Try strg + alt + F9 then alt + F1, login and shutdown your X using the init script (/etc/init.d/gdm stop for gnome, kdm for kde or xdm) frank -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1307685432.18209.37.ca...@nero.internal.friendscout24.de
Re: how to get to runlevel 3
On Fri, Jun 10, 2011 at 07:42:25AM +0200, Mark Panen wrote: Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 Then you are in runlevel 3. If your true objective is to get to runlevel 3, you have succeeded! but X is still on and i cannot install a Nvidia driver. Unlike Red Hat-derived distributions, Debian leaves it up to the individual sysadmin to define the significance (if any) of runlevels 2-5. By default, they are all identical. If X is starting by default, then you must have installed an X display manager. Unfortunately, it's been so long since I last did a default Debian install that I have no idea which one might have been automatically installed (I'm assuming you didn't explicitly install one, since you don't want what it does to happen), but you should be able to find the running display manager with ps ax | grep dm Look for a process named something like xdm, wdm, gdm, kdm, etc. Assuming you found xdm, you can then shut it down with /etc/init.d/xdm stop If, on the other hand, you just need to get to a real console and don't need to shut X down completely, a simple ctrl-alt-F1 will do that. (Although, if your purpose is to install nVidia drivers, you probably will need to shut X down.) -- Dave Sherohman -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110610065722.gx25...@sherohman.org
Re: how to get to runlevel 3
On Fri, Jun 10, 2011 at 8:57 AM, Dave Sherohman d...@sherohman.org wrote: On Fri, Jun 10, 2011 at 07:42:25AM +0200, Mark Panen wrote: Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 Then you are in runlevel 3. If your true objective is to get to runlevel 3, you have succeeded! but X is still on and i cannot install a Nvidia driver. Unlike Red Hat-derived distributions, Debian leaves it up to the individual sysadmin to define the significance (if any) of runlevels 2-5. By default, they are all identical. If X is starting by default, then you must have installed an X display manager. Unfortunately, it's been so long since I last did a default Debian install that I have no idea which one might have been automatically installed (I'm assuming you didn't explicitly install one, since you don't want what it does to happen), but you should be able to find the running display manager with ps ax | grep dm Look for a process named something like xdm, wdm, gdm, kdm, etc. Assuming you found xdm, you can then shut it down with /etc/init.d/xdm stop If, on the other hand, you just need to get to a real console and don't need to shut X down completely, a simple ctrl-alt-F1 will do that. (Although, if your purpose is to install nVidia drivers, you probably will need to shut X down.) -- Dave Sherohman -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110610065722.gx25...@sherohman.org yes, as Frank said /etc/init.d/kdm stop works, one thing i don't understand about runlevels though is, when i reboot, i still get X which i want but, who -r run-level 2 2011-06-10 09:01 last=S why is X running at runlevel 2 and not 5? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTi=-qiqcqfgauctq-urh_l7pyh6...@mail.gmail.com
Re: how to get to runlevel 3
On Fri, Jun 10, 2011 at 09:37:15AM +0200, Mark Panen wrote: yes, as Frank said /etc/init.d/kdm stop works, one thing i don't understand about runlevels though is, when i reboot, i still get X which i want but, who -r run-level 2 2011-06-10 09:01 last=S why is X running at runlevel 2 and not 5? Your who -r output says the last runlevel was S (the capital letter), not 5 (the numeral). Per man 8 init: Runlevel S is not really meant to be used directly, but more for the scripts that are executed when entering runlevel 1. For more information on this, see the manpages for shutdown(8) and inittab(5). When the system is in runlevel S, it hasn't fully booted. X just hasn't been started yet at that point. -- Dave Sherohman -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110610075016.gz25...@sherohman.org
Re: how to get to runlevel 3
Mark Panen: why is X running at runlevel 2 and not 5? As Dave said: in Debian, there's no difference between runlevels 2-5. J. -- Thy lyrics in pop songs seem to describe my life uncannily accurately. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: how to get to runlevel 3
On Thursday 09 June 2011 09:42:25 pm Mark Panen wrote: Hi Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. Cheers Mark /etc/inittab on Squeeze. # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is -- Peace, Greg -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201106092201.16611.gomadtr...@gci.net
Re: how to get to runlevel 3
On 06/10/2011 11:37 AM, Mark Panen wrote: why is X running at runlevel 2 and not 5? sysv-rc-conf is a handy tool to check/set which service is run per run level. as you can notice, runlevels 2-5 are identical (in Debian) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4df1de62.7050...@magticom.ge
Re: how to get to runlevel 3 (to install nvidia drivers)
On 10/06/11 15:42, Mark Panen wrote: Hi Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. Cheers Mark I suspect you don't want to get to run level 3, you just want to shut down your x server. Ctrl+Alt+Backspace - if that doesn't work, or it keeps restarting... # /etc/init.d/kdm stop (or gdm if gnome, or whatever you dm is) There is a very useful section on the Debian wiki for what you're doing. You'll need it for the nouveau stuff ;-) Cheers -- Tuttle? His name's Buttle. There must be some mistake. Mistake? [Chuckles] We don't make mistakes. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4df1df1c.9050...@gmail.com
Re: how to get to runlevel 3
On Fri, Jun 10, 2011 at 11:05 AM, George Chelidze gcheli...@magticom.ge wrote: On 06/10/2011 11:37 AM, Mark Panen wrote: why is X running at runlevel 2 and not 5? sysv-rc-conf is a handy tool to check/set which service is run per run level. as you can notice, runlevels 2-5 are identical (in Debian) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4df1de62.7050...@magticom.ge Thanks guys, that clears it up for me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTi=voo059mrjv+nhvuvbmuoey3_...@mail.gmail.com
Re: how to get to runlevel 3 (to install nvidia drivers)
On Fri, Jun 10, 2011 at 2:38 PM, Scott Ferguson prettyfly.producti...@gmail.com wrote: On 10/06/11 15:42, Mark Panen wrote: Hi Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. Cheers Mark Go to Virtual Terminal press Ctrl+Alt+F1 Get to super user mode. enter #init 3 For NVidia driver installation the Xorg should not be kept running. Hence you will need to shut it down. enter #kill -9 `pgrep Xorg` This will kill the Xorg. It may re spawn. In such a case again run the same command by switching to the virtual Terminal (Ctrl+Alt+F1) Now the Xorg is killed. You can run the NVidia driver installation now. Cheers :) -- Regards, Rohit Vaidya
Re: how to get to runlevel 3 (to install nvidia drivers)
I suspect you don't want to get to run level 3, you just want to shut down your x server. Ctrl+Alt+Backspace - if that doesn't work, or it keeps restarting... # /etc/init.d/kdm stop (or gdm if gnome, or whatever you dm is) I'd definitely say that using gdm or kdm is a better option - otherwise you're bound to get the X server respawning. David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktikya02fts0dohh5b2mysg-zppr...@mail.gmail.com
Re: how to get to runlevel 3 (to install nvidia drivers)
On 10/06/11 20:01, David Sanders wrote: I suspect you don't want to get to run level 3, you just want to shut down your x server. Ctrl+Alt+Backspace - if that doesn't work, or it keeps restarting... # /etc/init.d/kdm stop (or gdm if gnome, or whatever you dm is) I'd definitely say that using gdm or kdm is a better option - otherwise you're bound to get the X server respawning. David I'm paraphrasing the instructions from the Debian Wiki - which is always the safest option. :-) I run Nvidia proprietary drivers on the legacy Nvidia cards - so I've tried most methods of installing them. Cheers -- Tuttle? His name's Buttle. There must be some mistake. Mistake? [Chuckles] We don't make mistakes. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4df1ef18.7080...@gmail.com
Re: how to get to runlevel 3 (to install nvidia drivers)
On Fri, 10 Jun 2011 11:01:34 +0100, David Sanders wrote: I suspect you don't want to get to run level 3, you just want to shut down your x server. Ctrl+Alt+Backspace - if that doesn't work, or it keeps restarting... # /etc/init.d/kdm stop (or gdm if gnome, or whatever you dm is) I'd definitely say that using gdm or kdm is a better option - otherwise you're bound to get the X server respawning. And also reading the nvidia README file for additional tips and/or requirements: http://us.download.nvidia.com/XFree86/Linux-x86/270.41.19/README/installdriver.html#BeforeYouBegin89f39 Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.10.11.33...@gmail.com
Re: how to get to runlevel 3
On 06/10/11 at 07:42am, Mark Panen wrote: Hi Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. telinit 3 should work for you, what does `who -r` show? Why do you want runlevel 3? Debian typically only uses runlevel 2 for normal operation. Changing to 3 shouldn't have any effect whatsoever. If you want to turn off X, type ctrl-alt-f1 to get to tty1. Then run /etc/init.d/{your-display-manager} stop. Your display manager is probably gdm, but could be xdm, kdm, slim... look for the presence of one of these scripts. X will then be stopped and you can run the nvidia installer. Are you following the recommended method of installing the nvidia driver? Here is the wiki on that in case you don't have it: http://wiki.debian.org/NvidiaGraphicsDrivers -- Liam signature.asc Description: Digital signature
Re: how to get to runlevel 3
On 06/10/11 at 10:14pm, William Hopkins wrote: On 06/10/11 at 07:42am, Mark Panen wrote: Hi Been googling for this with no success. I have tried init 3 and teinit 3 and the runlevel command shows i am at runlevel 3 but X is still on and i cannot install a Nvidia driver. telinit 3 should work for you, what does `who -r` show? Why do you want runlevel 3? Debian typically only uses runlevel 2 for normal operation. Changing to 3 shouldn't have any effect whatsoever. If you want to turn off X, type ctrl-alt-f1 to get to tty1. Then run /etc/init.d/{your-display-manager} stop. Your display manager is probably gdm, but could be xdm, kdm, slim... look for the presence of one of these scripts. X will then be stopped and you can run the nvidia installer. Are you following the recommended method of installing the nvidia driver? Here is the wiki on that in case you don't have it: http://wiki.debian.org/NvidiaGraphicsDrivers This is what I get for replying *before* syncing mail to check for previous responses.. -- Liam signature.asc Description: Digital signature