LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 08-26-2010, 11:11 AM   #1
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Sometimes I have to login twice to start KDE?


Hi,

I am using KDE 4.3.5 which sometimes ask me login twice. At the second login time, hostname change to dhcppc[x] with x random from 0 to 9. The info from ~/.xsession-error:
Code:
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Invalid D-BUS member name 'idle-hint' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'is-local' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display-device' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'display-device' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'remote-host-name' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'session-type' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'unix-user' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
X Error: XSyncBadAlarm 152
  Extension:    143 (Uknown extension)
  Minor opcode: 11 (Unknown request)
  Resource id:  0x0
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kcminit_startup.so
X Error: XSyncBadAlarm 152
  Extension:    143 (Uknown extension)
  Minor opcode: 11 (Unknown request)
  Resource id:  0x0
kdeinit4: preparing to launch /usr/lib/libkdeinit4_ksmserver.so
<unknown program name>(4650)/ KStartupInfo::createNewStartupId: creating:  "dhcppc5;1282825283;742546;4650_TIME0" : "unnamed app"
kephald starting up 
XRANDR error base:  160 
RRInput mask is set!!
My /ets/hosts file:
Code:
127.0.0.1	gentoo.homenetwork	gentoo	localhost
KDE configuration to start on boot:
Code:
quanta@dhcppc5 ~ $ cat /etc/conf.d/xdm 
CHECKVT=7
DISPLAYMANAGER="kdm"
NEEDS_HALD="auto"
Code:
$ cat /etc/X11/Sessions/KDE-4 
#!/bin/sh
exec "/usr/bin/startkde"
Contents in the ~/.kde4 folder:
Code:
$ ls ~/.kde4/
Autostart      cache-dhcppc4  cache-gentoo     socket-dhcppc2  socket-dhcppc7    tmp-dhcppc1  tmp-dhcppc6
cache-dhcppc0  cache-dhcppc5  cache-localhost  socket-dhcppc3  socket-dhcppc9    tmp-dhcppc2  tmp-dhcppc7
cache-dhcppc1  cache-dhcppc6  share            socket-dhcppc4  socket-gentoo     tmp-dhcppc3  tmp-dhcppc9
cache-dhcppc2  cache-dhcppc7  socket-dhcppc0   socket-dhcppc5  socket-localhost  tmp-dhcppc4  tmp-gentoo
cache-dhcppc3  cache-dhcppc9  socket-dhcppc1   socket-dhcppc6  tmp-dhcppc0       tmp-dhcppc5  tmp-localhost
Why did KDE create so many files? It seems to be KDE cache? How can I get rid of this problem?

Last edited by quanta; 08-26-2010 at 11:15 AM.
 
Old 08-31-2010, 09:18 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Original Poster
Rep: Reputation: 101Reputation: 101
Yesterday, I have tried with xfce + slim, it didn't ask me to login twice anymore but I got the warning below:
Quote:
Could not look up internet address for dhcppc2.
This will prevent Xfce from operating correctly.
It may be possible to correct the problem by adding
dhcppc2 to the file /etc/hosts on your system.
Appending dhcppc2 at the end of 'localhost' line in /etc/hosts solved this problem. But why my hostname automatically change to dhcppc[x]? Does anyone have any info on this?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to login twice to start KDE with compiz and kde-window-decorator from kdm allend Slackware 3 06-16-2008 06:54 PM
KDE dosen't start for root login jchajecki SUSE / openSUSE 3 03-05-2006 11:13 AM
Could not start GUI login and KDE satimis *BSD 0 02-21-2004 10:25 AM
Can't login/start KDE-3.1 satimis Debian 4 01-14-2004 04:12 AM
KDE 3.1 wont start at login, but only for one user nudeatom Mandriva 1 01-07-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration