Toon posts:

[X] wil niet starten als user wel als root

Pagina: 1
Acties:

Verwijderd

Topicstarter
hallo,

ik heb dus nieuwe drivers geinstalleerd voor mijn ati video kaart..
Daarvoor moest ik ook XF86Config-4 editen (met fglrxconfig oid) nou heb ik dus een probleem want als root wil die wel gewoon x starten maar als user niet, dan krijg ik de error [no screens found].
Wie weet hoe ik dit kan verhelpen?
moet je hiervoor iets chmodden oid? want dat was volgens mij in fbsd wel zo... (als ik het me goed herriner :))

  • Wilke
  • Registratie: December 2000
  • Laatst online: 09-05 22:15
Dat is heel raar, want dat zou betekenen dat je als 'user' een andere XF86Config hebt dan als root. Wat staat er precies in /var/log/XFree86.0.log en in je XF86Config? Dan kunnen we misschien zien wat er niet klopt...

  • FCA
  • Registratie: April 2000
  • Laatst online: 05-05 15:41

FCA

Als ik het me goed herinner werd er door fglrxconfig gevraagd voor wie 3d acceleratie toegankelijk was. Wat heb je daar geantwoord? Dat is het enige wat ik kan bedenken wat er verschilt voor verschillende users. Het gaat dan hierom in je XF86Config
code:
1
2
3
4
5
6
7
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 27    # video
#    Mode 0660
EndSection
Zo staat het bij mij, en werkt het ook voor mij.

Verandert z'n sig te weinig.


Verwijderd

Topicstarter
die instelling Mode 0666 heb ik ook dus daar kan het niet aan liggen...

/var/log/XFree86.0.log:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-72) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-11smp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.18-14 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 13:35:50 EDT 2002
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Feb 23 15:48:03 2003
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Server Layout"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "ATI Graphics Adapter"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.5
        XFree86 XInput driver : 0.3
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0650 card 0000,0000 rev 11 class 06,00,00 hdr 80
(II) PCI: 00:01:0: chip 1039,0001 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 1039,0008 card 0000,0000 rev 04 class 06,01,00 hdr 80
(II) PCI: 00:02:3: chip 1039,7007 card 1509,2780 rev 00 class 0c,00,10 hdr 00
(II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev 00 class 01,01,80 hdr 00
(II) PCI: 00:02:6: chip 1039,7013 card 1509,2470 rev a0 class 07,03,00 hdr 00
(II) PCI: 00:02:7: chip 1039,7012 card 1509,2439 rev a0 class 04,01,00 hdr 00
(II) PCI: 00:03:0: chip 1039,7001 card 1509,7001 rev 0f class 0c,03,10 hdr 80
(II) PCI: 00:03:1: chip 1039,7001 card 1509,7001 rev 0f class 0c,03,10 hdr 00
(II) PCI: 00:03:2: chip 1039,7001 card 1509,7001 rev 0f class 0c,03,10 hdr 00
(II) PCI: 00:03:3: chip 1039,7002 card 1509,7002 rev 00 class 0c,03,20 hdr 00
(II) PCI: 00:04:0: chip 1039,0900 card 1509,2419 rev 90 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 1039,6325 card 1509,2430 rev 00 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
        [0] -1  0x00009000 - 0x000090ff (0x100) IX[B]
        [1] -1  0x00009400 - 0x000094ff (0x100) IX[B]
        [2] -1  0x00009800 - 0x000098ff (0x100) IX[B]
        [3] -1  0x00009c00 - 0x00009cff (0x100) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0xe0100000 - 0xe01fffff (0x100000) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0xe8000000 - 0xefffffff (0x8000000) MX[B]
(II) Bus -1: bridge is at (0:2:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) SiS unknown chipset (0x6325) rev 0, Mem @ 0xe8000000/27, 0xe0100000/17, I/O @ 0x9000/7
(II) Addressable bus resource ranges are
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
        [0] -1  0xe0005000 - 0xe0005fff (0x1000) MX[B]
        [1] -1  0xe0003000 - 0xe0003fff (0x1000) MX[B]
        [2] -1  0xe0002000 - 0xe0002fff (0x1000) MX[B]
        [3] -1  0xe0001000 - 0xe0001fff (0x1000) MX[B]
        [4] -1  0xe0000000 - 0xe0000fff (0x1000) MX[B]
        [5] -1  0xd0000000 - 0xdfffffff (0x10000000) MX[B]
        [6] -1  0xe0100000 - 0xe011ffff (0x20000) MX[B](B)
        [7] -1  0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [8] -1  0x00002000 - 0x000020ff (0x100) IX[B]
        [9] -1  0x00001800 - 0x0000187f (0x80) IX[B]
        [10] -1 0x00001c00 - 0x00001cff (0x100) IX[B]
        [11] -1 0x00001080 - 0x000010ff (0x80) IX[B]
        [12] -1 0x00001400 - 0x000014ff (0x100) IX[B]
        [13] -1 0x00001000 - 0x0000100f (0x10) IX[B]
        [14] -1 0x00009000 - 0x0000907f (0x80) IX[B](B)
(II) Inactive PCI resource ranges:
        [0] -1  0xe0004000 - 0xe0004fff (0x1000) MX[B]
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0xe0005000 - 0xe0005fff (0x1000) MX[B]
        [1] -1  0xe0003000 - 0xe0003fff (0x1000) MX[B]
        [2] -1  0xe0002000 - 0xe0002fff (0x1000) MX[B]
        [3] -1  0xe0001000 - 0xe0001fff (0x1000) MX[B]
        [4] -1  0xe0000000 - 0xe0000fff (0x1000) MX[B]
        [5] -1  0xd0000000 - 0xdfffffff (0x10000000) MX[B]
        [6] -1  0xe0100000 - 0xe011ffff (0x20000) MX[B](B)
        [7] -1  0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [8] -1  0x00002000 - 0x000020ff (0x100) IX[B]
        [9] -1  0x00001800 - 0x0000187f (0x80) IX[B]
        [10] -1 0x00001c00 - 0x00001cff (0x100) IX[B]
        [11] -1 0x00001080 - 0x000010ff (0x80) IX[B]
        [12] -1 0x00001400 - 0x000014ff (0x100) IX[B]
        [13] -1 0x00001000 - 0x0000100f (0x10) IX[B]
        [14] -1 0x00009000 - 0x0000907f (0x80) IX[B](B)
(II) Inactive PCI resource ranges after removing overlaps:
        [0] -1  0xe0004000 - 0xe0004fff (0x1000) MX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
        [0] -1  0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0xe0005000 - 0xe0005fff (0x1000) MX[B]
        [6] -1  0xe0003000 - 0xe0003fff (0x1000) MX[B]
        [7] -1  0xe0002000 - 0xe0002fff (0x1000) MX[B]
        [8] -1  0xe0001000 - 0xe0001fff (0x1000) MX[B]
        [9] -1  0xe0000000 - 0xe0000fff (0x1000) MX[B]
        [10] -1 0xd0000000 - 0xdfffffff (0x10000000) MX[B]
        [11] -1 0xe0100000 - 0xe011ffff (0x20000) MX[B](B)
        [12] -1 0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [13] -1 0xe0004000 - 0xe0004fff (0x1000) MX[B]
        [14] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [15] -1 0x00000000 - 0x000000ff (0x100) IX[B]
        [16] -1 0x00002000 - 0x000020ff (0x100) IX[B]
        [17] -1 0x00001800 - 0x0000187f (0x80) IX[B]
        [18] -1 0x00001c00 - 0x00001cff (0x100) IX[B]
        [19] -1 0x00001080 - 0x000010ff (0x80) IX[B]
        [20] -1 0x00001400 - 0x000014ff (0x100) IX[B]
        [21] -1 0x00001000 - 0x0000100f (0x10) IX[B]
        [22] -1 0x00009000 - 0x0000907f (0x80) IX[B](B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.1
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.1.10
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="Fire GL - ATI Research GmbH, Germany"
        compiled for 4.2.0, module version = 2.5.1
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
(II) FireGL8700/8800: Driver for chipset: ATI R200 QH (AGP),
        ATI R200 QL (AGP), ATI R200 QT (AGP), ATI R200 BB (AGP),
        Radeon RV250 Id (R9000), Radeon RV250 Ie (R9000),
        Radeon RV250 If (R9000), Radeon RV250 Ig (R9000),
        Radeon RV250 Ld (M9), Radeon RV250 Le (M9), Radeon RV250 Lf (M9),
        Radeon RV250 Lg (M9), Radeon R300 AD (R9500), Radeon R300 AE (R9500),
        Radeon R300 AF (R9500), Radeon R300 AG (Fire GL Z1/X1),
        Radeon R300 ND (R9700 Pro), Radeon R300 NE (R9700/R9500Pro),
        Radeon R300 NF (Unknown), Radeon R300 NG (Fire GL X1)
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

  • real-0ne
  • Registratie: Juni 2001
  • Laatst online: 03-04-2024

real-0ne

Jah wat zal ik ervan maken

Probeer de port "xwrapper" te installen en run X nog eens als user. Als het niet werkt probeer dan met "kdm" of "xdm" X te runnen

De enige echte....


Verwijderd

"chmod u+s Xfree86" misschien? Dat deed bij mij meestal de trick om X als user op te starten :)

  • deadinspace
  • Registratie: Juni 2001
  • Nu online

deadinspace

The what goes where now?

real-0ne schreef op 24 February 2003 @ 10:17:
Probeer de port "xwrapper" te installen en run X nog eens als user.
Ports werken nog niet heel goed in Red hat hoor ;)

Verder gok ik dat hij xwrapper wel heeft, anders zou je als user volgensmij andere errors moeten krijgen dan "no screens found", bijvoorbeeld over logfiles die niet geopend kunnen worden. De moeite waard om even naar te kijken, dat wel.
Verwijderd schreef op 24 February 2003 @ 10:50:
"chmod u+s Xfree86" misschien? Dat deed bij mij meestal de trick om X als user op te starten :)
Dat hoort dus niet... Daar heb je dus xwrapper voor, die doet dat netjes, en kan bovendien bepaalde beperkingen leggen op wanneer je een X server mag starten. Nu mag iedereen zoveel X servers starten als hij wil, als root. Dus kan iemand iets als "for I in $(seq 1 1000); do XFree86 :${I} & done" doen, dat vindt je computer waarschijnlijk niet lief.
Pagina: 1