LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Gnome session problem (https://www.linuxquestions.org/questions/arch-29/gnome-session-problem-325448/)

chocloman 05-20-2005 02:11 PM

Gnome session problem
 
Hi everybody. Last night I installed Gnome ("pacman -S gnome gnome-extra") everything was OK during the installation process. Then I followed the instructions given in the Gnome-wiki so I edited the /ect/rc.conf in order to start the correct daemons at startup.
Finally I rebooted and I run from the console :
# gnome-session
And it gave me the following warning message:
"(gnome-session: 4597): Gtk-warming: cannot open display:"

Do you know what's going ? Any suggestions please
I used to run XFCE4 with no problems last week.

Thanks in advance

reddazz 05-20-2005 05:10 PM

I think you need to create an .xinitrc, with the following line
Code:

exec gnome-session

chocloman 05-20-2005 06:04 PM

Thanks redazz, now I can use gnome as a regular user. It's imposible for me to start gnome as root. I think I also need to create a .xinitrc file under root's home directory (it doesn't exist) . What do you think?

reddazz 05-20-2005 08:05 PM

You can do the same for root or just simply copy your .xinitrc into roots home (/root). Personally I would avoid using a gui desktop environment as root. If you make any mistakes you can break your system as well as leaving your system vulnerable to crackers.

chocloman 05-20-2005 09:22 PM

yeah,.. you are right, I forgot that. Thanks for the help.


All times are GMT -5. The time now is 10:37 AM.