Thread: X11
View Single Post

   
  #8 (permalink)  
Old 02-21-2008, 06:07 AM
Whyld-Chyld
 
Posts: n/a
Default Re: X11

PenguinsAnonymous wrote:

> Whyld-Chyld <test@example.com> wrote:
>> Matata wrote:

>
>>> Hi
>>>
>>> I installed gentoo, everything went smooth.
>>> I emerged kde.
>>> But I don't know how to start it now.
>>> I believe I need to start Xserver first...
>>>
>>> I had Mandrake for 1 year and I needed a faster linux system
>>> But I still consider myself a newbie.
>>>
>>> Thx Matata

>> edit your /etc/rc.conf file and under Xsession="kde-3.1.2" instead of
>> Gnome Then when you type startx at the prompt, you will start kde.

>
>> This is the prefered method of setting your startx variable no matter
>> what WM you are using. For Example, if you prefer xfce you can change it
>> to reflect this.

>
>> Do not "rc-update add 'xdm,kdm,gdm' to default" because you wont be able
>> to boot the system if you don't have X configured properly.

>
> oh right .... that would be hard to fix.
> but starting it via
> /etc/init.d/xdm start
> hurts nothing starting kdm if he has it installed.
>
> I see what you mean though
> your way you get the desktop (or kdm?)
> if he shuts down kde does he still not get kdm till next
> startup or server start/restart?
> This could be confusing .... I was thinking he should
> start from kdm
>
> -Walt
>

Nope according to the docs, startx is the command to use. When you edit
/etc/rc.conf, you tell the it what WM is the default, and it's configured
to look for the appropriate '.xinitrc' file. From there things go quite
smoothly. There was a thread on the gentoo forum that I need to revisit
that allowed you to modify the user bash.rc to autostart the wm at log on.
Very nice script, and it allows you to boot as root into a command prompt
instead of a fragged X when it gets trashed.
Reply With Quote