LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 02-22-2004, 09:43 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,358

Rep: Reputation: 50
Fail to start KDE


Hi all folks,

Version 5.2
new installation

I encountered problem in starting KDE after installation.

1)
KDE installed
pkg_info | grep kde
kde-3.1.4 The "meta-port" for KDE
kdeaddons-3.1.4 Additional plugins and scripts for some KDE applications
kdeadmin-3.1.4 KDE applications related to system administration
kdeartwork-3.1.4_1 Additional themes, sounds, wallpapers and window styles for
kdebase-3.1.4 This package provides the basic applications for the KDE sy
kdeedu-3.1.4 Collection of entertaining, educational programs for KDE
kdegames-3.1.4 Games for the KDE integrated X11 desktop
kdegraphics-3.1.4 Graphics utilities for the KDE3 integrated X11 desktop
kdelibs-3.1.4_1 This is the base set of libraries needed by KDE programs
kdemultimedia-3.1.4 Multimedia utilities for the KDE integrated X11 desktop
kdenetwork-3.1.4 Network-related programs and modules for KDE
kdepim-3.1.4 Personal Information Management tools for KDE
kdesdk-3.1.4 KDE Software Development Kit
kdetoys-3.1.4 Small applications for KDE
kdeutils-3.1.4 Utilities for the KDE integrated X11 desktop
kdevelop-2.1.5 Powerful IDE for developing KDE/Qt-based apps

2)
/home/user/.xinitrc file not found

ls -al /home/user/
total 22
drwxr-xr-x 2 satimis wheel 512 Feb 23 05:58 .
drwxr-xr-x 3 root wheel 512 Feb 23 07:16 ..
-rw------- 1 satimis wheel 0 Feb 23 05:58 .Xauthority
-rw-r--r-- 1 satimis wheel 767 Feb 23 07:16 .cshrc
-rw-r--r-- 1 satimis wheel 248 Feb 23 07:16 .login
-rw-r--r-- 1 satimis wheel 158 Feb 23 07:16 .login_conf
-rw------- 1 satimis wheel 373 Feb 23 07:16 .mail_aliases
-rw-r--r-- 1 satimis wheel 331 Feb 23 07:16 .mailrc
-rw-r--r-- 1 satimis wheel 797 Feb 23 07:16 .profile
-rw------- 1 satimis wheel 276 Feb 23 07:16 .rhosts
-rw-r--r-- 1 satimis wheel 975 Feb 23 07:16 .shrc
-rw------- 1 satimis wheel 106 Feb 23 05:58 .xsession-errors

3)
cat /home/user/.xsession-errors
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0

Kindly advise how to fix the problems.

TIA

B.R.
satimis
 
Old 02-26-2004, 11:43 AM   #2
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
create a .xinitrc file and put startkde in it.
there is also a file that needs to be run that allows normal users to run x with root privilages, until u do it, u will only be able to run x as root.
i set it ages ago and never looked back - cant remember it though

//edit: looks like i replied to a post of yours and u already got this 1 solved, what was your fix?

Last edited by Gill Bates; 02-26-2004 at 11:46 AM.
 
Old 02-26-2004, 08:46 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,358

Original Poster
Rep: Reputation: 50
Quote:
Originally posted by Gill Bates
create a .xinitrc file and put startkde in it.
there is also a file that needs to be run that allows normal users to run x with root privilages, until u do it, u will only be able to run x as root.
i set it ages ago and never looked back - cant remember it though

//edit: looks like i replied to a post of yours and u already got this 1 solved, what was your fix?
Hi,

Tks for your advice and your kind concerned.

KDE can be started with 'startkde' without problem. The only hanging problem in my case is I can't make it started directly via GUI login at booting. I created .xinitrc at '/home/user/' as well as '/root/' XFree86 welcom screen started. I can keyin 'USERNAME' but I can't keyin password (I assume typing in password being invisibe) I just keyin password and hit <ENTER>. I re-popup the welcome screem.

I solve the problem with another way to startup GUI login screen by typing 'kdm &' on multi-user mode. The GUI login screen started and I can keyin 'USERNAME' and corresponding password to startup KDE.

But I still looking for a solution to start KDE at booting. I tried follows without success;

Created /usr/local/etc/rc.d/kguilogin.sh with only 2 lines
#! /bin/sh
kdm &

or
exec "kdm &"
kdm
xinit kdm
xinit /usr/local/bin/kdm --
xinit /usr/local/bin/kdm

and chmod 500 /usr/local/etc/rc.d/kguilogin.sh. On booting it only booted to multi-user mode.

Any recommendation?

TIA

B.R.
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fail to start apache with ssl kaon Linux - Software 2 07-07-2005 12:05 PM
Fail to start KPPP and network satimis Fedora 7 05-11-2005 11:48 AM
kde fail to start eddy98 Suse/Novell 1 03-07-2005 02:15 AM
Fail to start Gnome satimis Fedora 1 07-30-2004 10:30 AM
Fail to start KDE as USER satimis Red Hat 3 07-03-2004 10:00 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration