You are not logged in.

#1 2007-06-03 06:21:53

fernux
Member
Registered: 2007-06-03
Posts: 31

Must use /etc/rc.d/gdm start to start gnome desktop startx dont work

I must use /etc/rc.d/gdm start    because startx does not work.

how do i fix this?

Last edited by fernux (2007-06-04 23:23:20)

Offline

#2 2007-06-03 06:59:05

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Must use /etc/rc.d/gdm start to start gnome desktop startx dont work

By adding the wm you want to start in ~/.xinitrc

Offline

#3 2007-06-03 19:04:47

loserveg
Member
From: Pittsburgh, Pa
Registered: 2006-12-22
Posts: 45

Re: Must use /etc/rc.d/gdm start to start gnome desktop startx dont work

in ~/.xinitrc you would add

exec gnome-session

make sure to comment out the other exec's

Offline

#4 2007-06-03 23:48:08

fernux
Member
Registered: 2007-06-03
Posts: 31

Re: Must use /etc/rc.d/gdm start to start gnome desktop startx dont work

Tank for your replays.

It it solved now.:D

I had to edit as your replay but i  have the  /etc/X11/xinit/initrc  file   instead  and not  .initrc in home directory.

Offline

#5 2007-06-04 13:15:27

paramthegreat
Member
Registered: 2006-06-27
Posts: 38

Re: Must use /etc/rc.d/gdm start to start gnome desktop startx dont work

umm, you do not edit the /etc/X11/xinit/xinitrc file. That file is for system wide settings and may get overwritten with an upgrade of Xorg. What you should do is create a file know as .xinitrc in your home directory. contents of .xinitrc in home directory override that of /etc/X11/xinit/xinitrc. that way you do not force other users into your choice, not modify system files and also its easier to edit .xinitrc in you own home directory.

so do this in your home:

touch .xinitrc

and then put your wm line as shown in posts above.


fernux wrote:

Tank for your replays.

It it solved now.:D

I had to edit as your replay but i  have the  /etc/X11/xinit/initrc  file   instead  and not  .initrc in home directory.

Offline

#6 2007-06-04 23:35:47

fernux
Member
Registered: 2007-06-03
Posts: 31

Re: Must use /etc/rc.d/gdm start to start gnome desktop startx dont work

Tanks for your replay paramthegreat, i have now correct it and it works as i should now i belive.
And your explanation is great. tanks

Offline

Board footer

Powered by FluxBB