Dumb question- how do I get to the command line without X running?

Hi,
As per the title please... I need to rerun Xorg -configure, but cannot for the life of me figure out how to shut down X and get to a command line
Thanks

Bes wrote:
Ctl alt and backspace just takes me out to the login screen.. from there I can't get to the terminal without X running.
Ctrl Alt F5 gets me to the command line, but I can't kill the X server
Thanks though
so with ctrl+alt+f5 you're at the console
log in if you need to, then
ps ax | grep gdm
4441 ? Ss 0:00 /usr/sbin/gdm-binary
4442 ? S 0:00 /usr/sbin/gdm-binary
4444 tty7 SLs+ 3:38 /usr/bin/Xorg :0 -audit 0 -auth /var/lib/gdm/:0.Xauth
6633 pts/0 S+ 0:00 grep gdm
kill 4444
the above example assumes gdm is your login manager so substitute whatever you're using, and you can kill the other instances of gdm (in my example processes 4441 and 4442 but don't waste your time on the grep process 6633
now redo your X config
(actually you could run this from a terminal from within X and it should have the same effect of dropping you back to console
Last edited by tj (2008-04-20 09:36:15)

Similar Messages

  • How do I get past the pass code on iPad running on Ios7.1 because j have forgotten it and I don not own a computer so it has to be with our a computer

    How do I get past the pass code on iPad running on Ios7.1 because j have forgotten it and I don not own a computer so it has to be with out
    a computer

    Use a friend's computer. Your iPad will be erased.
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • How can I get on the apps store without a debit/credit card or an itunes gift card?

    How can I get on the apps store without a debit/credit card or an itunes gift card?
    I can't get any of these, it's impossible for me to.
    HELP PLEASE.

    Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • Verizon iphone. how can i get to the home screen without activating it on a plan

    how can i get to the home screen without activating it on a plan

    Unless it is a 3rd party cord, there is no cord that just goes from the phone to the wall. However, you will need a cord that connects to the computer and the phone. The device is in recovery mode and you will need to restore it. See this support document for the instructions. http://support.apple.com/kb/HT1808

  • How to output instructions to the command line?

    How can I make my java program give instructions to the command line, eg to execute programs with command line parameters?

    How can I make my java program give instructions to the command line, eg to execute programs with command line parameters? well you can execute the instruction directly not even going(piping through) to commandline.
    try{
    String command = "ls"; // for windows for example String command = "notepad";
    Process execCommand = Runtime.getRuntime().exec(command);
    // now if you want to pass parameters along with the  command use this
    String command2 ="ls /tmp" ; //respectively for windows
    // if there are many arguments which needs spaces then use
    String [] longCommand = new String[]{"find","whatever","path"}; // here find is the command and rest two are desired arguments.
    // now if you want to read the output from command line
    InputStream in = execCommand.getInputStream();
    int c;
    while ((c=in.read())!= -1)
    // process c the way you want
    } catch(IOException io)
    {}Edited by: KillerDev on Nov 2, 2008 12:00 AM

  • HT5312 I have a new iphone 5c, my apple account is set to an email i no longer use, i cant get past my own security questions, how do i get everything back in order without losing all my stuff?

    i have a new iphone 5c and i cant get past the security questions. i made my apple account a while ago with an old email. i created a new apple id with my new email but i dont use it. How do i terminate the account with my new email so i can replace my old email? If i reset my security questions will it delete all my stuff?

    You can't delete an iTunes account, but you should be able to change the email address that is on it e.g. by tapping on it in Settings > iTunes & App Store on your phone and logging into it, via the Store > View Account menu option on your computer's iTunes, or via http://appleid.apple.com - you should then be able to put it on your old account.
    For your security questions on your old account, if you have a rescue email address (which is not the same thing as an alternate email address) on that account then the steps half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address or don't have access to that email account (you won't be able to add one or change it until you can answer your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the HT5312 link above to add or update your rescue email address for potential future use
    Resetting an account's security questions shouldn't affect any of the purchases that you've made on the account.

  • How can a get() return the POF bytes without deserializing?

    Is it possible to perform a get() from the cache without deserializing an object, anmd instead request the POF bytes directly?
    The use case is a middle tier server that is an extend client. It supports legacy downstream clients that should receive part or all of the byte[] directly.
    The objective is to be able to transfer data and avoid a deserialization step:
      cache ---(POF)---> mid tier extend client ---(POF)---> downstream client This would need to work from a .NET or C++ extend client.
    Thanks,
    phil

    Hi Phil,
    This can be easily achieved using an entry processor, as long as you want to return the whole value. Something along the lines of the following should do the trick:
    public Object process(InvocableMap.Entry entry) {
        return ((BinaryEntry) entry).getBinaryValue().toByteArray();
    }The things are a bit trickier if you want to extract a single property only from the value but it is doable:
    public Object process(InvocableMap.Entry entry) {
        BinaryEntry binEntry = (BinaryEntry) entry;
        PofValue value = PofValueParser.parse(binEntry.getBinaryValue(), (PofContext) binEntry.getSerializer());
        AbstractPofValue property = (AbstractPofValue) value.getChild(index);
        return property.getSerializedValue().toByteArray();
    }Sorry I don't have time to test the code above, but off the top of my head I don't see a reason it shouldn't work.
    Regards,
    Aleks

  • How do I get to a command line before X starts? I screwed up.

    I installed some drivers improperly, and now as I start up my system, it goes to X, which dies. How do I get to an Ubuntu like "recovery mode"? Where I can use a terminal to uninstall the package?

    You can try booting into single user mode and taking it from there. Also, if you're using the /etc/inittab method for starting X, you can try appending "3" to the kernel line (instead of "S", "Single" or "1"), and booting into runlevel 3 instead, which should leave you with a command line login prompt.

  • Firefox keeps prompting users to disable java plugins How can reinable them through the command line or registry?

    Windows users keep getting prompted about java version being insecure and are advised to disable the plugin. They then complain that java based websites no longer work. Can I disable / prevent this warning feature. And can I re-enable java plugin via command line or script? I need to do this on a large scale and various versions of firefox. Right now I will need to abandon firefox if I cannot easily resolve this. Yes I realize updating to latest version of java is a solution... but this will take too much time now and how long before another security fix for java and then I will have to update yet again.

    Tylerdowner, to say that Firefox 3.6 is no longer supported is not an answer. Apparently, the so-called block deployed for the Mac OS X version of Firefox, created to deal with a vulnerability in Oracle's Java, has now crept into the Windows version. Moreover, it is blocking the latest version of Java, which was not intended according to https://bugzilla.mozilla.org/show_bug.cgi?id=741592. The official text of the block follows:
    Java Plugin has been blocked for your protection.
    Why was it blocked?
    Outdated versions of the Java plugin are vulnerable to an actively exploited security issue. All Mac OS X users are strongly encouraged to update their Java plugin through Software Update, or disable it if no alternatives are available. For more information, please read our blog post or Oracle's Advisory.
    Who is affected?
    All Firefox users who have installed the Java plugin, JRE versions below 1.6.0_31 or between 1.7.0 and 1.7.0_2.
    What does this mean?
    Users are strongly encouraged to disable the problematic add-on or plugin, but may choose to continue using it if they accept the risks described.
    When Mozilla becomes aware of add-ons, plugins, or other third-party software that seriously compromises Firefox security, stability, or performance and meets certain criteria, the software may be blocked from general use. For more information, please read this support article.
    Well, whoever wrote the code to block the Java plug-ins specified above screwed up, since it is blocking even the updated Java plug-in.
    I have an enterprise with many computers, and we had deployed Firefox as our browsing platform. Based on the latest decisions at Mozilla, new version numbering, forced release cycle, and almost all add-on vendors just walking away from the maintainence nightmare created by this decision, I guess it's time to move over to the Dark Side and adopt Google Chrome.

  • How create a sub_menu using the command line.

    Hi,
    I want to create a new menu and forms in runtime mode .
    please gives me the commands details.

    Hi,
    I think I am having a similar question here. I am using Oracle 10g on Windows xp.
    I logged in to Oracle from command prompt. I used command “create directory myFunDir as 'd:/funDir';”. Oracle returns: “Directory created”. But I couldn’t find the directory “myFunDir”! Where is it?
    Thanks.
    Newbie.

  • Starter Question: how I can get faster the extansion of a file?

    Hi all,
    I'm a Java starter ... sorry for simple question ;-)
    I use java.io.File and want to have the extension (suffix) of an file.
    x is typ 'File' and I use x.list of a root directory. Now I want to check if the file is from typ *.exe.
    My solution in moment is:
    x.getAbsoluteFile().toString().toLowerCase().endsWith("exe")
    This solution works, but I searching for an other solution because I think this one is very slow in runtime.
    Can anyone help me?
    cu
    Stefan

    This is the most efficient code I can make of it, but I can't see why this would be much faster than yours.import java.io.*;
    public class Test {
        public static void main (String[] parameters) {
            File[] files = new File ("c:\\windows").listFiles ();
            for (int f = 0; f < files.length; f ++) {
                File file = files[f];
                if (! file.isDirectory ()) {
                    String fileName = file.getName ();
                    int lengthOfFileName = fileName.length ();
                    if ((lengthOfFileName >= 4) && fileName.substring (fileName.length () - 4).equalsIgnoreCase (".exe")) {
                        System.out.println (file.getName ());
    }Please show some respect to the people who tried to help you and do something with their advice.
    Kind regards,
    Levi

  • How can I get into the options menu without clicking?

    I installed the Fx4 theme, and removed both the menu bar and the App button. As a result, I can't seem to find any way to access the File, View, or Tools menus. I googled for a list of keyboard shortcuts, but there doesn't seem to be one for any of these options (and no, pressing Alt does not unhide the menu bar, as it does in some other things).
    Do I need to reinstall?
    == User Agent ==
    Opera/9.80 (Windows NT 6.1; U; en) Presto/2.5.29 Version/10.60

    Unfortunately, that doesn't work. I can't get into safe mode -- there's no Mozilla Firefox folder in All Programs, and running "firefox -safe-mode" from the Start Search just starts up regular Firefox.
    I'm running Windows 7 Home Premium, 32-bit, using Firefox 3.6.4.

  • How do I get to the App Catalogue without being FORCED to sign up for your Damned Snapfish?!!!

    I keep trying to see the App CAtalogue and you are forcing me to sign in through a program I hate, Snapfish.  Can you help[ me use your product without such a damned program?

    Patty,
    Welcome to the HP Forum.
    We are a community staffed and volunteer supported forum. 
    You are welcome here; please do be polite and considerate of us and others here with whom you are generously sharing your comments.
    Which model HP ePrint printer do you have?
    Have you registered for an HP Connected Account?
    =============================================================================
    If you would like to talk to HP directly, you may do so.
    If you are in the US or in Canada, you can call Cloud Services for help with e-print:
    When to call HP Cloud Services and When to Call HP Tech Support
    Worldwide Support Portal
    Click the Kudos Thumbs-Up to show appreciation and say Thanks.
    Although I strive to reflect HP's best practices, I do not work for HP. 
    HP provides Administrative and Moderation services for the HP Forum.
    Kind Regards,
    Dragon-Fur

  • How does dust get in the screen anyway?

    I have a few dust spects in the screen you don't usually notice. But I have when the comp is closed a gray piece of dust, a little bigger than a dust dot, like a bigger piece of dust. You can sometimes see it on a really light screen when the comp is on. How did it get in, and so far in the middle? Will dust fall down later? Because I dunno how the dust got to the middle...
    Ugh it just bugs me! Dumb dust how did it get in the macbook pro screen! Had my mac for over 2 years.

    Yeap. I have that same problem with my Zen Vision: M and my friend has the same problem with his iPod. Yes... It does get really freaking annoying. I just posted a thread about it because its really bugging the crap out of me... So I dont know any possible way to fix this, besides taking it apart.

  • How can I get past the white screen?

    When I start my iMac I see a message that my start up disk is full and that I need to delete files. After I type in my user name and password, all I see if a white screen. This problem started today. The error message about the start up disk started two days ago, and when I looked at the disk, I saw that over half of it has files described as "other". The hard drive is 250 GB. I have Time Machine backups but I don't know how to get to them to help me. So, I guess that I have two questions: how do I get past the white screen, and what are the files that are catogoraized as other? Thanks.

    I did not put the OS info in my question because I am not sure what I have. I upgraded to Lion so that I could use the cloud between my devices, however I do not know the number.
    Apple menu item->About this Mac and the version is listed there. Click on that and get the build number. Click again and get the machine's serial number.
    I am stuck on the white screen. Any other advice?
    Start with a google search for white screen mac. This one might do the trick: http://www.mac-forums.com/forums/apple-desktops/138137-imac-wont-get-passed-whit e-screen.html

Maybe you are looking for

  • Where can I find a tutorial about Show Folders Hierarchy?

    I have Permiere Elements 11 which also has the Elements Organizer as part of the program. And I have Photoshop Elements 10 also. The Elements Organizer with the video editing program is what I'm interested in though. I think my folder hierarchy is no

  • No incoming calls or texts for 9 days!!!

    My number of 15yrs ported over from tesco last week and worked fine at the start but for the past 9days I haven't received a call or text? I have been onto 150 every single day and nobody has a clue. I have had all sorts of resets, refreshes, sim swa

  • How can I get my Ipod to play on someone elses computer?

    How can I get my Ipod classic to play on someone elses computer.  Not my home computer where my library is stored?

  • Contacts have disappeared.

    When I open Contacts, there are none. Contacts are still on the computer, found at ~/Application Support/AddressBook/Sources/(Long Address with many letters and numbers)/Metadata.  I didn't even know that they were missing from contacts because when

  • How to generate the documentation of nested private class?

    When I generate the documentation with the flag -private (the less restrictive), I get only the javadoc class block comment for the nested classes, is there any way to see the information about fields, operations, constructors, etc. I am using jdk 1.