Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I get my system to boot to terminal instead of gnome.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Sat Feb 06, 2010 6:51 pm    Post subject: How do I get my system to boot to terminal instead of gnome. Reply with quote

I asked this a while back in another tread with no luck.
On my Redhat/Fedora system I edit /etc/inittab and set the run level to 3.
I tried this with my current set up with no luck.

Any ideas.

(I've been off the forum for a while. Too much Windoze work :(
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Sat Feb 20, 2010 4:23 am; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Sat Feb 06, 2010 7:18 pm    Post subject: Reply with quote

Did you remove xdm from the default runlevel?
Code:
eselect rc delete xdm default

Now at boot, you get a console login shell.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Feb 06, 2010 11:44 pm    Post subject: Reply with quote

In fact, that's the best way to block Xorg from starting :P
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Mon Feb 08, 2010 5:41 am    Post subject: Reply with quote

Mike Hunt wrote:
Did you remove xdm from the default runlevel?
Code:
eselect rc delete xdm default

Now at boot, you get a console login shell.


Then I'll be able to $startx ?

Thanks for the line! Good to get a message from you.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Feb 08, 2010 6:13 am    Post subject: Reply with quote

cwc wrote:
Then I'll be able to $startx ?

Yes. startx will start X by first invoking xinit. By itself, this would put you at a blank, bare-bones desktop with no Window Manager loaded. If no client program is specified on the command line, xinit will look for a .xinitrc file in the user's home directory, to run as a shell script. If found, this then would in turn run whatever user specified commands to set up the environment, or launch programs that the file contained.

You can create/edit a ~/.xinitrc file to start a preferred Window Manager/Desktop Environment. Eg.
Code:
 ~ $ cat .xinitrc
exec startkde
Others include exec gnome-session, exec fvwm, and so on...

Then when you run:
Code:
 ~ $ startx
it'll fire up your favorite Window Manager/Desktop Environment.

cwc wrote:
Thanks for the line! Good to get a message from you.

You're most welcome. :)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Fri Feb 12, 2010 12:42 pm    Post subject: I got thing to work but? Reply with quote

Thanks.

I got thing to work but I get a Gnome error:

First of all:
#more .xinitrc
exec gnome-session

Here is the error:
There was an error starting the GNOME Setting Daemon.

Somethings, such as themes, sound or background
settings may not work correctly.

The Setting Daemon restricted too many times.

GNOME will still try to restart the Setting Daemon next
time you log in.

I can live with this but it would be nice to know how to fix it.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Feb 12, 2010 3:21 pm    Post subject: Reply with quote

Try first creating a new temporary testuser account and start Gnome from there to see if this behavior is persistent.

If it still fails please post the actual error message verbatim, as well as the output of rc-status and your emerge --info
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Feb 12, 2010 7:53 pm    Post subject: Reply with quote

You can use this :

Code:

# emerge -av wgetpaste
# emerge --info | wgetpaste
# rc-update show | wgetpaste
# rc-status | wgetpaste
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Sat Feb 13, 2010 3:03 am    Post subject: Reply with quote

Mike Hunt wrote:
Try first creating a new temporary testuser account and start Gnome from there to see if this behavior is persistent.

If it still fails please post the actual error message verbatim, as well as the output of rc-status and your emerge --info


I got the same error with the testuser

Code:
rc-status
Runlevel: default
 alsasound                                                          [ started  ]
 avahi-dnsconfd                                                     [ started  ]
 bittorrent-tracker                                                 [ stopped  ]
 consolekit                                                         [ started  ]
 crypto-loop                                                        [ started  ]
 dbus                                                               [ started  ]
 device-mapper                                                      [ stopped  ]
 dmeventd                                                           [ started  ]
 esound                                                             [ started  ]
 gpm                                                                [ started  ]
 hald                                                               [ started  ]
 iptables                                                           [ stopped  ]
 local                                                              [ started  ]
 net.eth0                                                           [ started  ]
 netmount                                                           [ started  ]
 nscd                                                               [ started  ]
 ntp-client                                                         [ started  ]
 ntpd                                                               [ started  ]
 numlock                                                            [ started  ]
 pydoc-2.4                                                          [ started  ]
 rsyncd                                                             [ started  ]
 sshd                                                               [ started  ]
 syslog-ng                                                          [ started  ]
 twistd                                                             [ stopped  ]
 udev-postmount                                                     [ started  ]
 vixie-cron                                                         [ started  ]
tma ~ #
tma ~ # emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 12 Feb 2010 13:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="(-altivec) (-fixed-point) (-hardened) (-multilib) (-n32) (-n64) X a52 aac acl acpi apache2 avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt curl cxx dba dbus dri dts dvd dvdr eds emboss encode esd evo exif expat fam firefox flac fortran gd gdbm gif gnome gpm gstreamer gtk hal iconv imagemagick ipv6 jpeg ldap libnotify mad mdnsresponder-compaty mikmod mng modules mp3 mp4 mudflap mysql ncurses nls nptl nptlonly ogg openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vhosts vorbis win32codecs x264 x86 xml xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

tma ~ # ^C

here's a link th the error http://craigcoleman.com/gentoo/gnome-error.gif



thanks for the help!
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Sat Feb 13, 2010 3:05 am    Post subject: Reply with quote

d2_racing wrote:
You can use this :

Code:

# emerge -av wgetpaste
# emerge --info | wgetpaste
# rc-update show | wgetpaste
# rc-status | wgetpaste


I tried this but java 1.6 and eagle electronics are masked.

I install my own java and tomcat.
I'm not sure why eagle is masked since I emerged this package a while back.

Thanks you.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Sat Feb 20, 2010 4:25 am    Post subject: solved gnome error Reply with quote

Gnome error was eliminated after I emerged world.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Feb 21, 2010 12:59 am    Post subject: Reply with quote

Good then :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum