Hi,

This is what I use to start kde on boot.

I let the xdm startup script launch kdm for me.

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="kdm"

The XSESSION variable in /etc/rc.conf is commented.

I then have xdm start in the default runlevel.

localhost ~ # rc-update show default
                ...
                 xdm | default

to add use 'rc-update add xdm default' as root

localhost ~ # rc-update add xdm default

I also have this session script in /etc/X11/Sessions:

localhost ~ # cat /etc/X11/Sessions/kde-3.5
#!/bin/sh
exec /usr/kde/3.5/bin/startkde

Hope this helps,
Craig

PS. My First Post To This List! Hello Everyone!

On Wednesday 15 November 2006 00:32, Daevid Vincent wrote:
> This seems like a newb question. I've been using my Gentoo for a few years
> now, and since X/KDE/Gnome/etc. never seemed to be quite stable, I always
> booted into command lines and then manually 'startx' JICSH.
>
> But I find myself almost always doing that these days, so I suppose it's
> time to make the plunge so that X starts when I boot up. I'm still a bit
> worried about hibernation (which I don't have working anyways - yet), I
> recall there were issues with nvidia and suspending to HD/RAM if you were
> in X. That could be old news?
>
> Anyways, I can't get this to work. When I boot up, the screen is BLACK. Not
> just back-lit black, but like there's no power black. If I CTRL+ALT+1, I
> get to a shell prompt.
>
> Here are some interesting areas:
>
> *  kde-base/kde
>       Latest version available: 3.5.5
>       Latest version installed: 3.5.5
>
> locutus ~ # ll /etc/X11/Sessions/
> total 28
> drwxr-xr-x  2 root root 4096 Nov 14 16:01 .
> drwxr-xr-x 21 root root 4096 Oct 23 18:02 ..
> -rwxr-xr-x  1 root root 2464 Nov  8 17:31 Gnome
> -rwxr-xr-x  1 root root 2187 Oct 23 16:56 Xsession
> -rwxr-xr-x  1 root root   33 Apr 26  2006 icewm
> -rwxr-xr-x  1 root root   41 Nov  8 16:19 kde-3.5
> -rwxr-xr-x  1 root root   29 Aug 20  2004 xfce
>
> locutus ~ # cat /etc/inittab
> ...
> # Default runlevel.
> id:5:initdefault:
> # That was '3' before and I thought I remembered it was supposed to be '5'
> ?!
>
> locutus daevid # cat /home/daevid/.xinitrc
> exec startkde
>
> locutus daevid # cat /etc/rc.conf
> XSESSION="kde-3.5"
> DISPLAYMANAGER="kdm"
>
> locutus daevid # rc-update show
>               ...
>                  xdm |              default
>               ...
>
>
> ÐÆ5ÏÐ

-- 
gentoo-user@gentoo.org mailing list

Reply via email to