Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
blank (dead?) x-windows session
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alextxm
n00b
n00b


Joined: 07 Jun 2002
Posts: 26

PostPosted: Fri Jun 07, 2002 2:40 pm    Post subject: blank (dead?) x-windows session Reply with quote

i successfully installed gentoo linux and then i emerged xfree-4.2.0 and all kde-3.0.1, btw now, trying to get things work using startx i obtain an blank X-Windows session. i did some tests with the startx / xinitrc etc scripts and i found all is correctly executed... at least 'til /susr/lib/kde/3/startkde.. it is also called btw comands in it never get executed (i.e. background doesn't become blue, logo doesn't appear etc). i can only use ctrl+alt+backspace to exit the X session.

can someone help me with this?
thanks in advance,
Alex
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Fri Jun 07, 2002 3:14 pm    Post subject: Reply with quote

Have you tried launching the K display manager directly? Just type kdm at the command prompt.
_________________
Behold, The power of SEARCH!
Back to top
View user's profile Send private message
jtanner
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2002
Posts: 121
Location: Atlanta, GA

PostPosted: Fri Jun 07, 2002 3:16 pm    Post subject: Reply with quote

Your X session isn't dead, it's just not loading kde. I believe startx references ~/.xinitrc. Here's a sample:

Code:

#!/bin/bash
/usr/X11R6/bin/xset m 17/8 0
/usr/kde/3/bin/startkde


This file needs to be executable.

Jim
Back to top
View user's profile Send private message
alextxm
n00b
n00b


Joined: 07 Jun 2002
Posts: 26

PostPosted: Fri Jun 07, 2002 3:16 pm    Post subject: Reply with quote

kdm is okay, btw i do not want to have graphical login... i prefer to start x-windows from console, as I usually do on my RH box.
any idea why kdm work fine and startkde does not?

Alex
Back to top
View user's profile Send private message
alextxm
n00b
n00b


Joined: 07 Jun 2002
Posts: 26

PostPosted: Fri Jun 07, 2002 3:18 pm    Post subject: Reply with quote

Jim: i created a ~/.xinitrc with

#!/bin/bash
/usr/kde/3/bin/startkde

made it executable but it didn't help...

Thanks,
Alex


Last edited by alextxm on Fri Jun 07, 2002 3:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
michaelb
l33t
l33t


Joined: 06 Jun 2002
Posts: 686
Location: Ann Arbor, MI

PostPosted: Fri Jun 07, 2002 3:24 pm    Post subject: Reply with quote

Alex,

I also start up KDE from the command line. I find that for most of the things I do, I just don't need all the overhead involved in firing up an X session. Personally, I just launch it by typing kdm, but this may not be the best option for some reason.
_________________
Behold, The power of SEARCH!
Back to top
View user's profile Send private message
alextxm
n00b
n00b


Joined: 07 Jun 2002
Posts: 26

PostPosted: Fri Jun 07, 2002 3:29 pm    Post subject: Reply with quote

michaelb wrote:
Alex,

I also start up KDE from the command line. I find that for most of the things I do, I just don't need all the overhead involved in firing up an X session. Personally, I just launch it by typing kdm, but this may not be the best option for some reason.


Micheal, i always invoke X from commandline with startx on my RedHat box and it work fine. Then, i agree with you that invoking it via kdm is not the best option...at least for me :)

Alex
Back to top
View user's profile Send private message
shoot2kill
n00b
n00b


Joined: 07 Jun 2002
Posts: 9

PostPosted: Fri Jun 07, 2002 3:48 pm    Post subject: Reply with quote

i have run rc-update add xdm default and i have enabled the GUI login, how can i revert back to text login?

i have read throught the /etc/inittab which I think Gentoo does not totally rely on the /etc/inittab scripts and it uses mostly depend on the rc-scripts.

any help is appreciated!
Back to top
View user's profile Send private message
magoo
n00b
n00b


Joined: 06 May 2002
Posts: 36
Location: Halifax, Canada

PostPosted: Fri Jun 07, 2002 3:55 pm    Post subject: Reply with quote

shoot2kill wrote:
i have run rc-update add xdm default and i have enabled the GUI login, how can i revert back to text login? ...
any help is appreciated!


very easy. run 'rc-update del xdm default' and xdm(kdm,gdm,etc) wont start upon boot.
_________________
magoo
Back to top
View user's profile Send private message
alextxm
n00b
n00b


Joined: 07 Jun 2002
Posts: 26

PostPosted: Fri Jun 07, 2002 4:04 pm    Post subject: Reply with quote

Fixed the problem... btw i think it is a bug in Gentoo KDE 3.0.1 ... i'll check on bugzilla:

open /usr/kde/3/bin/startkde with your favourite text editor
replace
#!/bin/sh --login
with
#!/bin/sh
save & exit

and then, doing startx KDE 3.0.1 will magically start :)
HTH

Alex
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
Page 1 of 1

 
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