Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm trying to install KDE on a vps of centos 5.3. These are the steps:

yum install kdepim
yum install vnc vnc-server x11-xorg

vncserver
vncserver -kill :1
vim ~/.vnc/xstartup
#(replaced the last line with: "startkde &")

rm -rf /tmp/.X1*
vncserver

When I try to connect using a remote client of UltraVNC, I'm being prompted to supply a password - but after that it's stuck.

While executing 'ps' I can see:

artsmessage -i Sound server informational message:??Error while initializing the sound driver:?SNDCTL_DSP_SETFMT f

Any idea what/how?

share|improve this question

migrated from serverfault.com Oct 2 '11 at 21:16

This question came from our site for professional system and network administrators.

2 Answers 2

yum groupinstall "Group Name" command should solve the problem. For instance , in case you want to install GNOME desktop environment ou would type : yum groupinstall "GNOME Desktop Environment" and if you want KDE command would read: yum groupinstall "KDE (K Desktop Environment)"

But how you'd know what exact group names are and what application software groups are available for install ? There is yum grouplist command which will tell you what's available for you to choose from.

You can try (CHOOSE ANY ONE)

yum groupinstall gnome

yum groupinstall kde

Here's a good tutorial for you with more detail and in depth discussion : http://www.montanalinux.org/centos5-debian-style.html

Best wishes

share|improve this answer
  • First, install KDE group using yum groupinstall KDE. Check if the name is different in the group list with yum grouplist.

  • Make sure you update /etc/sysconfig/desktop with KDE

    DESKTOP="KDE" DISPLAYMANAGER="KDE"

  • Make sure you start the server(s) from /etc/init.d/vncserver

  • Run vncpasswd at shell and set the vncpasswd.

  • Replace startx & in the last line in ~/.vnc/xstartup file with startkde &

  • Install switchdesk tool as well

    # yum install switchdesk

  • run yum install system-switch-displaymanager and run system-switch-displaymanager and change the display manager.

  • Run switchdesk to shift to KDE from GNOME in all your X-related files switchdesk kde

  • If still does not go well, try checking with your sound card. See if a reboot works or reconfiguring/removing the sound device drivers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.