LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to disable GNOME on Linux? (https://www.linuxquestions.org/questions/linux-software-2/how-to-disable-gnome-on-linux-217775/)

htm 08-15-2004 03:43 AM

how to disable GNOME on Linux?
 
I am using my Linux as a server, so I decide to stripe off GNOME,
I cannot do it graphically using add/remove appailcations, since
the load is already too heavy; when I did: rpm -e gdm.*.*, I got
a symbolic error, and the remving process hangs?

I am wondering if there is a way on

1. Completely remove gdm package

or

2. Do not invoke GNOME when the system boots? (keep in the
command shell mode)


Thx,
HTM

whansard 08-15-2004 03:51 AM

edit /etc/inittab to change the default runlevel to 3.
go to terminal as root and run
telinit 3

foo_bar_foo 08-15-2004 02:53 PM

or just take out or rename with a begining "_"
the Sxxgdm link in the runlevel folder you are currently using. xx is the start order number
ckeck /etc/inittab for default run level
/etc/rc.d/init.d/rcx.d where x is your run level

masand 08-15-2004 03:13 PM

what disto are u using
someone told me in slackware, init level 2 brings u to terminal at startup
so pl. confirm this

regards
gaurav

whansard 08-15-2004 10:34 PM

in most distros, runlevel 2 is command prompt without networking.

htm 08-16-2004 12:03 AM

Folks,

It works, thx

One more question, how to get my new applcation
invoked every time the system reboots?

Thx a lot,
HTM

masand 08-16-2004 02:31 PM

u can put a script in
/etc/rc.d/init.d
of ur program it will run up each time ur suystem starts up
for a example script lookout for one there
regards
gaurav

htm 08-16-2004 10:07 PM

non root user issues
 
Per your suggestion, I made my own start/stop/restart script for my application,
however, my application requires to be executed in non-root user mode, how can I switch
to my_user_name mode, put su my_user_name in the script, seems does not work;
also my application has an option, shall I put it in $prog or invoke $prog with -option

Thx,
HTM

masand 08-17-2004 09:02 AM

Re: non root user issues
 
Quote:

Originally posted by htm
Per your suggestion, I made my own start/stop/restart script for my application,
however, my application requires to be executed in non-root user mode


Thx,
HTM

what is the problem i f ur applications wants to be xecuted in non root user mode
don't they get xecuted

regards
gaurav

htm 08-17-2004 09:35 PM

my problem
 
the start/stop/restart script is by default executed in root mode, and my application requires
to be executed in a non-root mode? how to do it? BTW how to incorporate an option?

Thx.
HTM

masand 08-18-2004 05:57 AM

hi

i haven't used this in a script but when i run
# su - gaurav

i am at the shell for gaurav

do try the above
regards
gaurav

htm 08-19-2004 05:48 AM

how to automate the su task
 
I mean hwo to automate in a start/stop script?

Thx,
HTM

masand 08-19-2004 10:56 AM

hi
have u tried the coomand above

i think u can execute commands in the script

more on this i will get u in a day or two

regards
gaurav


All times are GMT -5. The time now is 03:22 PM.