Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old August 25th, 2008, 03:54 PM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default linux commands

Hello,
im trying out fedora 9 with Gnome in a virtual machine.
at this link
it tells you how to restart gnome desktop manager
its ment to be located at
/etc/init.d/gdm restart
i typed in less /etc/init.d/ and looked for gdm restart and couldnt find it
then i found this
it says its in the sbin directory so i used
less /sbin and tryed to find the gdm restart and couldnt find it there eiether.
so where is it located and what is the exact command in a terminal to restart gdm?
i tryed tpying gdm restart direct at the root prompt and got an error
warning failed to acquire ore.gnome.display manager
could not acquire name ;bailing out
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos
  #2  
Old August 25th, 2008, 04:24 PM
Pedro's Avatar
Pedro Pedro is offline
Massive Poster
 
Join Date: Nov 2006
Posts: 3,492
Default Re: linux commands

What you're trying to find is '/etc/init.d/gdm'. 'restart' is the command.
So by typing '/etc/init.d/gdm restart' you're saying "hey gdm, restart"

Last edited by Pedro : August 25th, 2008 at 11:05 PM.
  #3  
Old August 25th, 2008, 05:38 PM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default Re: linux commands

Quote:
Originally Posted by Pedro
What you're trying to find is '/etc/init.d/gdm'. 'restart' is the command.
So by typing '/etc/init.d/gdm' restart you're saying "hey gdm, restart"
LOL i see
cant find gdm
ok ive found gdm by using the shutdown now command and using the search in the GUI
its in /etc/pam.d/gdm
ive logged in as root and i get permission denied

btw by logging in as root i mean the following
login as user press ctrl alt F1 to go to text mode and logged in as root
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos

Last edited by lodore : August 25th, 2008 at 06:02 PM.
  #4  
Old August 25th, 2008, 11:16 PM
Pedro's Avatar
Pedro Pedro is offline
Massive Poster
 
Join Date: Nov 2006
Posts: 3,492
Default Re: linux commands

I corrected the ' just to make sure it's right.
I don't know why you get permission denied. I "always" used ctrl-alt-backspace.

Try to google the exact error message. Someone somewhere answered that one. If you find it let me know, or tell me the message

Edit: are you sure it's not /etc/init.d/gdm ? Try

ls /etc/init.d | grep gdm

Does it say gdm?

Last edited by Pedro : August 25th, 2008 at 11:28 PM.
  #5  
Old August 25th, 2008, 11:40 PM
GlobalForce's Avatar
GlobalForce GlobalForce is offline
Regular Poster
 
Join Date: Jun 2004
Location: Garden State, USA
Posts: 3,581
Default Re: linux commands

*Don't mind me Pedro. This work Lodore - su -c '/usr/sbin/gdm-restart'

S
__________________
"No matter what, no matter where ~ it's always home when love is there!"
  #6  
Old August 26th, 2008, 03:12 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,432
Default Re: linux commands

Hello,

Ctrl + Alt + Backspace

Try also /etc/init.d/xdm restart

You can also drop to runlevel 3 with init 3 then go back to GUI with init 5 ...

Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #7  
Old August 26th, 2008, 04:45 AM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default Re: linux commands

Hello,
the commands dont come up with an error but dont seem to do the task its ment to.
just goes to a blank prompt. and then no other commands work.
maybe a problem with the virtual machine thou, virtual box causes some strange problems.

if i ever accidently press ctrl alt F1 and dont want to lose any data or programs running how do i go back to rthe gui without losing it?
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos
  #8  
Old August 26th, 2008, 04:49 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,432
Default Re: linux commands

Hello,

GUI is Ctrl Alt F7.

BTW, when you stop the desktop manager, it may not automatically move to tty, so the blank screen belongs to tty7. Try manually changing between the consoles until you get to the command line.

Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #9  
Old August 26th, 2008, 05:21 AM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default Re: linux commands

Quote:
Originally Posted by Mrkvonic
Hello,

GUI is Ctrl Alt F7.

BTW, when you stop the desktop manager, it may not automatically move to tty, so the blank screen belongs to tty7. Try manually changing between the consoles until you get to the command line.

Mrk
Hello,
i pressed Alt + F1 alt +f2 and then alt+f3 and got back to commandline
then i pressed ctrl alt f7 to get back to the gui and the programs where still running.
how do i know if i acually restarted Gnome?
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos
  #10  
Old August 26th, 2008, 07:05 AM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,432
Default Re: linux commands

Hello,
Did you try Ctrl + alt + Backspace?
That for sure is going to work.
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #11  
Old August 26th, 2008, 08:37 AM
lodore lodore is offline
Incredibly Massive Poster
 
Join Date: Jun 2006
Posts: 8,876
Default Re: linux commands

Quote:
Originally Posted by Mrkvonic
Hello,
Did you try Ctrl + alt + Backspace?
That for sure is going to work.
Mrk
yes that does work
__________________
useful tools:cure it SAS Hitman Pro mbam KL Eset windows defender offline Sophos
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:22 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums