View previous topic :: View next topic |
Author |
Message |
slaapkop n00b
Joined: 04 Mar 2004 Posts: 66 Location: Nijmegen
|
Posted: Fri Jul 09, 2004 6:19 pm Post subject: KDE not working anymore...please help |
|
|
Hello,
I few weeks ago I installed gentoo on an old laptop (compaq armada700).
I just used the genkernel sript to get things done.
I realy took me a long time to get things work, i'm not new to Linux, but i'm used to work with Linux as a server, but i thought what the heck, lets give the linux desktop environment a chance.. So I installed KDE on my laptop.
Oke a lot of fun. I installed amsn brought up the acpi stuff..
I thought i was ready for the next step, playing games on my laptop..
The first game i found was tuxkart, so trying to get this working.....
I read the forum and came up whit this steps....
emerge "<plib-1.8"
emerge tuxkart
emerge sync
emerge -UD world
etc-update
from this link (it's german)
https://forums.gentoo.org/viewtopic.php?t=175584&highlight=tuxcart+plib
but now when I reboot a can't get into KDE...
I realy messed it up this time...
I come in a a realy ugly screen, i think is the same as when you first start working with the desktop environment. I think i remember this output from installing kde.
I think i'm in the place where to follow the steps from the documentation where you have to do: /etc/init.d/xfs start
startx
but when i do startx i get the following message: Fatal error:
Server is already active for display 0
If this server is no longer running , remove /tmp/.X)-lock
When i do that the same thing starts al over again..
Now sorry for the long question and my bad english..
But please can someone tel me how to fix this, please tell me i don't have to begin from scratch again, i kill myselve otherwise....
PLease help |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Fri Jul 09, 2004 7:18 pm Post subject: |
|
|
I guess the problem is in the
It could change the default window manager. See the /etc/rc.conf and change the line
DISPLAYMANAGER=something
to
DISPLAYMANAGER="kdm" _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
slaapkop n00b
Joined: 04 Mar 2004 Posts: 66 Location: Nijmegen
|
Posted: Fri Jul 09, 2004 10:23 pm Post subject: |
|
|
yes, thanks that helped alot.
Probaly the last time i did an etc-update!!
I think more propreties got messed up, i had to install my network over as well, and vim gives me a lot of errors as wel. And I can't su in a console when logged in as a user in KDE..
Can someone tell me where i can fix this, do i have to reemerge vim again?
And the stupid thing is I finaly can play tuxkart, well play, my laptop can't handle tuxkart
Thanks again |
|
Back to top |
|
|
lojack n00b
Joined: 24 Jun 2004 Posts: 28 Location: Newark, DE (USA)
|
Posted: Fri Jul 09, 2004 11:26 pm Post subject: |
|
|
From a nOOb's point of view...
There are a lot of threads in Gentoo forums that discuss the 'proper' usage of portage, including many that preach NOT to ever use emerge -U world (that's an uppercase U). And, to make things worse, when you emerge world MANY files may be updated depending of the way your system is configured and how long its been since you updated your system. If a file/package is updated that effects the inner-workings of your system, such as sys-apps/baselayout, you'll be presented with a notice when the emerge completes telling you to update config scripts (The message tells you to run emerge --help something. I can't recall specifically what the message says, however, it refers to etc-update.) If/When you run etc-update after emerge world you'll be presented with a list of scripts that need to be checked. There may be a few scripts that need updating and there may be a lot. Again, it depends on your system. I can only say that you REALLY NEED to pay attention to the scripts you're updating as a result of etc-update. I hosed my first Gentoo install a few weeks ago that way. Now I know better. You may be presented with updates for scripts such as /etc/fstab and /etc/rc.conf. If you're not paying attention you may overwrite your fstab causing annoying problems. This is an example of etc-update:
Code: |
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
11) /etc/init.d/numlock
/etc/init.d/._cfg0000_numlock
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'):
Beginning of differences between /etc/init.d/numlock and /etc/init.d/._cfg0000_numlock
--- /etc/init.d/numlock 2004-04-13 01:28:22.000000000 -0400
+++ /etc/init.d/._cfg0000_numlock 2004-07-09 17:28:59.000000000 -0400
@@ -1,8 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/numlock,v 1.8 2003/12/26 00:25:24 azarah Exp $
-
+# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/numlock,v 1.10 2004/04/21 17:09:18 vapier Exp $
depend() {
need localmount
@@ -10,7 +9,7 @@
start() {
ebegin "Enabling numlock on ttys"
- for tty in $(seq 1 11)
+ for tty in $(seq 1 "${RC_TTY_NUMBER}")
do
if [ -e /dev/.devfsd ] || \
[ -e /dev/.udev -a -d /dev/vc ]
@@ -25,7 +24,7 @@
stop() {
ebegin "Disabling numlock on ttys"
- for tty in $(seq 1 11)
+ for tty in $(seq 1 "${RC_TTY_NUMBER}")
do
if [ -e /dev/.devfsd ] || \
[ -e /dev/.udev -a -d /dev/vc ]
End of differences between /etc/init.d/numlock and /etc/init.d/._cfg0000_numlock
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
Please select from the menu above (-1 to ignore this update): 1
Replacing /etc/init.d/numlock with /etc/init.d/._cfg0000_numlock
mv: overwrite `/etc/init.d/numlock'?
Exiting: Nothing left to do; exiting. :)
|
Think about the scripts you altered during your initial install, going through the Gentoo Handbook. You may have inadvertently overwritten some of those scripts when you ran etc-update, such as /etc/rc.conf
Code: |
# What display manager do you use ? [ xdm | gdm | kdm | entrance ]
DISPLAYMANAGER="kdm"
# 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 is smart enouth to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enligtenment" 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 a ~/.xsession exist, 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 (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps
XSESSION="kde-3.2.2"
|
This thread https://forums.gentoo.org/viewtopic.php?t=163377&highlight=emerge+u is one of the best I've read so far. VERY informative with respect to the many ways to emerge world.
Gentoo does have the best help forum!
HTH
Chris/CMS |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Sat Jul 10, 2004 7:03 am Post subject: |
|
|
To use "su", the user must be in the wheel group. Use usermod or "system administration" in the KDE control center. _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Sat Jul 10, 2004 7:29 am Post subject: |
|
|
To make sure that the user is in the wheel group take a look at /etc/group, alternatively you can use $groups. When you run etc-udpate I know that it does tinker with /etc/group, Id imagine thats the problem. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
slaapkop n00b
Joined: 04 Mar 2004 Posts: 66 Location: Nijmegen
|
Posted: Sat Jul 10, 2004 12:31 pm Post subject: |
|
|
Oke, thanks, i knew that the user should be in the wheel group, i didn't thought the /etc/group file would be overwritten.
And for the etc-update -U, stupid me, learning the hard way....
and for vim wich i messed up as well, i get error like these...
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/net/atm/atm.o^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/drivers/atm/suni.o^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/drivers/atm/suni.o^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/drivers/atm/uPD98402.o^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/net/bluetooth/bluez.o^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/drivers/pcmcia/ds.o \^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/drivers/pcmcia/pcmcia_core.o^@
E575: viminfo: Illegal starting char in line: ^I/lib/modules/2.4.25-gentoo-r4/kernel/drivers/pcmcia/ds.o \^@
And my /etc/fstab was over written as well, but that wasn't ot hard to fix..
thanks for the help.. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Sat Jul 10, 2004 12:39 pm Post subject: |
|
|
Yeah, I ran into the same problems when I decided to try out etc-update _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
fcgreg Apprentice
Joined: 17 May 2003 Posts: 264 Location: California, USA
|
Posted: Wed Aug 11, 2004 10:06 pm Post subject: Don't use etc-update (or use with extreme caution!) |
|
|
More and more users are migrating away from "etc-update" -- including myself. Even being relatively careful, I have accidentally borked key configuration files on my system in the past. I now use "dispatch-conf" exclusively.
dispatch-conf is a very nice replacement for etc-update, and it's starting to get much more attention lately. For example, it is now listed as a "safe" replacement for etc-update in the Portage manual.
dispatch-conf gives you things like:
- Backups/archives of config files
- The option to version-control your archived config files (very nice -- uses "rcs" for this)
- The option to auto-merge certain files safely (as in when the only difference between versions is the CVS header labels in the top of the file)
- The option to auto-merge config files that haven't ever been changed by you
- more, etc.
For more information on the program just execute "dispatch-conf" as root from any shell. You can also view this thread:
https://forums.gentoo.org/viewtopic.php?t=163377&highlight=dispatch-conf
(essentially the same URL as referenced above) _________________ Greg T. |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Aug 12, 2004 6:15 am Post subject: |
|
|
Ive had similiar issues as fcgreg when I used etc-update. Some key points, /etc/group was totally screwed, fstab was molested beyong recognition etc etc etc. I have not used it since. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
|
|
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
|
|