LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-20-2005, 03:11 PM   #1
chocloman
Member
 
Registered: Mar 2005
Location: Lima, Peru, South america
Distribution: slackware
Posts: 35

Rep: Reputation: 15
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
 
Old 05-20-2005, 06:10 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I think you need to create an .xinitrc, with the following line
Code:
exec gnome-session
 
Old 05-20-2005, 07:04 PM   #3
chocloman
Member
 
Registered: Mar 2005
Location: Lima, Peru, South america
Distribution: slackware
Posts: 35

Original Poster
Rep: Reputation: 15
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?
 
Old 05-20-2005, 09:05 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
Old 05-20-2005, 10:22 PM   #5
chocloman
Member
 
Registered: Mar 2005
Location: Lima, Peru, South america
Distribution: slackware
Posts: 35

Original Poster
Rep: Reputation: 15
yeah,.. you are right, I forgot that. Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome panel keeps crashing when starting gnome-session elluva Linux - Software 3 01-24-2006 05:26 PM
Locking GNOME session waelaltaqi Linux - Software 1 12-02-2005 09:58 PM
Changing environment variable for gnome session from gnome-terminal pymehta Linux - Software 1 10-11-2005 06:19 PM
gnome session not valid ? blue.spark Linux - Newbie 2 04-30-2005 04:45 AM
How To Kill Gnome Session? doctorcisco Linux - Newbie 7 11-24-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration