You are not logged in.

#1 2008-06-13 14:07:47

da-man9191
Member
Registered: 2008-06-12
Posts: 7

GNOME won't run

I've install gnome and gnome-extra rebooted and I type

gnome-session

I recieve

(gnome-session:4081): Gtk-WARNING **: cannot open display:

What is wrong with it?:/

Offline

#2 2008-06-13 14:53:53

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: GNOME won't run

You should start Gnome either via GDM or add "exec gnome-session" to your .xinitrc and type "startx" in the terminal.


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#3 2008-06-13 17:57:36

da-man9191
Member
Registered: 2008-06-12
Posts: 7

Re: GNOME won't run

Okay, I have a problem with that though... When I try making a user account with "useradd" it is unregonized as a command. When I try to add "exec gnome-session" to "/etc/X11/xinit/xinitrc" to make it global everything after the folder "X11" don't exist.

Did I install GNOME the wrong way? Is X11 a package or does it automatically install that with GNOME...

Last edited by da-man9191 (2008-06-13 18:01:13)

Offline

#4 2008-06-13 18:50:40

sph
Member
Registered: 2008-05-01
Posts: 63
Website

Re: GNOME won't run

To check if the package "xorg-server" is installed type:

pacman -Q xorg-server

If the result is:

error: package "xorg-server" not found

Install xorg:

pacman -Sy xorg-server xorg-xkb-utils xorg-xauth xorg-server-utils xorg-xinit xf86-video-vesa xf86-input-keyboard xf86-input-mouse xorg-twm xorg-apps xf86-video-<whatever_e.g._nv_or_ati>

Configure X for a basic /etc/X11/xorg.conf:

xorgcfg -textmode

Last edited by sph (2008-06-13 18:55:35)

Offline

#5 2008-06-13 20:17:08

celthias
Member
Registered: 2008-04-15
Posts: 83

Re: GNOME won't run

da-man9191 wrote:

Okay, I have a problem with that though... When I try making a user account with "useradd" it is unregonized as a command. When I try to add "exec gnome-session" to "/etc/X11/xinit/xinitrc" to make it global everything after the folder "X11" don't exist.

Did I install GNOME the wrong way? Is X11 a package or does it automatically install that with GNOME...

Okay, forgive me if I'm wrong but it's 6am and I've been up most of the night working.

Firstly, isn't the command to add a new user "adduser" not "useradd"?

The folder /etc/X11 is the folder housing all Xorg settings and is therefore created when you install Xorg. As sph said, you can install most of xorg by using his code snippet, or simply use

pacman -S xorg

which is the metapackage for all xorg related packages. When it asks you if you want to install the entire content, you can always say no, and specify what you don't want installed (If you're not sure best just to install it all, or use sph's snippet).

I'm not sure if you can have a global .xinitrc but imo you're better off copying the skeleton .xinitrc file to your ~/ from /etc/skel/.xinitrc, and editing that one so its specific to the user you created.

See http://wiki.archlinux.org/index.php/Beginners_Guide

I hope this helps.

Last edited by celthias (2008-06-13 20:18:46)

Offline

#6 2008-06-14 07:00:33

sph
Member
Registered: 2008-05-01
Posts: 63
Website

Re: GNOME won't run

Regarding "adduser" and "useradd", both commands should be in /usr/sbin -- Adduser is an "interactive front end to /usr/sbin/useradd".

which adduser
/usr/sbin/adduser

which useradd
/usr/sbin/useradd

Last edited by sph (2008-06-14 07:05:50)

Offline

#7 2008-06-15 16:09:14

da-man9191
Member
Registered: 2008-06-12
Posts: 7

Re: GNOME won't run

I got it to work, thanks guys

Offline

Board footer

Powered by FluxBB