View previous topic :: View next topic |
Author |
Message |
alextxm n00b
Joined: 07 Jun 2002 Posts: 26
|
Posted: Fri Jun 07, 2002 2:40 pm Post subject: blank (dead?) x-windows session |
|
|
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 |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Fri Jun 07, 2002 3:14 pm Post subject: |
|
|
Have you tried launching the K display manager directly? Just type kdm at the command prompt. _________________ Behold, The power of SEARCH! |
|
Back to top |
|
|
jtanner Tux's lil' helper
Joined: 23 May 2002 Posts: 121 Location: Atlanta, GA
|
Posted: Fri Jun 07, 2002 3:16 pm Post subject: |
|
|
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 |
|
|
alextxm n00b
Joined: 07 Jun 2002 Posts: 26
|
Posted: Fri Jun 07, 2002 3:16 pm Post subject: |
|
|
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 |
|
|
alextxm n00b
Joined: 07 Jun 2002 Posts: 26
|
Posted: Fri Jun 07, 2002 3:18 pm Post subject: |
|
|
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 |
|
|
michaelb l33t
Joined: 06 Jun 2002 Posts: 686 Location: Ann Arbor, MI
|
Posted: Fri Jun 07, 2002 3:24 pm Post subject: |
|
|
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 |
|
|
alextxm n00b
Joined: 07 Jun 2002 Posts: 26
|
Posted: Fri Jun 07, 2002 3:29 pm Post subject: |
|
|
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 |
|
|
shoot2kill n00b
Joined: 07 Jun 2002 Posts: 9
|
Posted: Fri Jun 07, 2002 3:48 pm Post subject: |
|
|
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 |
|
|
magoo n00b
Joined: 06 May 2002 Posts: 36 Location: Halifax, Canada
|
Posted: Fri Jun 07, 2002 3:55 pm Post subject: |
|
|
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 |
|
|
alextxm n00b
Joined: 07 Jun 2002 Posts: 26
|
Posted: Fri Jun 07, 2002 4:04 pm Post subject: |
|
|
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 |
|
|
|