In Ubuntu 10.04 (Lucid) how do I go about disabling X11 or Xorg or whatever, from starting automatically? I like the way BackTrack starts how you have to log in first, and then type "startx".
In Ubuntu 10.04 (Lucid) how do I go about disabling X11 or Xorg or whatever, from starting automatically? I like the way BackTrack starts how you have to log in first, and then type "startx".
You need to edit /etc/init/gdm.conf, specifically the "start on" section, so it won't start automatically. I suggest you make a backup copy of the file first, in case you mess something up. After you made your changes, apply the configuration by runningIf you want to start Gnome after your system booted, runCode:sudo initctl reload-configurationCode:sudo service gdm start
Do I just changetoCode:start on? Or what do you mean by editing? Or leave asCode:start offand then edit what's in the parenthesis?Code:start on
Edit: Nevermind, I just changedtoCode:on. And this starts me in tty1 this way.Code:off
Last edited by GrantStoner; September 12th, 2010 at 08:28 PM.
1) When I start in tty1, however, it doesn't seem to load everything it normally does? When I log in and then typeit starts gnome, but then tells me keyrings and whatnot weren't started when I logged in. So I have to authenticate them individually?Code:startx
2) Also, disabling gdm from starting automatically puts me in tty1, but doesn't let me see my system as it's loading. I'm looking more for like verbose-startup I suppose? I change my hardware quite frequently and I like to see the different adapters and whatnot as they're starting so I know everything is loading the way it should.
Thanks this worked exactly the way I wanted. I just put the "##" right in front of that option instead of editing/deleting the option.
When I do this, all I get isThis is why I doCode:start: Unknown job: gdminstead, and It works flawlessly, EXCEPT for the message that pops up and "Unlock Login Keyring" and says my keyring wasn't unlocked when I logged in.Code:startx
If you are going to use startx command. You need to create a .xinitrc file in your home directory and have this in the file.
Code:#!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) # # exec ion # exec jwm # exec wmaker # exec startkde # exec icewm # exec blackbox exec gnome-session # exec startfluxbox # exec startxfce4 # exec xfce4-session # exec openbox # exec startlxde
If I have the libraries installed for the other environments, do I just put the "#" back in front ofand erase the "#" from which ever I want to enable?Code:exec gnome-session
Thanks, I'm still getting the "Unlock Login Keyring" error though. I have everything in the "Startup Applications" checked. I thought maybe I didn't have one of the daemons set to start, but nope, they're all selected. Would I get this message if I'm really using KDE but have the gnome daemons on? How would I tell what environment I'm using? It looks like gnome, but it looks like KDE as well... like a KDE theme for gnome, or possibly a gnome theme for KDE.
Bookmarks