how to install kde-minimal... [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Re: how to install kde-minimal... [Solved]

Postby jumbotron » Wed May 19, 2010 12:40

micia wrote:
Code: Select all
nano /etc/conf.d/xdm


hai! i think some is wrong:

Code: Select all
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7

# What display manager do you use ?  [ xdm | gdm | kdm | kdm-4.3 | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
#
# KDE-specific note:
# - If you are using kdeprefix go with "kdm-4.Y", e.g. "kdm-4.3".
#     You can find possible versions by looking at the directories in /usr/kde/.
# - Else, if you are using KDE 3 enter "kdm-3.5"
# - Else, if you are using KDE 4 enter "kdm" without a version
DISPLAYMANAGER="gdm"

# If you specify a custom DISPLAYMANAGER value (one unsupported)
# you can also specify a custom pidfile that your application is
# supposed to use and that will be handled by start-stop-daemon
# to properly start/restart/stop it.
# If you don't specify any value and use an unsupported DISPLAYMANAGER
# CUSTOM_DISPLAYMANAGER_PIDFILE will be placed into
# /var/run/<DISPLAYMANAGER name>.pid
# CUSTOM_DISPLAYMANAGER_PIDFILE=""

# Set whether xorg should depend on hald or not. If set to 'auto' then the init
# script tries to determine the dependency on hald automatically, by examining
# xorg.conf files on various locations. If you have built xorg without hal
# use-flag, you should set 'no' here.  If xorg has been built with hal then you
# may set 'auto' or 'yes' here.
# Possible values are: [ yes | no | auto ]
NEEDS_HALD="auto"
jumbotron
Young Hen
 
Posts: 33
Joined: Mon May 17, 2010 0:51

Re: how to install kde-minimal... [Solved]

Postby micia » Wed May 19, 2010 13:10

It seems normal to me, what should be wrong?

nano is a console based text editor, so it will run into the terminal, showing the contents of that file allowing you to edit it.
If you are more familiar with a GUI based text editor (like gedit, kwrite, kate, leafpad, mousepad or anything like them) use it.
Remember that you have to be root in order to edit the /etc/conf.d/xdm file.
You can become root using su:
Code: Select all
su

and typing in your root password.

For example:
Code: Select all
su
<password>
nano /etc/conf.d/xdm


You can use gksu (in Gnome/GTK environment) or kdesu (in KDE environment) to become root using a GUI, for example using the leafpad text editor:
Code: Select all
gksu leafpad /etc/conf.d/xdm


Once you opened that file edit the DISPLAYMANAGER variable to whatever you like, I see that it is already set to GDM, so what is your problem?

[EDIT] if your problem is that you still can't autologin in your desktop, you just need to run:
Code: Select all
gdmsetup

as root and configure it for autologin, as described in the wiki article.
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: how to install kde-minimal... [Solved]

Postby jumbotron » Wed May 19, 2010 15:08

hi buddie...u seem to be willful to me :P

here the situation:

start the box...
boot...................................
............................................
............................................
this is localhost.unknown_domain (Linux i686 2.6.33-zabayon) hour
----------------------------------------
localhost login: got to put 'root'
password:
localhost ~# got to put gdm
----------------------------------------

:x

then now i can enter 'auto' [thanks to 'gdmsetup'] to kde(also have flux and lxde)

how can 'avoid' that little part-between red lines-and get straight to gdm or kde :?: tell me what conf file u need to see :?:
jumbotron
Young Hen
 
Posts: 33
Joined: Mon May 17, 2010 0:51

Re: how to install kde-minimal... [Solved]

Postby micia » Wed May 19, 2010 18:10

oh, so it does not boot to X but on text mode!
Can you see any error when booting?

Try to check the boot messages pressing Alt+F1 or Ctrl+F1 when Linux is starting up.

You could be using "nox" as a boot parameter, could you post your:
/boot/grub/grub.cfg
?
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: how to install kde-minimal... [Solved]

Postby jumbotron » Wed May 19, 2010 19:53

Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="${saved_entry}"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1024x768
  # vga= is deprecated, grub2 handles this just fine
  # making grub2 res == linux fb res
  set gfxpayload=keep
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2et root='(hd0,3)'
search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if sleep --interruptible 0 ; then
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_distro_theme ###
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
insmod png
if background_image /usr/share/grub/default-splash.png ; then
  set color_normal=white/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_distro_theme ###
       insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
        echo    Loading Linux x86-2.6.33-sabayon ...
        linux   /boot/kernel-genkernel-x86-2.6.33-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 dolvm init=/linuxrc splash=verbose,theme:sabay$
        echo    Loading initial ramdisk ...
        initrd  /boot/initramfs-genkernel-x86-2.6.33-sabayon
}
menuentry "Sabayon GNU/Linux, with Linux x86-2.6.33-sabayon (recovery mode)" --class sabayon --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
        echo    Loading Linux x86-2.6.33-sabayon ...
        linux   /boot/kernel-genkernel-x86-2.6.33-sabayon ro single root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 dolvm init=/linuxrc splash=verbose,them$
        echo    Loading initial ramdisk ...
        initrd  /boot/initramfs-genkernel-x86-2.6.33-sabayon
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
        insmod ntfs
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 34f19671367781a2
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
jumbotron
Young Hen
 
Posts: 33
Joined: Mon May 17, 2010 0:51

Re: how to install kde-minimal... [Solved]

Postby micia » Wed May 19, 2010 21:38

linux /boot/kernel-genkernel-x86-2.6.33-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 dolvm init=/linuxrc splash=verbose,theme:sabay$

Using copy and paste from nano could not be a good idea for very long lines, I can't see the full contents of that line, in these cases it is better to use the good old cat.

Code: Select all
cat /boot/grub/grub.cfg
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: how to install kde-minimal... [Solved]

Postby jumbotron » Wed May 19, 2010 23:24

hi homie! what a professorship about penguin dude... :P

Code: Select all
# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="${saved_entry}"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1024x768
  # vga= is deprecated, grub2 handles this just fine
  # making grub2 res == linux fb res
  set gfxpayload=keep
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if sleep --interruptible 0 ; then
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_distro_theme ###
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
insmod png
if background_image /usr/share/grub/default-splash.png ; then
  set color_normal=white/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_distro_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Sabayon GNU/Linux, with Linux x86-2.6.33-sabayon" --class sabayon --class gnu-linux --class gnu --class os {
   insmod ext2
   set root='(hd0,3)'
   search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
   echo   Loading Linux x86-2.6.33-sabayon ...
   linux   /boot/kernel-genkernel-x86-2.6.33-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 dolvm init=/linuxrc splash=verbose,theme:sabayon gentoo=nox console=tty1 quiet resume=swap:/dev/sda2 real_resume=/dev/sda2
   echo   Loading initial ramdisk ...
   initrd   /boot/initramfs-genkernel-x86-2.6.33-sabayon
}
menuentry "Sabayon GNU/Linux, with Linux x86-2.6.33-sabayon (recovery mode)" --class sabayon --class gnu-linux --class gnu --class os {
   insmod ext2
   set root='(hd0,3)'
   search --no-floppy --fs-uuid --set d6d2aa6a-4579-42dc-845a-5bcfdc78f183
   echo   Loading Linux x86-2.6.33-sabayon ...
   linux   /boot/kernel-genkernel-x86-2.6.33-sabayon ro single root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 dolvm init=/linuxrc splash=verbose,theme:sabayon gentoo=nox console=tty1 quiet resume=swap:/dev/sda2 real_resume=/dev/sda2
   echo   Loading initial ramdisk ...
   initrd   /boot/initramfs-genkernel-x86-2.6.33-sabayon
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
   insmod ntfs
   set root='(hd0,1)'
   search --no-floppy --fs-uuid --set 34f19671367781a2
   drivemap -s (hd0) ${root}
   chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


also i saw this at boot:

skipping /usr/bin/gdm, etc/.noxdm found

Init: Entering runlevel 5

if that helps...
jumbotron
Young Hen
 
Posts: 33
Joined: Mon May 17, 2010 0:51

Re: how to install kde-minimal... [Solved]

Postby micia » Wed May 19, 2010 23:52

yes, it helps very much :mrgreen:

As that line does:
Code: Select all
linux   /boot/kernel-genkernel-x86-2.6.33-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 dolvm init=/linuxrc splash=verbose,theme:sabayon gentoo=nox console=tty1 quiet resume=swap:/dev/sda2 real_resume=/dev/sda2


in particular:
Code: Select all
gentoo=nox

It is usually put there from the CoreCD installs, since they install a sysem without any GUI.
That option forces the system to boot without X Server, removing that token should boot you straight to X (and so to GDM).
The whole process is explained better here:
http://forum.sabayon.org/viewtopic.php?f=5&t=18646#p106431

So you just need to open that file as root with your favourite text editor and remove:
gentoo=nox
from the linux line.
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: how to install kde-minimal... [Solved]

Postby jumbotron » Thu May 20, 2010 2:28

u rock dude :!:

how can i give u some reputation/points? :P :lol: 8)
--------------------------------------------------------------------
now the last one: can't use my usb pendrive ==> when attach to the port it appears below floppy on 'removable storage' [kde menu] but nothing happens...any hint :?: :)
jumbotron
Young Hen
 
Posts: 33
Joined: Mon May 17, 2010 0:51

Re: how to install kde-minimal... [Solved]

Postby micia » Thu May 20, 2010 8:56

If you have other problems you should make new threads, otherwise this poor thread will go endlessly off topic :mrgreen:

If you click there or if you go in that directory with dolphin it does not do anything?
Usually a removable drive gets mounted to the:
/media
directory, check to see if it is there.

If it is not, try to manually mount the device using the:
Code: Select all
mount

command as root, if it mounts correctly, then it is a KDE4 specific problem, since I don't use it I can't help you very much.
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

PreviousNext

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 0 guests