Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error when running rc-update [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Wed Sep 21, 2011 10:58 pm    Post subject: Error when running rc-update [solved] Reply with quote

I'm getting an eror when running rc-update add xdm default, saying service "xdm" does not exist, I"m trying to get kdm to load, so I can make sure my KDE is working properly, now since that doesn't work properly, not even sure if KDE is working properly, anybody know anything about this?

Last edited by rottingdead on Sun Sep 25, 2011 7:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Sep 21, 2011 11:04 pm    Post subject: Reply with quote

If it does not exist installing it may help.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Wed Sep 21, 2011 11:05 pm    Post subject: Reply with quote

Jaglover wrote:
If it does not exist installing it may help.


That's the sad part, I did, =(. I may have to rerun my live disc, I might have forgotten to compile kernel with xdm and xorg support, this is going to suck, if I have to, =(.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Sep 21, 2011 11:09 pm    Post subject: Reply with quote

There is no xdm and xorg support in kernel, at least directly.
If the error is it does not exist ... then usually it does not exist. Can you run
Code:
/etc/init.d/xdm start
?

If it doesn't work then it is not installed properly.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Wed Sep 21, 2011 11:14 pm    Post subject: Reply with quote

Jaglover wrote:
There is no xdm and xorg support in kernel, at least directly.
If the error is it does not exist ... then usually it does not exist. Can you run
Code:
/etc/init.d/xdm start
?

If it doesn't work then it is not installed properly.


Man, another error, /etc/init.d/xdm start No such file or directory.
Back to top
View user's profile Send private message
tel
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2006
Posts: 112

PostPosted: Wed Sep 21, 2011 11:20 pm    Post subject: Reply with quote

As Jaglover said, it doesn't exist, and you likely didn't install it.

#emerge xdm

See what happens.
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Wed Sep 21, 2011 11:27 pm    Post subject: Reply with quote

tel wrote:
As Jaglover said, it doesn't exist, and you likely didn't install it.

#emerge xdm

See what happens.


LOL, sorry to keep post going, I did, it was in /usr/bin/xdm, I'm going to try to reinstall it again. It's installing now. and there/s no /etc/init.d directory, it's /etc/inetd.d/ I must have messed up somewhere, =(.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Sep 21, 2011 11:48 pm    Post subject: Reply with quote

/etc/init.d is part of baselayout. I have hard time believing your system can run without it.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 12:12 am    Post subject: Reply with quote

Jaglover wrote:
/etc/init.d is part of baselayout. I have hard time believing your system can run without it.


LOL, not to sound like a noob, but there's no /etc/init.d.. Even cd'd to /etc all I could find is /etc/inetd.d/ Anyway, a friend helped, he said to type in file /usr/bin/xdm and I got this ouput:
Code:


/usr/bin/xdm: ELF 32-bit LSB Executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 12:30 am    Post subject: Reply with quote

If this is gentoo, /etc/init.d is definitely there. could be you're looking for it as a normal user, and dont have access to even see that directory exists (which would be nearly as strange), but it exists.

if it weren't, your system would quite literally be unusable.

regarding that init script, it comes from:

Code:

 $ qfile /etc/init.d/xdm
x11-base/xorg-server (/etc/init.d/xdm)


re emerge xorg-server, it should provide that init script.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 12:33 am    Post subject: Reply with quote

cach0rr0 wrote:
If this is gentoo, /etc/init.d is definitely there. could be you're looking for it as a normal user, and dont have access to even see that directory exists (which would be nearly as strange), but it exists.

if it weren't, your system would quite literally be unusable.

regarding that init script, it comes from:

Code:

 $ qfile /etc/init.d/xdm
x11-base/xorg-server (/etc/init.d/xdm)


re emerge xorg-server, it should provide that init script.


Aaah, thanks, =). I do not think I emerged xorg-server yet, I did, however, install xorg.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 22, 2011 1:12 am    Post subject: Reply with quote

x11-base/xorg-x11 is the meta package, it probably provides everything, including xorg-server and xdm.

x11-base/xorg-server does not come with xdm.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 1:44 am    Post subject: Reply with quote

Jaglover wrote:

x11-base/xorg-server does not come with xdm.


He doesn't need xdm (nor does he need all of xorg-x11)
since he has already emerged kde-meta, he already has kdm

so all he needs is to configure /etc/conf.d/xdm to use kdm
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 22, 2011 1:49 am    Post subject: Reply with quote

I didn't know KDM pulls in xdm, not a KDE user myself. All I know is I have xorg-server installed and there is no xdm in my system. Sorry for confusion.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 2:01 am    Post subject: Reply with quote

cach0rr0 wrote:
Jaglover wrote:

x11-base/xorg-server does not come with xdm.


He doesn't need xdm (nor does he need all of xorg-x11)
since he has already emerged kde-meta, he already has kdm

so all he needs is to configure /etc/conf.d/xdm to use kdm


Sorry, but another problem, it instaled, I can now see KDM, but it won't log me into KDE Desktop, it starts loading, then sends me right back to KDM Window Manager.. What's going on here now? And it doesn't display an error message.
_________________
Die Geschichte wiederholt sich!!!!!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 2:05 am    Post subject: Reply with quote

Jaglover wrote:
I didn't know KDM pulls in xdm, not a KDE user myself. All I know is I have xorg-server installed and there is no xdm in my system. Sorry for confusion.


just to clarify, installing xorg-server gives you /etc/conf.d/xdm and /etc/init.d/xdm (KDM doesnt pull in XDM - KDM is a replacement for X's clunky looking 'XDM')

Code:

ricker ~ # equery files xorg-server |grep xdm
/etc/conf.d/xdm
/etc/init.d/xdm
/etc/init.d/xdm-setup


these can be used to launch xdm, kdm, gdm, slim, etc - doesn't matter.

In his case since he already has kdm, so he just needs to set 'kdm' in /etc/conf.d/xdm and start the init script
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 2:06 am    Post subject: Reply with quote

rottingdead wrote:

Sorry, but another problem, it instaled, I can now see KDM, but it won't log me into KDE Desktop, it starts loading, then sends me right back to KDM Window Manager.. What's going on here now? And it doesn't display an error message.


Code:

rc-update add consolekit default
/etc/init.d/consolekit start
/etc/init.d/xdm restart


then try to login again

if it's not that, then i reckon we should take KDM out of the equation (stop xdm, and 'rc-update del xdm'), get KDE working with startx

once it works with startx, it should work fine with KDM (again, this all assumes it's not just missing consolekit that's causing the problems)

NOTE: moved thread from OTG to Desktop Environments, as it seems to fit a bit better here (turns out even the first thing is desktop-setup-related, so)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 2:18 am    Post subject: Reply with quote

cach0rr0 wrote:
rottingdead wrote:

Sorry, but another problem, it instaled, I can now see KDM, but it won't log me into KDE Desktop, it starts loading, then sends me right back to KDM Window Manager.. What's going on here now? And it doesn't display an error message.


Code:

rc-update add consolekit default
/etc/init.d/consolekit start
/etc/init.d/xdm restart


then try to login again

if it's not that, then i reckon we should take KDM out of the equation (stop xdm, and 'rc-update del xdm'), get KDE working with startx

once it works with startx, it should work fine with KDM (again, this all assumes it's not just missing consolekit that's causing the problems)


Thanks for your posts, it appears it's Virtualbox,

Code:


error: (EE) Failed to load module 'vboxvideo' (Modules does not exist, 0)
Error: (EE) Open /dev/fb0: no such file or directory
/etc/x11/xinit/xinitrc: line 63: exec: xterm: not found
/etc/x11/xinit/xinitrc: line 60: xclock: command not found
/etc/x11/xinit/xinitrc: line 59: twm: command not found
xinit: connection to x server lost


waiting for x server to shut down error setting MTRR (base 0xe000000, size = 0x080000, type = 1) invalid argument (22)


_________________
Die Geschichte wiederholt sich!!!!!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 2:21 am    Post subject: Reply with quote

ah right, virtualbox

i dont use it, but am at least *vaguely* familiar with it (meaning, dont take what i say as scripture, but i *think* it's correct)

id try merging these packages if you haven't already:

Code:


* app-emulation/virtualbox-guest-additions
     Available versions:  4.0.12 (~)4.1.0 (~)4.1.2 {X kernel_linux}
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox kernel modules and user-space tools for Linux guests


* x11-drivers/xf86-input-virtualbox
     Available versions:  4.0.12 (~)4.1.0 (~)4.1.2
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox input driver

* x11-drivers/xf86-video-virtualbox
     Available versions:  4.0.12 (~)4.1.0 (~)4.1.2 {dri kernel_linux}
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox video driver


the 'xf86-video-virtualbox' package should get you vboxvideo, and the others are to make sure you dont hit some other error once you get past the video bits
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 2:24 am    Post subject: Reply with quote

cach0rr0 wrote:
ah right, virtualbox

i dont use it, but am at least *vaguely* familiar with it (meaning, dont take what i say as scripture, but i *think* it's correct)

id try merging these packages if you haven't already:

Code:


* app-emulation/virtualbox-guest-additions
     Available versions:  4.0.12 (~)4.1.0 (~)4.1.2 {X kernel_linux}
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox kernel modules and user-space tools for Linux guests


* x11-drivers/xf86-input-virtualbox
     Available versions:  4.0.12 (~)4.1.0 (~)4.1.2
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox input driver

* x11-drivers/xf86-video-virtualbox
     Available versions:  4.0.12 (~)4.1.0 (~)4.1.2 {dri kernel_linux}
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox video driver


the 'xf86-video-virtualbox' package should get you vboxvideo, and the others are to make sure you dont hit some other error once you get past the video bits


THanks again, =). I actually forgot about the virtualbox-guest-additions package.
_________________
Die Geschichte wiederholt sich!!!!!
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 2:40 am    Post subject: Reply with quote

cach0rr0 wrote:
rottingdead wrote:

Sorry, but another problem, it instaled, I can now see KDM, but it won't log me into KDE Desktop, it starts loading, then sends me right back to KDM Window Manager.. What's going on here now? And it doesn't display an error message.


Code:

rc-update add consolekit default
/etc/init.d/consolekit start
/etc/init.d/xdm restart


then try to login again

if it's not that, then i reckon we should take KDM out of the equation (stop xdm, and 'rc-update del xdm'), get KDE working with startx

once it works with startx, it should work fine with KDM (again, this all assumes it's not just missing consolekit that's causing the problems)

NOTE: moved thread from OTG to Desktop Environments, as it seems to fit a bit better here (turns out even the first thing is desktop-setup-related, so)



You're a moderator, how do you become one, is that just for being on forums for so long? Just a random question.. Or is there a setup you must go through, or al MOderators for that matter..
_________________
Die Geschichte wiederholt sich!!!!!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 3:44 am    Post subject: Reply with quote

rottingdead wrote:

You're a moderator, how do you become one, is that just for being on forums for so long? Just a random question.. Or is there a setup you must go through, or al MOderators for that matter..


more of a, "hrmm...we need more people to help killing spambots and calming down arguments; let's see if any of our regular users fit the bill..."

spending a large chunk of time on here trying to help out with tech stuff does draw attention. I've been gentooing since ~2004, still my distro of preference, and as I work from home I seem to always find myself available to be online. Well, except recently, been having to travel for work...

(also, im a very very new moderator)
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 3:49 am    Post subject: Reply with quote

cach0rr0 wrote:
rottingdead wrote:

You're a moderator, how do you become one, is that just for being on forums for so long? Just a random question.. Or is there a setup you must go through, or al MOderators for that matter..


more of a, "hrmm...we need more people to help killing spambots and calming down arguments; let's see if any of our regular users fit the bill..."

spending a large chunk of time on here trying to help out with tech stuff does draw attention. I've been gentooing since ~2004, still my distro of preference, and as I work from home I seem to always find myself available to be online. Well, except recently, been having to travel for work...

(also, im a very very new moderator)


Ooh man, another error, =(. (EE) AIGLX error: vboxvideo does not export required DRI Extension
_________________
Die Geschichte wiederholt sich!!!!!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Sep 22, 2011 3:57 am    Post subject: Reply with quote

that shouldn't be a fatal error, just means 3D rendering wont be as quick (assuming you've turned 3D acceleration on in the VM)


create a new file, /etc/env.d/90xsession, and put this in:

Code:

XSESSION="KDE-4"


then retry startx

What's happening is it's going and trying to start X, and indeed the X server will start, but nowhere have you told it which type of session to use (by setting XSESSION to the appropriate session type as found in /etc/X11/Sessions), so it starts the X servers and quits

doing the above with 90xsession sets the default to be KDE. Normally, as in when you login through KDM, this doesn't matter, since KDM is where you select what type of session to start. But when testing with startx, you either have to set up that 90xsession file, or, set up an .xinitrc file in your home directory

oh, also, you *may* need to add yourself to the 'video' group if you're doing this test as a regular user (and, ultimately, youll want to have your normal user in that group anyway)

If you haven't already:

Code:

gpasswd -a yourusername video


then logout, log back in for it to take effect.

That's the correct group for regular bare metal, I *think* that's the right group for virtualbox as well
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
rottingdead
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2011
Posts: 133

PostPosted: Thu Sep 22, 2011 4:02 am    Post subject: Reply with quote

cach0rr0 wrote:
that shouldn't be a fatal error, just means 3D rendering wont be as quick (assuming you've turned 3D acceleration on in the VM)


create a new file, /etc/env.d/90xsession, and put this in:

Code:

XSESSION="KDE-4"


then retry startx

What's happening is it's going and trying to start X, and indeed the X server will start, but nowhere have you told it which type of session to use (by setting XSESSION to the appropriate session type as found in /etc/X11/Sessions), so it starts the X servers and quits

doing the above with 90xsession sets the default to be KDE. Normally, as in when you login through KDM, this doesn't matter, since KDM is where you select what type of session to start. But when testing with startx, you either have to set up that 90xsession file, or, set up an .xinitrc file in your home directory

oh, also, you *may* need to add yourself to the 'video' group if you're doing this test as a regular user (and, ultimately, youll want to have your normal user in that group anyway)

If you haven't already:

Code:

gpasswd -a yourusername video


then logout, log back in for it to take effect.

That's the correct group for regular bare metal, I *think* that's the right group for virtualbox as well


=(, same error.
_________________
Die Geschichte wiederholt sich!!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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