You are not logged in.

#1 2009-08-09 10:43:09

roelof
Member
Registered: 2009-08-07
Posts: 99

[solved] X not working properly

Hello ,

If  I want to startx the computer begins and trows me back to the login part.
I can see that I get a cannot open display message.
I happens a root and as normal user.

When starting up  I see a message that hal has failed.

Roelof

Last edited by roelof (2009-08-10 07:10:09)

Offline

#2 2009-08-09 10:57:38

whordijk
Member
From: the Netherlands
Registered: 2008-12-12
Posts: 147
Website

Re: [solved] X not working properly

You can find an error log at /var/log/Xorg.0.log, so you can see what causes X to not start properly.

Did you read through the HAL Wiki article?

Offline

#3 2009-08-09 12:04:22

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Yep,  I read that article.

When i do exec openbox-session I get this message:

waiting for x server to shutdown error setting MTTR (base=0xd0000000, size=0x800000, type=1 Invalid argument (22)
/var/log/Xorg.0.log doesn't have any errors only warnings.

Roelof


Roelof

Offline

#4 2009-08-09 12:10:10

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved] X not working properly

Hal and D-bus are working , are you in group's dbus and hal ?


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#5 2009-08-09 12:10:57

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

Re: [solved] X not working properly

What's in the DAEMONS list in rc.conf?


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

Offline

#6 2009-08-09 12:12:47

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

Re: [solved] X not working properly

I've never heard of the need for the user to be in the DBUS and HAL groups.  Is that correct?  I have never added any of my users to those groups.


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

Offline

#7 2009-08-09 12:14:09

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved] X not working properly

loafer wrote:

I've never heard of the need for the user to be in the DBUS and HAL groups.  Is that correct?  I have never added any of my users to those groups.

You need it wink
Add user to group hal and dbus wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#8 2009-08-09 12:33:07

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [solved] X not working properly

SpeedVin wrote:
loafer wrote:

I've never heard of the need for the user to be in the DBUS and HAL groups.  Is that correct?  I have never added any of my users to those groups.

You need it wink
Add user to group hal and dbus wink

I doubt this. These are my user's groups:

bp:~$ cat /etc/group | grep bp
disk::6:root,bp
lp::7:daemon,bp
wheel::10:root,bp
mail::12:bp
games::50:bp
video:x:91:bp
audio::92:bp,pulse
optical::93:bp,hal
floppy:x:94:bp,hal
storage:x:95:bp,hal
power:x:98:bp
pulse-access:x:131:bp
bp:x:134:bp

bp:~$ cat /etc/group | grep hal
optical::93:bp,hal
floppy:x:94:bp,hal
storage:x:95:bp,hal
hal:x:82:

bp:~$ cat /etc/group | grep dbus
dbus:x:81:

The OT's problems must have other causes.


To know or not to know ...
... the questions remain forever.

Offline

#9 2009-08-09 12:42:52

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Hello,

The user is only in the group users.
And my rc.conf Deamons list is : DEAMONS = (syslog-ng network netfs dbus hal)

Roelof

Offline

#10 2009-08-09 12:47:42

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

Re: [solved] X not working properly

You really do need to use the Wiki:

For D-Bus and HAL to be of any practical use, local user accounts should be members of the following groups: optical and storage


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

Offline

#11 2009-08-09 12:54:23

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Oke,

I changed it but no luck.
I get now the following message :

Failed to open display from the display variable.

And when I do  echo $display then a empty rulle,.
After I do export DISPLAY=0:0 nothing changed.

Roelof

Last edited by roelof (2009-08-09 13:09:11)

Offline

#12 2009-08-09 13:08:03

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [solved] X not working properly

Do yo have dbus installed?

pacman -Q dbus

If not, install it with

pacman -S dbus

Offline

#13 2009-08-09 13:10:17

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

yep,

pacman -Q dbus gives dbus-1.2.14-1

Roelof

Offline

#14 2009-08-09 13:12:39

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [solved] X not working properly

roelof wrote:

Hello,

The user is only in the group users.
And my rc.conf Deamons list is : DEAMONS = (syslog-ng network netfs dbus hal)

Roelof

You usually don't need expressly start dbus, this will be done by hal. But hal must be started as soon as possible as it provides the interfaces for the other daemons., thus this should probably work:

DAEMONS = (syslog-ng hal network netfs)

And if you ever want to speed up the boot by backgrounding daemons: Never background hal (and syslog-ng btw.)!

Final rant, it's DAEMONS not DEAMONS. (If it wasn't just only a typo...)


To know or not to know ...
... the questions remain forever.

Offline

#15 2009-08-09 13:22:38

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Oke,

I changed that but still openbox can't open the display
and it was a typo.

Roelof

Offline

#16 2009-08-09 16:50:47

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Hello,

I have looked into it.
There seems to be a problem with Nvidia drivers but my problems started before I downloaded and installed the drivers from the nvidia site.
Anyone any tips

Roelof

Offline

#17 2009-08-09 17:12:20

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved] X not working properly

roelof wrote:

Hello,

I have looked into it.
There seems to be a problem with Nvidia drivers but my problems started before I downloaded and installed the drivers from the nvidia site.
Anyone any tips

Roelof

Then Try xf86-video-nv wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#18 2009-08-09 17:25:07

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Oke,

I have installed it but still I get the message :

Openbox message : Failed to open display from the display variable.

Roelof

Offline

#19 2009-08-09 17:26:19

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved] X not working properly

When you startx you got the same message?


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#20 2009-08-09 17:41:44

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

nope,

Then the screen becomes black and after some time trows me back at the prompt with no messages and no errors in the xorg.0.log
Only 2 warnings.

Roelof

Offline

#21 2009-08-09 17:46:52

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved] X not working properly

What warnings?


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#22 2009-08-09 17:49:05

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

The first :

AllowEmptyInput is on, devices using drivers "kdb", "mouse' and 'vmouse' will be disabled.

Second :

Open ACPI failed (no such file)

Roelof

Offline

#23 2009-08-09 17:51:57

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved] X not working properly

Add to your xorg.conf:

Section "ServerFlags"
       Option "AllowMouseOpenFail" "True"
       Option "AutoAddDevices"     "False"

EndSection


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#24 2009-08-09 18:28:57

roelof
Member
Registered: 2009-08-07
Posts: 99

Re: [solved] X not working properly

Hello,

I changed that and i get a lost of errors when i do startx

Failed to load module "kdb" (module does not exist,0)
Failed to load module "mouse" (module does not exist,0)
Failed to load module "kbd" (module does not exist,0)
No input Device matching kbd
Failed to load module "mouse"
No input Device matching mouse
Config/hal :NewInputDeviceReguest failed (8)
Config/hal :NewInputDeviceReguest failed (8)
Config/hal :NewInputDeviceReguest failed (8)

And when i do startx as root twm starts up and locks up.

Roelof

Offline

#25 2009-08-09 18:50:54

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

Re: [solved] X not working properly

It will fail ... it's called "kbd" not "kdb".


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

Offline

Board footer

Powered by FluxBB