Wyłączanie synchronizacji poprzez rc.local
: 12 maja 2014, 16:55
Witam,
Mam problem z /etc/rc.local, dopisuje do niego
nie działa.
Jak wpisuje w terminal to widać efekty w glxgears.
Dlatego chciałbym żeby automatycznie się uruchamiało.
Jak chodzi o rc.local, to musze mieć coś nie tak
a mój rc.local
Rozwiązałem problem poprzez logi ( http://dug.net.pl/tekst/229/komunikaty_ ... u_systemu/ )
Mam problem z /etc/rc.local, dopisuje do niego
Kod: Zaznacz cały
export vblank_mode=0
nie działa.
Jak wpisuje w terminal to widać efekty w glxgears.
Kod: Zaznacz cały
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
1979 frames in 5.0 seconds = 395.304 FPS
1952 frames in 5.0 seconds = 390.357 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 4138 requests (4138 known processed) with 0 events remaining.
Jak chodzi o rc.local, to musze mieć coś nie tak
Kod: Zaznacz cały
root@jace:/home/jacek# service --status-all
[ + ] acpi-fakekey
[ - ] acpi-support
[ + ] acpid
[ ? ] alsa-utils
[ - ] anacron
[ + ] atd
[ + ] avahi-daemon
[ + ] bluetooth
[ - ] bootlogs
[ ? ] bootmisc.sh
[ ? ] checkfs.sh
[ ? ] checkroot-bootclean.sh
[ - ] checkroot.sh
[ + ] cmdavd
[ + ] cmdmgd
[ - ] console-setup
[ + ] cron
[ ? ] cryptdisks
[ ? ] cryptdisks-early
[ + ] cups
[ + ] dbus
[ + ] exim4
[ ? ] hdparm
[ - ] hostname.sh
[ ? ] hwclock.sh
[ - ] kbd
[ - ] keyboard-setup
[ ? ] killprocs
[ ? ] kmod
[ + ] lightdm
[ - ] lvm2
[ + ] mdadm
[ + ] mdadm-raid
[ ? ] mdadm-waitidle
[ - ] motd
[ ? ] mountall-bootclean.sh
[ ? ] mountall.sh
[ ? ] mountdevsubfs.sh
[ ? ] mountkernfs.sh
[ ? ] mountnfs-bootclean.sh
[ ? ] mountnfs.sh
[ ? ] mtab.sh
[ + ] network-manager
[ ? ] networking
[ + ] nfs-common
[ ? ] pppd-dns
[ - ] procps
[ + ] pulseaudio
[ ? ] rc.local
[ - ] rmnologin
[ + ] rpcbind
[ + ] rsyslog
[ + ] saned
[ ? ] sendsigs
[ - ] sudo
[ + ] udev
[ ? ] udev-mtab
[ + ] ufw
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ - ] unattended-upgrades
[ - ] urandom
[ - ] x11-common
root@jace:/home/jacek#
Kod: Zaznacz cały
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
export vblank_mode=0
exit 0