public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] startx no longer gives gnome
@ 2007-07-12  6:22 Thufir
  2007-07-12  6:46 ` Abraham Marín Pérez
  2007-07-12 18:28 ` maxim wexler
  0 siblings, 2 replies; 6+ messages in thread
From: Thufir @ 2007-07-12  6:22 UTC (permalink / raw
  To: gentoo-user

the first time I entered "startx", I got gnome.  No longer, now I get
X windows.  how do I determine what changed?


I'm going by:

Now start your graphical environment by running startx:

Code Listing 2.10: Starting GNOME

$ startx

If all goes well, you should be greeted by GNOME. Congratulations. Now
let us take a look at how you can configure GNOME to suit your needs.


thanks,

Thufir
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] startx no longer gives gnome
  2007-07-12  6:22 [gentoo-user] startx no longer gives gnome Thufir
@ 2007-07-12  6:46 ` Abraham Marín Pérez
  2007-07-12 18:28 ` maxim wexler
  1 sibling, 0 replies; 6+ messages in thread
From: Abraham Marín Pérez @ 2007-07-12  6:46 UTC (permalink / raw
  To: gentoo-user

Have you updated X or similar recently and automatically merged changes 
in config files? I could be possible that you returned to default 
configuration and hence X Windows would start when executing startx.

My 0,02$: go and check DISPLAYMANAGER at /etc/conf.d/xdm and XSESSION at 
/etc/rc.conf and make sure they have the proper entries for Gnome.

HTH,
Abraham

Thufir escribió:
> the first time I entered "startx", I got gnome.  No longer, now I get
> X windows.  how do I determine what changed?
>
>
> I'm going by:
>
> Now start your graphical environment by running startx:
>
> Code Listing 2.10: Starting GNOME
>
> $ startx
>
> If all goes well, you should be greeted by GNOME. Congratulations. Now
> let us take a look at how you can configure GNOME to suit your needs.
>
>
> thanks,
>
> Thufir


-- 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] startx no longer gives gnome
  2007-07-12  6:22 [gentoo-user] startx no longer gives gnome Thufir
  2007-07-12  6:46 ` Abraham Marín Pérez
@ 2007-07-12 18:28 ` maxim wexler
       [not found]   ` <bf6b6d5c0707121353rf2d84c3neaa865a0230e77dd@mail.gmail.com>
  1 sibling, 1 reply; 6+ messages in thread
From: maxim wexler @ 2007-07-12 18:28 UTC (permalink / raw
  To: gentoo-user

> X windows.  how do I determine what changed?

Look at /etc/X11/xinit/xinitrc. If that's been
overwritten then startx will default to plain X.

Maxim


       
____________________________________________________________________________________Ready for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] startx no longer gives gnome
       [not found]   ` <bf6b6d5c0707121353rf2d84c3neaa865a0230e77dd@mail.gmail.com>
@ 2007-07-13  4:15     ` Sabyasachi Ghosh
  2007-07-13  6:28       ` Thufir
  0 siblings, 1 reply; 6+ messages in thread
From: Sabyasachi Ghosh @ 2007-07-13  4:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

you might try running :

XSESSION="gnome" startx



On 7/12/07, Thufir <hawat.thufir@gmail.com> wrote:
>
> On 7/12/07, maxim wexler <blissfix@yahoo.com> wrote:
> > > X windows.  how do I determine what changed?
> >
> > Look at /etc/X11/xinit/xinitrc. If that's been
> > overwritten then startx will default to plain X.
> [...]
>
> Thanks, guys.  I'll check it out.
>
>
> -Thufir
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 876 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] startx no longer gives gnome
  2007-07-13  4:15     ` Sabyasachi Ghosh
@ 2007-07-13  6:28       ` Thufir
  2007-07-13 18:35         ` maxim wexler
  0 siblings, 1 reply; 6+ messages in thread
From: Thufir @ 2007-07-13  6:28 UTC (permalink / raw
  To: gentoo-user

On 7/13/07, Sabyasachi Ghosh <ssgosh@gmail.com> wrote:
> you might try running :
>
> XSESSION="gnome" startx
[...]

That did the trick :)


thufir@localhost ~ $
thufir@localhost ~ $ cat /etc/conf.d/xdm
# Tell X to always start on VT7. Otherwise it autodetects the first available
# VT, which means it has to wait until all gettys are started so it doesn't suck
# up a VT that should have had a login prompt (very slow).
# If XSTATICVT is on, the login manager will start as soon as possible during
# the boot process. If you want X to dynamically start on the first unoccupied
# VT after all gettys have started and you are using xdm, also remove the "vt7"
# from /etc/X11/xdm/Xservers.
XSTATICVT="yes"

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="gdm"
thufir@localhost ~ $
thufir@localhost ~ $ cat /etc/rc.conf
# /etc/rc.conf: Global startup script configuration settings

# UNICODE specifies whether you want to have UNICODE support in the console.
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.

UNICODE="yes"

# Set EDITOR to your preferred editor.
# You may use something other than what is listed here.

EDITOR="/bin/nano"
#EDITOR="/usr/bin/vim"
#EDITOR="/usr/bin/emacs"

# DISPLAYMANAGER has moved to /etc/conf.d/xdm

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#           is called.
#        2) even if ~/.xsession exists, if XSESSION can be resolved, it will
#           be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (look in /etc/X11/Sessions/)
# Xsession - will start a terminal and a few other nice apps

#XSESSION="Gnome"
thufir@localhost ~ $
thufir@localhost ~ $ cat /etc/X11/xinit/xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
xinitdir=/etc/X11
sysresources=$xinitdir/Xresources
sysmodmap=$xinitdir/Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# First try ~/.xinitrc
if [ -f "$HOME/.xinitrc" ]; then
        XINITRC="$HOME/.xinitrc"
        if [ -x $XINITRC ]; then
                # if the x bit is set on .xinitrc
                # it means the xinitrc is not a
                # shell script but something else
                exec $XINITRC
        else
                exec /bin/sh "$HOME/.xinitrc"
        fi
# If not present, try the system default
elif [ -n "`/etc/X11/chooser.sh`" ]; then
        exec "`/etc/X11/chooser.sh`"
# Failsafe
else
        # start some nice programs
        twm &
        xclock -geometry 50x50-1+1 &
        xterm -geometry 80x50+494+51 &
        xterm -geometry 80x20+494-0 &
        exec xterm -geometry 80x66+0+0 -name login
fi
thufir@localhost ~ $
thufir@localhost ~ $ date
Fri Jul 13 06:26:34 UTC 2007
thufir@localhost ~ $



Going to uncomment some stuff, looks like not a big deal. Yes, appears
to be cause by emerging some packages.  Not everything emerged.


-Thufir
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] startx no longer gives gnome
  2007-07-13  6:28       ` Thufir
@ 2007-07-13 18:35         ` maxim wexler
  0 siblings, 0 replies; 6+ messages in thread
From: maxim wexler @ 2007-07-13 18:35 UTC (permalink / raw
  To: gentoo-user

> # Failsafe
> else
>         # start some nice programs
>         twm &
>         xclock -geometry 50x50-1+1 &
>         xterm -geometry 80x50+494+51 &
>         xterm -geometry 80x20+494-0 &
>         exec xterm -geometry 80x66+0+0 -name login
> fi
> thufir@localhost ~ $
> thufir@localhost ~ $ date
> Fri Jul 13 06:26:34 UTC 2007
> thufir@localhost ~ $
> 
> 
> 
> Going to uncomment some stuff, looks like not a big
> deal. Yes, appears
> to be cause by emerging some packages.  Not
> everything emerged.
> 

I'd say "comment" some stuff. tvm etc is the default.
Comment out all that stuff and replace with whatever
the gnome command is. I use kde so I have 'startkde'
instead of tvm. Don't know the appropriate gnome
command. You don't need that xclock, xterm stuff
either. Gnome can handle that. 

-mw


       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-13 18:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12  6:22 [gentoo-user] startx no longer gives gnome Thufir
2007-07-12  6:46 ` Abraham Marín Pérez
2007-07-12 18:28 ` maxim wexler
     [not found]   ` <bf6b6d5c0707121353rf2d84c3neaa865a0230e77dd@mail.gmail.com>
2007-07-13  4:15     ` Sabyasachi Ghosh
2007-07-13  6:28       ` Thufir
2007-07-13 18:35         ` maxim wexler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox