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.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Spitfire« (27.12.2006, 15:19)
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
test $UID -gt 0 && test -z $VNCSESSION && xscreensaver -no-splash &
Zitat
#test $UID -gt 0 && test -z $VNCSESSION && xscreensaver -no-splash &
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
Option "BlankTime" "time"
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Spitfire« (27.12.2006, 16:29)
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
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 |
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 |
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Zitat
Section "ServerFlags"
Option "blank time" "0"
EndSection
Quellcode |
|
1 2 3 |
Section "ServerFlags" Option "blank time" "0" EndSection |
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: |
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)
Quellcode |
|
1 2 3 |
xset dpms 0 0 0 xset -dpms xset s off |
Quellcode |
|
1 2 3 |
Section "ServerFlags" Option "Blanktime" "0" EndSection |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Imhotep« (13.01.2007, 22:51)