You are not logged in.

#1 2011-02-27 09:57:38

Vortex4000
Member
Registered: 2011-02-27
Posts: 2

I need help with the .xinitrc (first time arch user)

I just installed Arch on a virtual machine and i am following the beginner guide step by step.

I have reached the point that i enable gnome-session to start automatically when you invoke startx.

The guide says i need to add the line "exec ck-launch-session gnome-session" in the xinitrc file.

I tried doing this in the root account and the system just doesnt login to gnome. I tried doing it using the normal user and the files just disappears, and cannot be edited.

I looked around on the internet and found that typing startx /usr/bin/gnome-session startx gnome, but it doesnot replace startx or starts automatically.

this is my first time using arch and i would like help.

Thank you.

Offline

#2 2011-02-27 10:06:32

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: I need help with the .xinitrc (first time arch user)

A file won't "just disappear".  Make sure .xinitrc is in your home dir and it is owned by your normal user.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2011-02-27 10:07:56

Vortex4000
Member
Registered: 2011-02-27
Posts: 2

Re: I need help with the .xinitrc (first time arch user)

Do I have to create the file with the normal user or just the root user?

Offline

#4 2011-02-27 10:17:17

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: I need help with the .xinitrc (first time arch user)

The root user and the normal user each have their own home directory. Root's is in /root, the other in /home/<username>. The files need to be in the location of the user you log in with.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2011-02-27 10:29:34

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: I need help with the .xinitrc (first time arch user)

Just delete whatever file you have in your user directory.

And as a normal user, login to console and type:

cp /etc/skel/.xinitrc ./
echo "ck-launch-session gnome-session" >> ./.xinitrc

Offline

#6 2011-02-27 12:00:38

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: I need help with the .xinitrc (first time arch user)

You probably think the file "disappears" because .xinitrc is a "dot" file, which normally doesn't show up in an ls listing. Any file whose name begins with a '.' is a "hidden" file and generally doesn't show up in any listing. 'ls -a' to see it.

And please note that it is the file .xinitrc - ie, it begins with a period. This is the file that is looked for by X at start up.

Offline

Board footer

Powered by FluxBB