You are not logged in.

#1 2011-08-24 11:52:56

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Please help, xinit/startx problems when attempting to load Gnome 3.

I'm relatively new to Arch, but I'm loving every minute of it.

I'm here today to ask you to help my troubleshoot a simple problem that's caused me plenty of headaches.

I've never had the ability to install ANY Graphical interface on my actual computer, even after countless reinstalling and configuring although oddly enough it works perfectly fine on my Virtual Machine.

I personally think it might be to do with a corrupt package but like I said I'm new and I have completely no idea.

First off I've installed:
All of the xorg packages, xorg-xinit, Gnome Gnome-extra, Pulseaudio, gdm(I have no idea what it does, but it's been recommened).

Errors:

Input: startx
Output: nothing

Input:gnome-session
Output: **(gnome-session:1076): WARNING **: Cannot open display:

If you require information, feel free to ask I'll try and be as prompt as I can.

I'll be forever in dept to ever can help me, this has not been working for days.

Last edited by Compulsed (2011-08-24 11:55:15)

Offline

#2 2011-08-24 11:54:38

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

and what video driver have you installed? please provide the output of

lspci | grep VGA

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-08-24 12:02:32

Frankston
Member
From: Saarland, Germany
Registered: 2011-08-08
Posts: 15

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Are you sure you have ANY video driver installed?
Have you followed the appropriate steps mentioned in the Beginners' Guide (see https://wiki.archlinux.org/index.php/Be … _Interface)?

Last edited by Frankston (2011-08-24 12:03:30)


Don't talk about heroes - be one.

Offline

#4 2011-08-24 12:07:21

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

5.00.0 VGA Compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev a1)

Thanks!

Offline

#5 2011-08-24 12:09:56

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Frankston wrote:

Are you sure you have ANY video driver installed?
Have you followed the appropriate steps mentioned in the Beginners' Guide (see https://wiki.archlinux.org/index.php/Be … _Interface)?

Everything required by that guide I've reinstalled, but already had installed before I did it.

Still to no avail.

Offline

#6 2011-08-24 12:12:15

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

On a side note, when I first tried to load startx it attempted to load then was left on a screen with a blinking '_' cursor I think they're called? Without the graphics resolution, and was unable to do anything.

Now when I use startx it don't do anything, but gives me a blank line.

Offline

#7 2011-08-24 12:27:22

Frankston
Member
From: Saarland, Germany
Registered: 2011-08-08
Posts: 15

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

So which driver exactly did you actually install?
Have you installed dbus and checked if the daemon is running?
And could you maybe post the contents of /var/log/Xorg.0.log?


Don't talk about heroes - be one.

Offline

#8 2011-08-24 12:38:22

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Like I said I'm not too great at this, but this is exactly what I did.
pacman -S Xorg
pacman -S mesa
pacman -Ss xf86-video (everything is installed)
pacman -S xf86-video-nouveau

Although something tells me I shouldn't have installed all of that?

Also There isn't anything in my /var/log/Xorg.0.log

Offline

#9 2011-08-24 12:45:11

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

congratulation, you have installed all video and input drivers. your system is now full of bloat smile

there isn't anything in /var/log because you use startx and the log is printed on the console


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2011-08-24 12:52:09

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

I knew I was a special kind of idiot ^^

On a more serious note, is installing every input driver the reason my system won't load a graphical interface? Or... it it just actually bloat?

I ran xinit /usr/bin/gnome-session and it did nothing also
I ran gnome-session and it showed ** (gnome session:1045): **: Cannot open display.

Thanks for the help by the way.

Offline

#11 2011-08-24 12:53:36

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 684

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Post your .xinitrc file.

Have you insert in .xinitrc file this line:

exec ck-launch-session gnome-session

If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#12 2011-08-24 12:54:05

Frankston
Member
From: Saarland, Germany
Registered: 2011-08-08
Posts: 15

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Compulsed wrote:

Like I said I'm not too great at this, but this is exactly what I did.
pacman -S Xorg
pacman -S mesa
pacman -Ss xf86-video (everything is installed)
pacman -S xf86-video-nouveau

Although something tells me I shouldn't have installed all of that?

Also There isn't anything in my /var/log/Xorg.0.log

Ouch ... I recommend uninstalling (at least) all of xf86-video and just install xf86-video-nouveau. Or even better, uninstall everything X-related and follow the steps in the Beginners' Guide precisely.


Don't talk about heroes - be one.

Offline

#13 2011-08-24 12:55:48

Frankston
Member
From: Saarland, Germany
Registered: 2011-08-08
Posts: 15

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

And you probably should do it in a step-by-step kind of way. I mean, fist install X and check if it is basically working. Then install GNOME afterwards, as it depends on a properly configured X.


Don't talk about heroes - be one.

Offline

#14 2011-08-24 13:03:34

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Shark wrote:

Post your .xinitrc file.

Have you insert in .xinitrc file this line:

exec ck-launch-session gnome-session

Where is the .xinitrc file? I've tried to find it using the guides and it doesn't seem to work.

Frankston wrote:

Ouch ... I recommend uninstalling (at least) all of xf86-video and just install xf86-video-nouveau. Or even better, uninstall everything X-related and follow the steps in the Beginners' Guide precisely.

I'll try this.

Offline

#15 2011-08-24 13:05:59

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 684

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

.xinitrc file is in

/home/yourusername/.xinitrc

If you don't have it issue this command:

cp /etc/skel/.xinitrc ~/

and insert:

exec ck-launch-session gnome-session

Then run startx

And be carefull that you are logged in as a USER not as a root!!!

Last edited by Shark (2011-08-24 13:14:09)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#16 2011-08-24 13:08:15

Frankston
Member
From: Saarland, Germany
Registered: 2011-08-08
Posts: 15

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Maybe a bit off-topic, but how familiar are you with Linux in general?


Don't talk about heroes - be one.

Offline

#17 2011-08-24 13:15:56

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Frankston wrote:

Maybe a bit off-topic, but how familiar are you with Linux in general?

Good enough to install it, and just good enough to get myself into trouble.

I've been using Arch for around 2 weeks now on my VM and I didn't have a single problem until I went to install it on my PC then I ran into this.

I've been using Ubuntu server for around 3months now getting the hang of bash and Linux in itself.

I'm definitely not that great, and my god, do I appreciate your patients for me.

Offline

#18 2011-08-24 13:19:58

Compulsed
Member
Registered: 2011-08-24
Posts: 44

Re: Please help, xinit/startx problems when attempting to load Gnome 3.

Shark wrote:

.xinitrc file is in

/home/yourusername/.xinitrc

If you don't have it issue this command:

cp /etc/skel/.xinitrc ~/

and insert:

exec ck-launch-session gnome-session

Then run startx

And be carefull that you are logged in as a USER not as a root!!!

Amazing instructions, I think it might be to do with my drivers(same problem). I'm just going to do a clean reinstall and see how it goes when i do it the CORRECT way.*

As that didn't seem to fix the problem with startx not loading.

Last edited by Compulsed (2011-08-24 13:25:31)

Offline

Board footer

Powered by FluxBB