* [gentoo-user] How do I get KDE to start on boot?
@ 2006-11-15 0:32 Daevid Vincent
2006-11-15 1:02 ` Craig Michael Wayman
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Daevid Vincent @ 2006-11-15 0:32 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How do I get KDE to start on boot?
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
2006-11-15 1:05 ` Neil Bothwick
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Craig Michael Wayman @ 2006-11-15 1:02 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How do I get KDE to start on boot?
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
@ 2006-11-15 1:05 ` Neil Bothwick
2006-11-15 3:24 ` Philip Webb
2006-11-15 4:26 ` Richard Fish
3 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2006-11-15 1:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
On Tue, 14 Nov 2006 16:32:10 -0800, Daevid Vincent wrote:
> # Default runlevel.
> id:5:initdefault:
> # That was '3' before and I thought I remembered it was supposed to be
> '5' ?!
It should be 3. The Red Hat derived distros use runlevel 5 for a
graphical boot, Gentoo uses level 3 and controls which services start with
its softlevels.
--
Neil Bothwick
Beware of the opinion of someone without any facts.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How do I get KDE to start on boot?
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
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
3 siblings, 1 reply; 6+ messages in thread
From: Philip Webb @ 2006-11-15 3:24 UTC (permalink / raw
To: gentoo-user
061114 Daevid Vincent wrote:
> I've been using my Gentoo for a few years
> and since X/KDE/Gnome/etc never seemed to be quite stable,
> I always booted into command lines and then manually 'startx' JICSH.
This is what I've been doing for > 3 years quite happily.
It seems more in the true spirit of Gentoo (smile).
> 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.
Well, Gentoo is also about choice, so do it your way,
but very occasionally there is a need to do things outside X
& your previous & my own continuing approach preserves that option.
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How do I get KDE to start on boot?
2006-11-15 0:32 [gentoo-user] How do I get KDE to start on boot? Daevid Vincent
` (2 preceding siblings ...)
2006-11-15 3:24 ` Philip Webb
@ 2006-11-15 4:26 ` Richard Fish
3 siblings, 0 replies; 6+ messages in thread
From: Richard Fish @ 2006-11-15 4:26 UTC (permalink / raw
To: gentoo-user
On 11/14/06, Daevid Vincent <daevid@daevid.com> 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?
For me, suspend-to-ram works better from X than from a console, using
the proprietary drivers. In fact if I suspend from a console, the
graphics card will fail to resume correctly.
Suspend-to-disk may or may not work better for you from X. Neither of
my systems are working with STD currently...
> 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.
Hmm, is this a laptop? X/Nvidia can sometimes decide to drive only
the external video instead of the LCD, which appears as the symptoms
you describe. I guess this could also happen on a desktop if the
graphics card has multiple outputs.
Anyway, on the console, run "ps auwx | grep X" and make sure that X is
running. Also check /var/log/kdm.log and /var/log/Xorg.0.log for
error messages.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] How do I get KDE to start on boot?
2006-11-15 3:24 ` Philip Webb
@ 2006-11-15 9:57 ` Neil Bothwick
0 siblings, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2006-11-15 9:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
On Tue, 14 Nov 2006 22:24:25 -0500, Philip Webb wrote:
> Well, Gentoo is also about choice, so do it your way,
> but very occasionally there is a need to do things outside X
> & your previous & my own continuing approach preserves that option.
As it's only "very occasionally", why not set up a new runlevel that
doesn't start X for those rare occasions, rather than having to start X
manually the other 99% of the time.
Or you could just press Ctrl-Alt-F1 after X has started :)
--
Neil Bothwick
When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-11-15 10:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox