CentOS 5 :: Gdm Won't Autostart Even With Id:5:initdefault: In /etc/inittab
Apr 18, 2011
I have a new CentOS 5.6 installation. It was installed in text mode. I have changed the line id:3:initdefault: in /etc/inittab to id:5:inittab. Even after that change, gdm does not start automatically. gdm is installed, and can be started from the command line. I have put DISPLAYMANAGER="GNOME" and DESKTOP="GNOME" in /etc/sysconfig/desktop.
I would like to get gdm to start automatically.
I observer that rhgb is running after startup:
[root@host ~]# ps axu |grep rhgb
root 3830 0.0 0.0 165676 10816 ? Ss 12:10 0:00 /usr/bin/rhgb
root 3840 0.0 0.0 87976 7996 tty8 Ss+ 12:10 0:07 /usr/bin/Xorg -s off
[Code]....
View 13 Replies
ADVERTISEMENT
Jul 5, 2010
1. I am using CentOS 5.4 and I try to use inittab at the etc/inittab to initiate a program at startup
2. Below is my script and saved as heritrix.sh
#!/bin/bash
export HERITRIX_HOME=/root/heritrix-1.14.3
cd $HERITRIX_HOME
chmod u+x $HERITRIX_HOME/bin/heritrix
$HERITRIX_HOME/bin/heritrix --admin=LOGIN:PASSWORD --port=9090
3. I did the chmod +x for the permission already.
4. I not confirmed whether it is running at startup.
5. the script is no problem as I have check it
View 2 Replies
View Related
May 27, 2009
usually i run the file with
1. open the terminal (log in as root)
2. then just write sh Start-ServiceEngine from the folder it self.
i try to make auto start with this way :
1. create file in /etc/init.d/ name blah
[blah]
#! /bin/sh
sh /root/service-engine/Start-ServiceEngine
exit
[/blah]
2. changing the mod : chmod 755 /etc/init.d/blah but when i restart the centOs it seem run but with error on my program.
View 1 Replies
View Related
Jan 1, 2011
CentOS 5.5, I've installed Synergy to share my keyboard/mouse and it works fine. Now I'm trying to get it to load automatically at boot.
The command is simple, "synergyc <computername>".
I've tried putting the command (see above) into rc.local I've tried putting the command in a script and referencing in in rc.local I've followed the instructions for building it into init levels (2-5) with chkconfig
Quote:chkconfig --list
synergy.sh 0:off 1:off 2:on 3:on 4:on 5:on 6:off
View 19 Replies
View Related
Jan 28, 2010
I am fairly new to linux.We have a machine running CentOS 4.4 and sometimes the machine has to be rebooted. Each time after the reboot, I have to SSH in and manually restart one of our application. I have been reading about doing this online and I am a little confuse.Seems like there are multiple possibilities for starting things up. My finding suggest using the inittab file. Then my question is what runlevel do I pass in? Should I use runlevel 1, 2, 3, or 5? Once the runlevel is determine, then how should I name my startup script? I know to use "S" but what number should I give it? Or, another way to approach this is to put my autostart script in the /etc/rc.local file?
View 4 Replies
View Related
Oct 1, 2009
I am trying to build a fat client on an old pc. I have CentOS 5.3 installed standalone. Basically when the user turns on the pc, it automatically logs into a linux account and the desktop appears. I have installed rdesktop 1.60 to connect to a Win2008 server. From the command line or from a launcher icon I created on the linux desktop everything works fine. What I want to do is for the system to automatically execute rdesktop after the automatic login to linux. So I used the Sessions GUI. (Go to System, then Preferences, then More preference, then Sessions.) Within the Sessions GUI, I clicked on the "Startup Programs" tab and click on the "Add' button.
I type in :
rdesktop -f servername (where -f gives you full screen, and servername is the name of the windows server)
This works a couple of times, then it fails. When you reboot the linux pc, it will auto login, then show the rdesktop screen for a split second, disappears and then it shows the linux gnome desktop.
View 5 Replies
View Related
Feb 8, 2010
I've updated a Fedora Core 3 server to Fedora 11. The old FC3 had an external modem attached for when we felt like dialing in for a ppp connection. I've replicated login.config, mgetty.config and dialin.config from the old server and had to put a RS232-to-USB adapter on the modem. I've test connected to the server and everything look fine.
I'm have a difficult time starting the getty session from inittab.
/etc/inittab:
Code:
id:5:initdefault:
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
[Code]...
View 3 Replies
View Related
Jul 13, 2010
I tried to go to the inittab folder by typing /etc/inittab.
The following is the error message I get
[root@localhost /]# cd /etc/inittab
-bash: cd: /etc/inittab: Not a directory
View 5 Replies
View Related
Jul 17, 2010
I'm using Ubuntu 10.04 and i can't find inittab on my system? Where did it go? Has Ubuntu removed this file? How can i find out about runlevels now?
View 4 Replies
View Related
Mar 25, 2010
The default setting of linux is run level 5 (Red Hat 9) I want to use my system in Runlevel 1. For that purpose i 1st check the permission which were
-rw-r--r--
I want to edit the File " vim /etc/inittab " in the terminal . which line should i edit so I may use it in a single mode.
2-The second thing i want to ask that before editing any important file which are /etc like "inittab" can i 1st make it's copy and keep it in my home directoty so,in case of any mistake I can get my original file?
View 2 Replies
View Related
Feb 9, 2010
I've installed and setup Hylafax in PCLOS 2009.2 I can get it to all work if from a console I su as root and type faxgetty ttyS0 the console is "locked" running faxgetty until I kill it. But while it is running everything works.
in my inittab there was a commented line at bottom #t0:23:respawn:/usr/sbin/faxgetty ttyS0
I have uncommented it, saved it, restarted PC but faxgetty is not running. Is there some logging on inittab that may highlight the problem,
View 3 Replies
View Related
May 22, 2010
i cant access in /etc/inittab in the etc directory. because i don't have any other files like this. then how to i change the #Default run level mode to 4 in ubuntu 9.04.
View 3 Replies
View Related
Apr 27, 2010
I'm using slack13 and have changed entry in inittab from
Code:
id:3:initdefault:
to
Code:
id:4:initdefault:
to login straight to window system. However after that sound is gone. When I go to mixer it says that audio device cannot be used 'might be access problem'. So I've changed entry to what it was and starting X11 by 'startx' and then sound works again.
View 14 Replies
View Related
Mar 22, 2010
How to set the run level now in FC12 Live?
inittab not present at /etc/inittab
# updatedb
# locate inittab
not found
View 2 Replies
View Related
Feb 8, 2010
I've updated a Fedora Core 3 server to Fedora 11. The old FC3 had an external modem attached for when we felt like dialing in for a ppp connection.
I've replicated login.config, mgetty.config and dialin.config from the old server and had to put a RS232-to-USB adapter on the modem.
I've test connected to the server and everything look fine.
I'm have a difficult time starting the Getty session from inittab.code...
View 1 Replies
View Related
Jul 22, 2010
im quite new to Unix stuff Im in need to add a script to be executed, in to /etc/inittab for that i need to get the path to my java installation. I have set the JAVA_HOME env variable already, my question is whether we can use JAVA_HOME in inittab? i mean, are those env variables are crated by the time inittab starts? if so, how can i add the entry
currently im having is like this
pse:5:respawn:su - <username> -c "$JAVA_HOME/other-path/pp.sh run"
is there any issue with the syntax?
View 2 Replies
View Related
Jul 27, 2010
During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..currently running mint 9. there is only one way that somehow i can edit that file from grub command line.
View 4 Replies
View Related
Mar 24, 2010
We have to run our applications under /etc/inittab, we can get coredump with os solaris. After we move our platform to LINUX, we just find our application reset itself for a couple of times without any coredump generate.
View 1 Replies
View Related
Jul 8, 2010
In Fedora 8
File: /etc/inittab contained
S0:2345:respawn:/usr/sbin/faxgetty ttyS0
S1:2345:respawn:/sbin/vgetty ttyS1
In Fedora 13
Created folder: /etc/event.d
Created files: /etc/event.d/ttyS0
[Code]....
Neither faxgetty or vgetty start on reboot or changing runlevel. How do you implement the equivalent of the old inittab function?
View 5 Replies
View Related
May 31, 2011
I'm using Fedora 15. For some reason, my computer is booting up graphically. I do not have video drivers for a graphical setup apparently now that Gnome is getting more advanced, so I really need to restore to a CLI. I see /etc/inittab is now deprecated thanks to systemd. The instructions say the following:
Code:
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
To set a default target, run:
# ln -s /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
And that's exactly what I have set up!
Code:
[root@server system]# pwd
/etc/systemd/system
[root@server system]# ls -la
total 20
lrwxrwxrwx 1 root root 37
May 31 10:41 default.target -> /lib/systemd/system/multi-user.target
Why is this machine starting up graphically? I even removed the symlink and recreated it... but that obviously isn't the issue here.
View 8 Replies
View Related
Oct 7, 2010
I use OSS11.3. Today when is started my laptop i got message on the screen
which was smth like this:
INIT: /etc/inittab[1000]: process field too long
...
INIT: /etc/inittab[1005]: process field too long
Enter runlevel:
and when I enter a runlevel (I have tried 3, and 5) I get
INIT: Entering runlevel: 3 (or 5)
INIT: no more processes left in this runlevel
and system it hangs.
How can I repair my system ?
View 8 Replies
View Related
May 10, 2011
How do I recover from accidentally set the runlevel to 0?
View 5 Replies
View Related
Jun 10, 2011
I was following a lesson with my UNIX Academy training and by mistake made a change to inittab. now it boots into black screen. How can I get into shell to fix inittab
View 2 Replies
View Related
Jul 30, 2009
I was using V9 and upgrade to V10 and now my logins in my inittab do not work. I realize that is file structure is outdated so I made individual run files for each of my serial devices under event.d ( such as TX0000 - rc....etc) - all this works but i need to manual type initctl start TX000o to get logon for my serial devices. I would so much like them to automatically start on bootup.
View 3 Replies
View Related
Mar 3, 2011
When I rebooted my system (RHEL 5.3 x86_64), I got the following error when it was booting up:
Code:
Full screenshot of the bootup error messages here: previous bootup error
So to try and fix this, I booted from the OS disk and did a linux rescue.
Here's some of the results of the commands I did:
Code:
Here's a screenshot of the output from fsck after it's done, notice it says 0 bad blocks but the system was modified:fsck results
I then reboot but now I get the errors:
Code:
Full screenshot of the startup errors I get now here: current bootup error
Does anyone have any ideas on how I can fix this? Was the fsck I did initially the correct thing to do to fix that initial group descriptor error or did I make things worse?
View 1 Replies
View Related
Dec 22, 2010
i am using red hat linux 5.0 when i start my computer it shows me the message ofINIT:No inittab file foundEnter run level:i dont what to enter here if anybody know then
View 7 Replies
View Related
Jun 8, 2011
What would be the best way to autostart mpd when I login? I guess it wont be necessary to run as root so it should only auto start when I login with my details either from cli or xfce?
View 8 Replies
View Related
Nov 22, 2010
I work on a product that have to start automatically an application. Running Opensuse 11.2 So in the inittab I have : 1:2345:once:/root/Velox/VeloxBoot.sh 2:2345:respawn:/sbin/mingetty tty2
In the VeloxBoot.sh, if I don't press any key, my application starts after a timeout. If the user presses a key I want to have a login prompt. Unfortunately, if I start /bin/login, I have a prompt with login, but once I enter my login, it does not ask for a password and it says wrong password
View 2 Replies
View Related
Jul 28, 2010
My Ubuntu is the latest, Ubuntu 10.04 64-bit.
I have 2 hard drives, one holds windows (160gb), another has three partitions, 15gb for ubuntu 10.04, 5gb for swap, and the remaining 480gb formatted as ntfs for files..
The 480gb space is drive D:, my files are located there and i point the apps to get their files from drive D:. For example, "My Music" folder is in drive D:, and so I tell SongBird to grab the music files from that directory.
It's not a big problem, but whenever I restart ubuntu, drive D: does not automatically open so SongBird initially cannot locate the files. What I want to happen is that when ubuntu starts, drive D: is already loaded, so that the applications can grab the files they need from that drive automatically without me having to manually open drive D: everytime ubuntu starts.
View 9 Replies
View Related
Jan 15, 2011
hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.
View 3 Replies
View Related