I'm trying to init 3 .. but I can't change te runlevel...I was reading about upstart.. But I can't understand.. :-(ubuntu upstartWhy they don't want to use /etc/inittab..it is so easy...Always I have problems because someone change the way of do things in linux...
runlevels 2 -5 are identical in Ubuntu. /etc/init/rc-sysinit.conf is used instead of /etc/inittab for changing the runlevel. But there's no point doing that since the runlevels are identical. The default runlevel is 2, so I tried to find some service I could disable in /etc/rc2.d. I didn't find anything I could work with.
I don't really want to boot into GDM as I sometimes don't need X. Apart from XFCE, I've got i3 WM. I've changed the default runlevel to 3 so that I can startx. How would I change the WM session from CLI?
I have a default runlevel of 5 where the x-server crashes and takes no key strokes from the keyboard. I want to boot into runlevel 3 to edit xorg.conf. This is SuSE 11.3_64 with GRUB.Anybody who knows how to tell GRUB to please comply with this from the GRUB command line (or however else
How do you change the default runlevel in Ubuntu 10.10? I need a solution that I can execute by editing text files; right now I'm accessing the Ubuntu filesystem by mounting it to another OS on a different hard drive.
The long and the short of it is that I'm getting a blank screen at login time. I suspect it's a driver issue (I have an Nvidia card) and it shouldn't be hard to fix... but I need a console. And no, I can't get in via Grub... my main OS is Slackware and Lilo is controlling the bootloader. So I need to be able to change the runlevel, and thus far a Google search has proved unenlightening.
I have learned without a doubt what runlevels are...the questions I have are related to the init scripts and how to create a link to an init script. I see that there was a post where someone was trying to get people to do homework for them...I assure you I want to understand what I am trying to learn. That said, here are my hang ups:
1. The script that contains the default runlevel to my understanding is /etc/rc.d/init.d, though I've also found /etc/inittab on the web as the default. My book isn't too clear on this as it doesn't state it exactly, so which is it for sure?
2. My assignment asks what I'd name a link to an init script that would start a fictitious BIGD daemon early on in the boot process. My answer: /etc/rc.5.bigd.d --I don't think that this is the right answer though because in the book, it states that the /etc/rc.d/rcN.d contains names of scripts whose names begin with K and S. My understading in that this starts and kills each script depending on how it's entered.
my Sabayon desktop won't boot into runlevel 5 anymore:
Code: ERROR: avahi-daemon failed to start Also can't start avahi manually, verbose mode gives no extra information, debug says: (...) Code: * Starting avahi-daemon ... + /usr/sbin/avahi-daemon -D + eend 1 + exit 1 * ERROR: avahi-daemon failed to start (sic)
I suspect this to be related to the hplip drivers I installed before the last reboot, all I did was select the package in sulfur, and as it worked right out of the box, I changed nothing else.
I have downloaded voyage linux 6.5 based on lenny. One of the last things it says is mounting filesystem as read only. then asks me to do login. how to stop this action and eave the file system as Read/Write.
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -
I need to run fsck on my Ubuntu 10.04 machine, but when trying to enter lower runlevel (with init 1), computer freezes with error message "could not write bytes broken pipe". So, how I can fix this and/or check my disk with fsck?
This post is basically an addendum to my other post located at this link: [URL]... The "new" video problem I'm having is that now I can't get the resolution back to the regular 1200x1600. So what I did is download the latest driver and the previous one to try as well. When I tried to install them it said I can't because I had an X server running. I ran an init 3 to change my run level and then did a >runlevel command, which reported "3 3". I'm assuming that confirms I am in fact running at level 3. I then ran the following command:
>sudo sh ./NVIDIA..yada yada yada (driver info) It tried to install it but said I'm STILL running an X server. What am I missing? Also, I did the init 3 command and confirmed it was "3 3" and then tried to run >startx from the command line. It said "fatal server error: Server is already active for display 0. If this server is no longer running, remove /tmp/.X0-lock and start again."
When I execute "init 1" not much is happening! The wireless network drops out, but the GUI is still there. It always worked in previous Fedora releases. What is changed now? Does anyone know how to switch between different runlevels in F14?
i have no problem ( not yet any more ). but i have a question to the development: who had the mangificent idea to change the philosopy of more than 30 year old runlevels ( 0, 1,2,3,4,5,6 ). now when the system is full up who -r and runlevel gives you can anybody imagine how many scripts which are using commands like "who -r", "runlevel" or parse utmp are give up working. i think a couple of thousends. portability is written in unix with capital letters . please send me a message if you plan to change the runlevel to "S" that i can modify my scripts.
I've just installed gNatty 11.04 on my machine the first thing I've done is to update via the terminal:Quote:sudo apt-get update && sudo apt-get upgradeAll seemed fine but when I've gone to restart it gets stuck at this message while booting:Quote:Stopping System V runlevel compatibility've reinstalled but the problem is still occurring,
i was unable to stop X after trying the following: sudo /etc/init.d/kdm stop sudo service kdm stop sudo stop kdm
i had ssh'ed in, so there was no point in trying ctrl-alt-f1.there was no /etc/inittab file, so i poked around, and found out that i could simply create one, and enter the following into it:
id:3:initdefault:
which would start the machine in runlevel three (to avoid starting X).that didn't work, since (k)ubuntu apparently ignores the differences between runlevels 2-5.
so i entered the following into my newly created /etc/inittab:
id:1:initdefault:
and restarted the machine.there was no screen output, and i could not ssh into the machine.i took out the new graphics card, and plugged the monitor into the motherboard's vga outlet.still no graphics on the monitor, and i can't ssh.
(and for extra points, how do i get my nvidia card to work?)
I boot by default into Runlevel 3 on my F12 Server. If I need GUI apps then I run startx.The server I'm using (eeeBox eb1501) has a wired and a wireless LAN interfaces. I run two networks and want to be able to connect to the wirelss one without having to start Gnome or KDE just to get the WLAN to connect.IS this someting to do with the NetworkManager or just the gnome-keyring?The wired interface comes up at boot but the Wireless one won't until I start the GUI.
I've always thought that the idea was very cool, but I get restricted by the way distros think that "httpd" and the like are the only things that should go into a runlevel - I mean Fedora doesn't even let you turn off the GUI!I want to do some lower-level hacking than that, so can someone help me?
I recently installed slackware and while I was in the process of installing video drivers, I noticed something odd. "init 3" (or init anything) doesn't seem to work for me. While working in XFCE, when I do "init 3", nothing happens. But then, when I do "who -r" it says I am in runlevel 3 even though I am still in XFCE.
I normally boot into runlevel 3. KDE is my default DE. I use
Code:
To open KDE. I would like to give the other DE's (full install of Slackware current) a fair try, but I am having trouble starting the other DE's from the command line. They all work from runlevel 4 using the kdm chooser, but that's just a hassle and in all honesty will likely irritate my lazy-bone to the point of not using them on a regular basis.
Booting into runlevel 4 isn't a good option because I am frequently experimenting and booting to the command line makes troubleshooting easier. What do I need to do to be able to start the other DE's in runlevel 3?
I installed Fedora 11 in VirtualBox, and the initial installation went fine. I then did a system update, and the video driver is broken. When I enter GDM, I have a black and blue screen, with the Fedora logo replicated across the screen.
I don't enter the Grub screen when I boot, and I wonder if there's another way to boot into runlevel 3. At one point, I'm prompted to type "I" to enter interactive mode, but doing this repeatedly still boots me into the GUI.
I recently switched my server runlevel to 3 and I don't notice any updating of any kind going on, does the updater run in runlevel 3? If it is possible, how do I do it? Is it a service that I need to start? If so, how?
I'm running a server that boots into runlevel 3. I can ssh into it but I only get a blank screen when I try to connect to the vncserver that's running on it. Is it possible to connect to a vncserver that's running on runlevel 3 or does X have to be running for the vnc to work?