Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
Jak niektorzy wtajemniczeni wiedza niedawno zrezygnowalem z dm ktorym byl gdm. X'y odpalam poprzez startx i tu pojawia sie problem, a wlasciwie dwa.
Oto log:
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(EE) xf86OpenSerial: Cannot open device /dev/psaux
No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
No core pointer
Fatal server error:
failed to initialize core devices
To pojawia sie po pierwszym startx, pod drugim wszystko chodzi ok.
Problem nr 2
Startx uruchamia sie pierwszy raz przez plik .bashrc i teraz po odpaleniu Aterma wyskakuje smieszny blad. Czy nie byloby lepiej umiescic startx w innym pliku? Jesli tak to jakim.
Oto tresc bledu:
X: user not authorized to run the X server, aborting.
xinit: Server error.
Dzieki z gory za chociazby maly komentarz :)
Offline
Oto moj XF86Config-4
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/TrueType"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Generic Grafic Card"
Driver "nvidia"
EndSection
Section "Monitor"
Identifier "796PF2"
HorizSync 30-96
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Grafic Card"
Monitor "796PF2"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Generic Mouse"
EndSection
#Section "DRI"
# Mode 0666
#EndSection
Offline
Nie kompilowalem sam kernela ale niedawno zmienilem na 2.6 aptem
Mam urzadzenie /dev/psaux ale ono w MC w katalogu /dev wyglada tak "-psaux"
Offline
sprawdź czy masz załadowany moduł: psmouse, jeśli nie to modprobe psmouse i dopisz do /etc/modules
Offline
Mam zaladowany psmouse
Mimo zmiany wpisu "startx" z bashrc do bash_profile problem z Atermem wystepuje nadal
Offline
Usunalem startx z .bashrc i nic to nie zmienilo
Offline
Literówka przy wpisie w /etc/modules
Dziekuje za zainteresowanie
Offline
Zamiast:
startx
wpisz:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then startx fi
I problem w konsoli znika.
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00104 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.141.47.163' WHERE u.id=1 |
0.00083 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.141.47.163', 1732693297) |
0.00058 | SELECT * FROM punbb_online WHERE logged<1732692997 |
0.00054 | SELECT topic_id FROM punbb_posts WHERE id=11351 |
0.00006 | SELECT id FROM punbb_posts WHERE topic_id=1339 ORDER BY posted |
0.00066 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=1339 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00127 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=1339 ORDER BY p.id LIMIT 0,25 |
0.00091 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=1339 |
Total query time: 0.00609 s |