public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Craig Michael Wayman <craigwayman@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How do I get KDE to start on boot?
Date: Wed, 15 Nov 2006 01:02:36 +0000	[thread overview]
Message-ID: <200611150102.36211.craigwayman@hotmail.com> (raw)
In-Reply-To: <200611150030.kAF0UDHo001721@robin.gentoo.org>

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	other threads:[~2006-11-15  1:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  0:32 [gentoo-user] How do I get KDE to start on boot? Daevid Vincent
2006-11-15  1:02 ` Craig Michael Wayman [this message]
2006-11-15  1:05 ` Neil Bothwick
2006-11-15  3:24 ` Philip Webb
2006-11-15  9:57   ` Neil Bothwick
2006-11-15  4:26 ` Richard Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611150102.36211.craigwayman@hotmail.com \
    --to=craigwayman@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox