Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: Linux Forum Linux-Web.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

27.12.2006, 15:16

xScreensaver geht immer an

Hiho zusammen!

Ich bekomme hier gleich übelst eine Kriese. Ich versuche etwas zu lesen, aber immer nach ca. einer Minute geht dieser hässliche X-Screensaver an (Mit dem weißen X in verschiedenen Größen). Dieser überaus hässliche Bildschirmschoner war zu Beginn nicht an, hat sich also selbst aktiviert, oder was weiß ich. Nun außerdem hält er mich vom arbeiten ab, da ich öfters mal versuche länger als eine Minute etwas vom Bildschirm abzulesen.

Ich hätte ja mit diesem übelst hässlichen, unnötigen Bildschirmschoner kein Problem, wenn ich ihn ausschalten könnte! Aber im KDE, der normale Birldschirmschoner ist aus!!.

Kann mir einer sagen, wo ich diesen Bildschirmschoner ausschalten, oder besser gleich löschen kann? Aufdass sich das Drecksglumb nie wieder in meinen Rechner einnistet! :teufel: (Sorry, aber der kotzt mich derbmaßen an hier).

Auch wäre es schön, dass ich wenn ich STRG+ALT+L drücke, wieder meinen ganz normalen Bildschirm sehe, nur eben eingefrohren und gesperrt. Das schwarze Bild mit aktivierter TFT Beleuchtung sieht dann eher wie ein schlechtes Grau aus :P

Vielen Dank an euch!
Grüße,
Daniel

[EDIT]Da! schon wieder, ich versuche hier meinen Text nochmal zu lesen, und das Sche***teil lässt mich nicht in Ruhe![/EDIT]
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Spitfire« (27.12.2006, 15:19)


linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

2

27.12.2006, 15:36

RE: xScreensaver geht immer an

hallo,

vermutlich wird der screensaver schon in der xinitrc gestartet.
schau mal in die datei /etc/X11/xinit/xinitrc nach einer zeile

Zitat

test $UID -gt 0 && test -z $VNCSESSION && xscreensaver -no-splash &

und setz einfach ein doppelkreuz an den zeilenanfang, also

Zitat

#test $UID -gt 0 && test -z $VNCSESSION && xscreensaver -no-splash &

nach einem neustart des X-systems/xdm oder komplettstart des systems müsste sich die sache erledigt haben.
man kann den xscreensaver auch totlegen, indem man die ausführungsrechte nimmt (chmod 400 $(which xscreensaver)) oder ihn deinstalliert.
da müsste sich jedoch jemand melden, der die pakete unter debian kennt und das ist nicht mein terrain.

ps: diese arbeit kann nur root erledigen!
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

3

27.12.2006, 15:59

Danke, nur folgendes:

Meine /etc/X11/xinit/xinitrc:
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)

# invoke global X session script
. /etc/X11/Xsession

Meine /etc/X11/Xsession sieht auch nicht vielversprechender aus, da ist nichts dergleichen drin.
Auch meine /etc/kde3/kdm/Xsession habe ich kontrolliert, aber auch hier scheint nicht drin zu sein.



Und das komischste:
gudrun:~# apt-cache search xscreensaver
chbg - tool for changing the desktop background image in X11
electricsheep - screensaver showing collective dream of sleeping computers
epplets - The Epplets for the Enlightenment Window Manager
kscreensaver - additional screen savers released with KDE
kscreensaver-xsavers - KDE hooks for standard xscreensavers
rss-glx - Really Slick Screensavers GLX Port
shermans-aquarium - Sherman's aquarium applet for GNOME 2
xscreensaver - Automatic screensaver for X
xscreensaver-gl - GL(Mesa) screen hacks for xscreensaver
gkrellshoot - Plugin for gkrellm to lock the screen and make screenshots
wmmatrix - View The Matrix in a Window Maker dock application
gudrun:~#
gudrun:~#
gudrun:~#
gudrun:~# apt-get remove xscreensaver
Reading package lists... Done
Building dependency tree... Done
Package xscreensaver is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 225 not upgraded.
gudrun:~# apt-get remove xscreensaver-gl
Reading package lists... Done
Building dependency tree... Done
Package xscreensaver-gl is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 225 not upgraded.


Also scheinbar garnicht installiert?!
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

4

27.12.2006, 16:05

nicht schlecht!
schau mal in die prozessliste, welcher screensaver im hintergrund läuft
ps ax
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

5

27.12.2006, 16:17

schau mal noch in die /etc/X11/xorg.conf ob der MIT-screensaver geladen wird.
du musst dann die option

Zitat

Option "BlankTime" "time"

auf 0 (null) setzen.
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

6

27.12.2006, 16:24

okay finde den jetzt nicht raus (da ist nichts was screensaver, xscreen o.Ä. heißt), aber...

...mit einem xset s off lässt sich der Bildschrimschoner deaktivieren. die Frage ist, woher kommt der Bildschirmschoner? Wie lässt er sich am löschen, oder zumindest dauerhaft abschalten?
Und wie bekomme ich diesen "blank-screen" beim sperren der Session wieder weg?

Ich kann mich ehrlich nicht daran erinnern, ein Update über meinen xServer gespielt zu haben.

Und es sieht wohl so aus, dass es sich nicht um "den" xScreensaver handelt. Der xScreensaver der eigentlich so heißt, soll wohl weit funktionsreicher sein, und sogar Programme als Bildschirmschoner laufen lassen können. Der Bildschirmschoner von dem ich spreche, zeigt entweder nur einen schwarzen Bildschirm (~blank screen) oder ein unterschiedlich großes, weißes, hässliches, verpixeltes "X" auf genau diesem blank screen...

Wenn du trotzdem mal schauen möchtest, sag bescheid, dann stell ich mein "ps aux" hier rein...

Danke & Grüße,
Daniel


EDIT: Wird nicht geladen in der /etc/X11/xorg.conf
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Spitfire« (27.12.2006, 16:29)


linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

7

27.12.2006, 16:28

ja häng das ps ax mal hier an und die xorg.conf auch gleich, könnte der screensaver des xservers sein, wie ich oben noch zugefügt habe.
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

8

27.12.2006, 16:32

ps ax:

Quellcode

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
gudrun:~# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 init [2]
    2 ?        S      0:00 [migration/0]
    3 ?        SN     0:13 [ksoftirqd/0]
    4 ?        S      0:00 [migration/1]
    5 ?        SN     0:02 [ksoftirqd/1]
    6 ?        S<     0:01 [events/0]
    7 ?        S<     0:00 [events/1]
    8 ?        S<     0:00 [khelper]
    9 ?        S<     0:00 [kthread]
   12 ?        S<     0:00 [kblockd/0]
   13 ?        S<     0:00 [kblockd/1]
   14 ?        S<     0:00 [kacpid]
  101 ?        S<     0:00 [kseriod]
  139 ?        S      0:01 [pdflush]
  140 ?        S      0:00 [pdflush]
  141 ?        S      0:04 [kswapd0]
  142 ?        S<     0:00 [aio/0]
  143 ?        S<     0:00 [aio/1]
  757 ?        S      0:00 [kirqd]
 1539 ?        S<     0:00 [ata/0]
 1540 ?        S<     0:00 [ata/1]
 1553 ?        S      0:00 [khpsbpkt]
 1566 ?        S<     0:00 [khubd]
 1631 ?        S<     0:00 [scsi_eh_0]
 1632 ?        S<     0:00 [scsi_eh_1]
 1723 ?        S      0:00 [knodemgrd_0]
 1748 ?        S<     0:00 [scsi_eh_2]
 1749 ?        S<     0:39 [usb-storage]
 1984 ?        S<     0:08 [kjournald]
 2167 ?        S<s    0:00 udevd --daemon
 2984 ?        S<     0:00 [kpsmoused]
 3016 ?        S<     0:00 [shpchpd]
 3093 ?        S<     0:00 [kedac]
 3424 ?        S<     0:00 [kmirrord]
 3451 ?        S<     0:00 [kjournald]
 3777 ?        Ss     0:00 /sbin/portmap
 3992 ?        S<s    0:00 dhclient3 -pf /var/run/dhclient.eth1.pid -lf /var/lib/dhcp3/dhclient.eth1.leases eth1
 4033 ?        Ss     0:00 /sbin/syslogd
 4039 ?        Ss     0:00 /sbin/klogd -x
 4111 ?        Ss     0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
 4131 ?        Ss     0:00 /usr/sbin/cupsd
 4139 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 4147 ?        Ss     0:02 /usr/sbin/hald
 4148 ?        S      0:00 hald-runner
 4154 ?        S      0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
 4163 ?        S      0:02 hald-addon-keyboard: listening on /dev/input/event0
 4171 ?        S      0:07 hald-addon-storage: polling /dev/sde
 4173 ?        S      0:07 hald-addon-storage: polling /dev/sdd
 4175 ?        S      0:08 hald-addon-storage: polling /dev/sdc
 4177 ?        S      0:08 hald-addon-storage: polling /dev/sdb
 4180 ?        S      0:08 hald-addon-storage: polling /dev/hda
 4235 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
 4244 ?        Ss     0:00 /usr/sbin/lpd -s
 4265 ?        Ss     0:00 /usr/sbin/inetd
 4305 ?        Ss     0:00 /sbin/rpc.statd
 4318 ?        Ss     0:00 /usr/sbin/atd
 4325 ?        Ss     0:00 /usr/sbin/cron
 4339 ?        Ss     0:00 /usr/bin/kdm
 4357 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 4359 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 4360 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 4361 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 4362 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 4364 tty6     Ss+    0:00 /sbin/getty 38400 tty6
22675 tty7     SLs+  15:05 /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-qxK4gX
22676 ?        S      0:00 -:0
22687 ?        Ss     0:00 /bin/sh /usr/bin/startkde
22731 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde
22734 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/startkde
22735 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
22768 ?        S      0:00 start_kdeinit --new-startup +kcminit_startup
22769 ?        Ss     0:00 kdeinit Running...
22772 ?        S      0:00 dcopserver [kdeinit] --nosid
22774 ?        S      0:00 klauncher [kdeinit] --new-startup
22776 ?        S      0:04 kded [kdeinit] --new-startup
22781 ?        S      0:00 kwrapper ksmserver
22783 ?        S      0:00 ksmserver [kdeinit]
22784 ?        S      0:24 kwin [kdeinit] -session 10dce36472000116552693800000046760000_1166925214_295735
22786 ?        S      0:00 knotify [kdeinit]
22788 ?        S      0:22 kdesktop [kdeinit]
22791 ?        SL    25:32 /usr/bin/artsd -F 10 -S 4096 -a alsa -d -m artsmessage -c drkonqi -l 3 -f
22793 ?        Ss     0:00 /usr/bin/artsd -F 10 -S 4096 -a alsa -d -m artsmessage -c drkonqi -l 3 -f
22795 ?        Ss     0:00 /usr/bin/artsd -F 10 -S 4096 -a alsa -d -m artsmessage -c drkonqi -l 3 -f
22797 ?        S      0:25 kicker [kdeinit]
22805 ?        S      0:03 kaccess [kdeinit]
22808 ?        S      0:00 kmix [kdeinit] -session 10dce36472000116586491600000066180008_1166925214_283812
22811 ?        S      0:00 klipper [kdeinit]
23040 ?        R      0:08 /usr/bin/konsole
23041 pts/1    Ss     0:00 /bin/bash
23075 pts/2    Ss     0:00 /bin/bash
23249 ?        S      0:08 konqueror [kdeinit] --silent
24082 ?        Sl     0:27 licq
24239 ?        SLl    4:41 amarokapp
24253 ?        S      0:00 ruby /usr/share/apps/amarok/scripts/score_default/score_default.rb
24254 ?        S      0:00 ruby /usr/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb
24374 pts/1    S      0:00 su -
24375 pts/1    S      0:00 -su
24398 ?        S      0:00 /usr/lib/libgconf2-4/gconfd-2 10
24407 ?        Rl     3:01 /usr/lib/firefox/firefox-bin
25249 ?        S<     0:00 [scsi_eh_4]
25250 ?        S<     0:00 [usb-storage]
25273 ?        S      0:00 hald-addon-storage: polling /dev/sdf
25312 ?        S      0:00 kio_uiserver [kdeinit]
25527 ?        S      0:05 konqueror [kdeinit] --silent
25550 ?        S      0:00 kio_file [kdeinit] file /tmp/ksocket-spitfire/klauncherRuMAda.slave-socket /tmp/ksocket-spitfire/konqueror6ncWOa.slave-socket
26714 pts/2    S+     0:00 vim /etc/X11/xorg.conf
26728 pts/1    R+     0:00 ps ax


/etc/X11/xorg.conf

Quellcode

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
gudrun:~# cat /etc/X11/xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
        Option          "XkbVariant"    "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Device" "/dev/input/event1"
        Option          "Logitech MX510"
        #Option         "Protocol" "ImPS/2"
        #Option         "Resolution" "800"
EndSection

Section "Device"
        Identifier      "nVidia GeForce 6200"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "HP L1720"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia GeForce 6200"
        Monitor         "HP L1720"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

9

27.12.2006, 16:51

ok,
versuch mal folgendes, trage in die xorg.conf folgenden abschnitt ein

Zitat


Section "ServerFlags"
Option "blank time" "0"
EndSection

eine section "serverflags" gibts ja noch nicht, musst du also anlegen.
dann das x neu starten.

ansonsten schau dir mal den start des X-servers an, die optionen zum screensaver sind
-s time
-logo
v
-p
irgendetwas davon muss da ja auftauchen und wird die einstellung der xorg.conf evtl wieder aushebeln.
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

10

27.12.2006, 17:18

Quellcode

1
2
3
Section "ServerFlags"
Option "blank time" "0"
EndSection

... brachte nicht den gewünschten erfolg.

Letzteres werde ich ausprobieren, allerdings muss ich nun weg.
Ich denke morgen werd ich Zeit haben. Ich schreibe wieder :)

Danke nochmal!
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

11

28.12.2006, 13:39

Hey, also ich hänge hier nun mal mein globales Xsession Script an, ich kann da echt nichts finden.
Wenn du mir verrätst wie ich ein Log von dem Xserver Startup erstelle, könnte ich das auch mal noch anschauen...

Aber hier in /etc/X11/Xsession gibt es meines Erachtens nichts, was mit dem Screensaver zu tun hat...

Quellcode

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
#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)

# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $

set -e

PROGNAME=Xsession

message () {
  # pretty-print messages of arbitrary length; use xmessage if it
  # is available and $DISPLAY is set
  MESSAGE="$PROGNAME: $*"
  echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2
  if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
    echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
  fi
}

message_nonl () {
  # pretty-print messages of arbitrary length (no trailing newline); use
  # xmessage if it is available and $DISPLAY is set
  MESSAGE="$PROGNAME: $*"
  echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2;
  if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then
    echo -n "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file -
  fi
}

errormsg () {
  # exit script with error
  message "$*"
  exit 1
}

internal_errormsg () {
  # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message
  # One big call to message() for the sake of xmessage; if we had two then
  # the user would have dismissed the error we want reported before seeing the
  # request to report it.
  errormsg "$*" \
           "Please report the installed version of the "x11-common"" \
           "package and the complete text of this error message to" \
           "<debian-x@lists.debian.org>."
}

run_parts () {
  # until run-parts --noexec is implemented
  if [ -z "$1" ]; then
    internal_errormsg "run_parts() called without an argument."
  fi
  if [ ! -d "$1" ]; then
    internal_errormsg "run_parts() called, but "$1" does not exist or is" \
                      "not a directory."
  fi
  for F in $(/bin/ls $1); do
    if expr "$F" : '[[:alnum:]_-]\+$' > /dev/null 2>&1; then
      if [ -f "$1/$F" ]; then
        echo "$1/$F"
      fi
    fi
  done
}

# initialize variables for use by all session scripts

OPTIONFILE=/etc/X11/Xsession.options

SYSRESOURCES=/etc/X11/Xresources
USRRESOURCES=$HOME/.Xresources

SYSSESSIONDIR=/etc/X11/Xsession.d
USERXSESSION=$HOME/.xsession
ALTUSERXSESSION=$HOME/.Xsession
ERRFILE=$HOME/.xsession-errors

# attempt to create an error file; abort if we cannot
if touch "$ERRFILE" 2> /dev/null && [ -w "$ERRFILE" ] &&
  [ ! -L "$ERRFILE" ]; then
  chmod 600 "$ERRFILE"
elif ERRFILE=$(tempfile 2> /dev/null); then
  if ! ln -sf "$ERRFILE" "${TMPDIR:=/tmp}/xsession-$USER"; then
    message "warning: unable to symlink "$TMPDIR/xsession-$USER" to" \
             ""$ERRFILE"; look for session log/errors in" \
             ""$TMPDIR/xsession-$USER"."
  fi
else
  errormsg "unable to create X session log/error file; aborting."
fi

exec >>"$ERRFILE" 2>&1

echo "$PROGNAME: X session started for $LOGNAME at $(date)"

# sanity check; is our session script directory present?
if [ ! -d "$SYSSESSIONDIR" ]; then
  errormsg "no "$SYSSESSIONDIR" directory found; aborting."
fi

# Attempt to create a file of non-zero length in /tmp; a full filesystem can
# cause mysterious X session failures.  We do not use touch, :, or test -w
# because they won't actually create a file with contents.  We also let standard
# error from tempfile and echo go to the error file to aid the user in
# determining what went wrong.
WRITE_TEST=$(tempfile)
if ! echo "*" >>"$WRITE_TEST"; then
  message "warning: unable to write to ${WRITE_TEST%/*}; X session may exit" \
          "with an error"
fi
rm -f "$WRITE_TEST"

# use run-parts to source every file in the session directory; we source
# instead of executing so that the variables and functions defined above
# are available to the scripts, and so that they can pass variables to each
# other
SESSIONFILES=$(run_parts $SYSSESSIONDIR)
if [ -n "$SESSIONFILES" ]; then
  set +e
  for SESSIONFILE in $SESSIONFILES; do
    . $SESSIONFILE
  done
  set -e
fi

exit 0

# vim:set ai et sts=2 sw=2 tw=80:
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

12

28.12.2006, 13:56

die logdatei ist /var/log/Xorg.0.log
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

linuxerr

Prof. Dr. Schlaumeier

  • »linuxerr« ist männlich

Beiträge: 8 557

Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)

  • Nachricht senden

13

28.12.2006, 14:14

vielleciht ist es ja sinnvoll, nach dem ausschlussverfahren vorzugehen.

um sicher zu gehen, dass der screensaver nicht aus der xorg.conf kommt, würde ich wie folgt vorgehen
1. das x-system komplett beenden (xdm-manager beenden, X killen)
im userlogin
2. nacktes X starten (X :0) und abwarten ob sich ein screensaver meldet
3. X mit init starten und warten ob ein screensaver auftaucht
4. bei startx müsste er dann ja spätestens wieder auftauchen
Die Rechtschreibfehler in diesem Beitrag sind nicht urheberrechtlich geschützt.
Jeder der einen findet darf ihn behalten und in eigenen Werken weiterverwenden.

14

28.12.2006, 18:00

okay, in der log kann ich auch nichts feststellen, ich probier mal das ausschlussverfahren erst aus, bevor ich das 200 zeilen vieh hier rein stell.

Danke!
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

15

02.01.2007, 03:36

Nachdem mir nun alles zu blöd wurde, habe ich es folgendermaßen gelöst:

in die Datei /etc/kde3/kdm/Xsession (Passt auf Debian 3.1 Testing)

Quellcode

1
2
3
xset dpms 0 0 0
xset -dpms
xset s off


Nun ist wieder alles in Ordnung. Gerade lass ich ein apt-get upgrade laufen, und der Xserver ist auch dabei. Hoff mal da passiert nicht wieder so ein Sch***! :P

Danke dir für deine Hilfe!

Bis die Tage!
Daniel

PS: A gut's Neues noch!
Burning Flesh, Dripping Sweat, Unison,
Like A Paralysed Snake, Charmed And Enchanted By The Babalon Whore

Imhotep

followed the white rabbit

Beiträge: 1 530

Wohnort: Leipzig

Beruf: Informatiker

  • Nachricht senden

16

13.01.2007, 22:51

Der Vorschlag von linuxerr war schon richtig, nur war ein Schreibfehler war drin.
Hatte auch das Problem und so war es gelöst

Quellcode

1
2
3
Section "ServerFlags"
  Option      "Blanktime"    "0"
EndSection
localhost,
sweet localhost

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Imhotep« (13.01.2007, 22:51)


Thema bewerten