Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3238
  • Last Modified:

Stop screen from going blank in Ubuntu

I will start with my question then add some explanation for those who care.  I'm about to loose my mind!

Question:
I need XUbuntu 8.10 (intrepid) to NEVER blank the screen, even when no one is logged in.  Seems simple, right.  Well It's not so simple as I have found, or maybe I'm stupid, or both...who knows!

A quick summary of what I am doing (will post my code below):
I'm trying to use an ooooooold (I mean this thing has Jesus' beeper number old) laptop as a picture frame.  It runs XUbuntu well enough, has WiFi, and a decent screen.

I'm using an init script to call some other scripts to start up images using feh without actually starting full X.  The F1 terminal stays at a login prompt all the time while it switches to the F7 terminal and shows its images (right now a webcam in germany).  When you start it up everything works fine until 20 minutes passes then the screen goes blank unless you touch the keyboard or mouse.  You can see my problem here; a digital picture frame isn't worth much if it goes blank after 20 min.

You will see in my scripts I'm trying to do some setterm stuff, but it doesn't work.

Can anyone help me?
brad@frame1:~$ cat /etc/init.d/picframe
#!/bin/sh
#Start/Stop the pitctureframe
#
#Licensed under the GNU GPL v1.2+ (http://www.gnu.org/licenses/gpl.html)
 
### BEGIN INIT INFO
# Provides:             defaultdaemon
# Required-Start:       $all
# Required-Stop:
# Default-Start:        2 3 4 5
# Default-Stop:         0 1 6
# Short-Description:    Start picframe at boot time
# Description:          Enable service provided by feh and picframe
### END INIT INFO
 
 
test -f /home/brad/reloadslideshow.sh || exit 0
 
test -f /home/brad/killslideshow.sh || exit 0
 
test -f /home/brad/slideshow.sh || exit 0
 
test -f /home/brad/mnt.sh || exit 0
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/home/brad
 
case "$1" in
start) echo -n "Starting pictureframe"
echo "Are you asleep?"> /dev/mouse
echo "WAKE UP!!!"> /dev/mouse
sleep 5
echo "you getting up or what? You are going to miss the buss" > /dev/mouse
setterm -term linux -blank 0
 
/home/brad/reloadslideshow.sh
 
;;
stop)
echo -n "Stopping pictureframe"
/home/brad/killslideshow.sh
 
setterm -term linux -blank 1
 
;;
restart)
echo -n "Restarting pictureframe"
setterm -term linux -blank 0
/home/brad/reloadslideshow.sh
 
;;
*)
echo "Usage: /etc/init.d/picframe
start | stop | restart"
 
exit 1
 
;;
esac
 
exit 0
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
brad@frame1:~$ cat reloadslideshow.sh
#!/bin/bash
#This file is located at /home/brad/reloadslideshow.sh
#
#Licensed under the GNU GPL v1.2+ (http://www.gnu.org/licenses/gpl.html)
 
/home/brad/killslideshow.sh
 
sleep 5
 
/home/brad/mnt.sh
 
sleep 1
 
/usr/bin/X11/xinit /home/brad/slideshow.sh &
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
brad@frame1:~$ cat killslideshow.sh
#!/bin/bash
#This file is located at /home/brad/killslideshow.sh
#
#Licensed under the GNU GPL v1.2+ (http://www.gnu.org/licenses/gpl.html)
killall feh unclutter
killall -g slideshow.sh
umount -f /mnt/server
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
brad@frame1:~$ cat mnt.sh
#!/bin/bash
#This file is located at /home/brad/mnt.sh
#
#Licensed under the GNU GPL v1.2+ (http://www.gnu.org/licenses/gpl.html)
mount.cifs //192.168.0.4/e$/Photos /mnt/server -o username=someuser%somepass
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
brad@frame1:~$ cat slideshow.sh
#!/bin/bash
#This file is located at /home/brad/slideshow.sh
#
#Licensed under the GNU GPL v1.2+ (http://www.gnu.org/licenses/gpl.html)
 
 
unclutter & feh -FZ -R30  http://www.wdr.de/themen/global/webcams/domcam/domcam_live.jpg
brad@frame1:~$

Open in new window

0
mcsween
Asked:
mcsween
  • 16
  • 9
  • 7
2 Solutions
 
AdamsConsultingCommented:
If you're running gnome, start gconf-editor and go to apps - gnome-screensaver and uncheck the idle enable setting.

You may also be able to use gconftool-2 to do this manually.

gconftool-2 --set /apps/gnome-screensaver/idle_activation_enabled --type=bool false
0
 
mcsweenSr. Network AdministratorAuthor Commented:
will I have to do this every time or just once?

Also the F1 terminal does not go blank at all so I guess setterm is doing something
0
 
dzamfirCommented:
Are you sure is not the power saving?

If you add:
Option "DPMS" "False"  

to your xorg.conf file, will not help?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
dzamfirCommented:
Or check if you have that option with True value. If so, make it false or commented out.
0
 
mcsweenSr. Network AdministratorAuthor Commented:
tried this:

gconftool-2 --set /apps/gnome-screensaver/idle_activation_enabled --type=bool false

restarted, 20 minutes...blank screen.

Let me look into xorg.conf

I should have added the disclaimer that most of my linux experience is limited to ESX, FTP, and Apache servers.  Not real good with all the GUI stuff
0
 
AdamsConsultingCommented:
mscween, you'll only have to do that once.
0
 
dzamfirCommented:
Well, it seems that  was right (and I hope is your case also!) Read more info here:

https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/30969

and also here (if you don't want to disable DPMS for personally reasons):

https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/30969/comments/37
0
 
mcsweenSr. Network AdministratorAuthor Commented:
I have no xorg.conf file anywhere.  Even ran an updatedb and searched for one.


It could very well be the power saving, no idea how to shut it off still.

0
 
mcsweenSr. Network AdministratorAuthor Commented:
remember I am running XUbuntu if that makes any difference.  Supposed to be a super low overhead X interface

http://www.ubuntu.com/products/whatisubuntu/xubuntu
0
 
AdamsConsultingCommented:
System -> Preferences -> Power Management
0
 
dzamfirCommented:
0
 
mcsweenSr. Network AdministratorAuthor Commented:
I have no xorg.conf on my system.

Should I go ahead and create /etc/X11/xorg.conf and add the stuff to it?  Being that this file is non-existant I don't understand how X can startup (which it will just fine if I issue startx as root).  Could this file have a different name?

I am at work now and will not be able to try until tonight.
0
 
mcsweenSr. Network AdministratorAuthor Commented:
Adams:

I have already tried turning off all power saving stuff in System --> Prefrences --> Power Management to no avail.

I did notice last night when feh starts up it cries about needing to bypass my window manager to display a borderless window.  Does that mean it's not using any Xorg stuff?  Would feh start on it's own without X?  It seems unlikely but I'm not going to assume anything right now.
0
 
dzamfirCommented:
Did you tried or can you please search for all .conf files in the whole system?  there should be something I think...

find / -type f -name "*.conf"

Put the output into a file.txt and attach here. We will see...
0
 
mcsweenSr. Network AdministratorAuthor Commented:
I will post tonight when I get home
0
 
AdamsConsultingCommented:
If you disabled the screen saver and the power management, then the screen should not be blanking. I'm concerned that under System -> Preferences -> Screensaver you did not uncheck the idle activation. Also, under System -> Preferences -> Power Management you didn't change all settings to Never.
0
 
mcsweenSr. Network AdministratorAuthor Commented:
/lib/linux-sound-base/noOSS.modprobe.conf
/lib/linux-sound-base/noALSA.modprobe.conf
/etc/popularity-contest.conf
/etc/sane.d/gt68xx.conf
/etc/sane.d/sm3840.conf
/etc/sane.d/sceptre.conf
/etc/sane.d/coolscan.conf
/etc/sane.d/dc210.conf
/etc/sane.d/canon630u.conf
/etc/sane.d/mustek_pp.conf
/etc/sane.d/u12.conf
/etc/sane.d/pie.conf
/etc/sane.d/nec.conf
/etc/sane.d/dmc.conf
/etc/sane.d/artec_eplus48u.conf
/etc/sane.d/hp5400.conf
/etc/sane.d/dll.conf
/etc/sane.d/mustek_usb.conf
/etc/sane.d/canon_pp.conf
/etc/sane.d/lexmark.conf
/etc/sane.d/stv680.conf
/etc/sane.d/leo.conf
/etc/sane.d/hp.conf
/etc/sane.d/abaton.conf
/etc/sane.d/dc240.conf
/etc/sane.d/fujitsu.conf
/etc/sane.d/umax.conf
/etc/sane.d/net.conf
/etc/sane.d/coolscan2.conf
/etc/sane.d/ricoh.conf
/etc/sane.d/epson2.conf
/etc/sane.d/plustek.conf
/etc/sane.d/hp3900.conf
/etc/sane.d/sharp.conf
/etc/sane.d/microtek2.conf
/etc/sane.d/v4l.conf
/etc/sane.d/teco2.conf
/etc/sane.d/test.conf
/etc/sane.d/dell1600n_net.conf
/etc/sane.d/bh.conf
/etc/sane.d/umax_pp.conf
/etc/sane.d/hp4200.conf
/etc/sane.d/cardscan.conf
/etc/sane.d/s9036.conf
/etc/sane.d/artec.conf
/etc/sane.d/matsushita.conf
/etc/sane.d/snapscan.conf
/etc/sane.d/epson.conf
/etc/sane.d/gphoto2.conf
/etc/sane.d/ma1509.conf
/etc/sane.d/teco3.conf
/etc/sane.d/qcam.conf
/etc/sane.d/hpsj5s.conf
/etc/sane.d/apple.conf
/etc/sane.d/plustek_pp.conf
/etc/sane.d/microtek.conf
/etc/sane.d/canon.conf
/etc/sane.d/genesys.conf
/etc/sane.d/umax1220u.conf
/etc/sane.d/sp15c.conf
/etc/sane.d/avision.conf
/etc/sane.d/dc25.conf
/etc/sane.d/epjitsu.conf
/etc/sane.d/mustek.conf
/etc/sane.d/st400.conf
/etc/sane.d/saned.conf
/etc/sane.d/ibm.conf
/etc/sane.d/agfafocus.conf
/etc/sane.d/hs2p.conf
/etc/sane.d/teco1.conf
/etc/sane.d/tamarack.conf
/etc/logrotate.conf
/etc/PolicyKit/PolicyKit.conf
/etc/gai.conf
/etc/fonts/fonts.conf
/etc/fonts/conf.avail/10-antialias.conf
/etc/fonts/conf.avail/10-unhinted.conf
/etc/fonts/conf.avail/30-metric-aliases.conf
/etc/fonts/conf.avail/10-hinting-full.conf
/etc/fonts/conf.avail/10-hinting-medium.conf
/etc/fonts/conf.avail/30-cjk-aliases.conf
/etc/fonts/conf.avail/41-ttf-arphic-uming.conf
/etc/fonts/conf.avail/69-language-selector-zh-tw.conf
/etc/fonts/conf.avail/10-sub-pixel-bgr.conf
/etc/fonts/conf.avail/99-language-selector-zh.conf
/etc/fonts/conf.avail/25-ttf-arphic-uming-bitmaps.conf
/etc/fonts/conf.avail/53-monospace-lcd-filter.conf
/etc/fonts/conf.avail/51-local.conf
/etc/fonts/conf.avail/52-languageselector.conf
/etc/fonts/conf.avail/29-language-selector-zh.conf
/etc/fonts/conf.avail/45-latin.conf
/etc/fonts/conf.avail/69-language-selector-zh-mo.conf
/etc/fonts/conf.avail/65-ttf-thai-tlwg.conf
/etc/fonts/conf.avail/70-yes-bitmaps.conf
/etc/fonts/conf.avail/65-khmer.conf
/etc/fonts/conf.avail/35-ttf-arphic-uming-aliases.conf
/etc/fonts/conf.avail/65-nonlatin.conf
/etc/fonts/conf.avail/69-language-selector-zh-sg.conf
/etc/fonts/conf.avail/29-language-selector-ja-jp.conf
/etc/fonts/conf.avail/20-fix-globaladvance.conf
/etc/fonts/conf.avail/10-sub-pixel-rgb.conf
/etc/fonts/conf.avail/29-language-selector-ko-kr.conf
/etc/fonts/conf.avail/80-delicious.conf
/etc/fonts/conf.avail/20-unhint-small-vera.conf
/etc/fonts/conf.avail/11-lcd-filter-lcddefault.conf
/etc/fonts/conf.avail/25-ttf-arphic-uming-nobitmaps.conf
/etc/fonts/conf.avail/49-sansserif.conf
/etc/fonts/conf.avail/69-language-selector-ja-jp.conf
/etc/fonts/conf.avail/69-language-selector-zh-hk.conf
/etc/fonts/conf.avail/10-hinting-slight.conf
/etc/fonts/conf.avail/50-user.conf
/etc/fonts/conf.avail/90-synthetic.conf
/etc/fonts/conf.avail/69-language-selector-ko-kr.conf
/etc/fonts/conf.avail/65-fonts-persian.conf
/etc/fonts/conf.avail/25-ttf-arphic-uming-render.conf
/etc/fonts/conf.avail/90-ttf-arphic-uming-embolden.conf
/etc/fonts/conf.avail/64-ttf-arphic-uming.conf
/etc/fonts/conf.avail/10-hinting.conf
/etc/fonts/conf.avail/70-no-bitmaps.conf
/etc/fonts/conf.avail/10-autohint.conf
/etc/fonts/conf.avail/40-nonlatin.conf
/etc/fonts/conf.avail/69-unifont.conf
/etc/fonts/conf.avail/25-unhint-nonlatin.conf
/etc/fonts/conf.avail/10-sub-pixel-vrgb.conf
/etc/fonts/conf.avail/30-urw-aliases.conf
/etc/fonts/conf.avail/69-language-selector-zh-cn.conf
/etc/fonts/conf.avail/90-ttf-thai-tlwg-synthetic.conf
/etc/fonts/conf.avail/10-sub-pixel-vbgr.conf
/etc/fonts/conf.avail/60-latin.conf
/etc/fonts/conf.avail/69-language-selector-ka-ge.conf
/etc/fonts/conf.avail/10-no-sub-pixel.conf
/etc/ufw/ufw.conf
/etc/ufw/sysctl.conf
/etc/e2fsck.conf
/etc/wodim.conf
/etc/scrollkeeper.conf
/etc/pam.conf
/etc/lftp.conf
/etc/laptop-mode/laptop-mode.conf
/etc/laptop-mode/conf.d/start-stop-programs.conf
/etc/laptop-mode/conf.d/ac97-powersave.conf
/etc/laptop-mode/conf.d/configuration-file-control.conf
/etc/laptop-mode/conf.d/cpufreq.conf
/etc/laptop-mode/conf.d/video-out.conf
/etc/laptop-mode/conf.d/lcd-brightness.conf
/etc/laptop-mode/conf.d/sched-mc-power-savings.conf
/etc/laptop-mode/conf.d/hal-polling.conf
/etc/laptop-mode/conf.d/wireless-iwl-power.conf
/etc/laptop-mode/conf.d/dpms-standby.conf
/etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
/etc/laptop-mode/conf.d/wireless-ipw-power.conf
/etc/laptop-mode/conf.d/ethernet.conf
/etc/laptop-mode/conf.d/bluetooth.conf
/etc/laptop-mode/conf.d/terminal-blanking.conf
/etc/laptop-mode/conf.d/auto-hibernate.conf
/etc/foomatic/filter.conf
/etc/adduser.conf
/etc/gre.d/1.9.0.3.system.conf
/etc/ucf.conf
/etc/mke2fs.conf
/etc/hp/hplip.conf
/etc/ca-certificates.conf
/etc/syslog.conf
/etc/xdg/xubuntu/gdm/gdm.conf
/etc/belocs/locale-gen.conf
/etc/netscsid.conf
/etc/ltrace.conf
/etc/gdm/locale.conf
/etc/gdm/gdm.conf
/etc/sysctl.conf
/etc/bluetooth/input.conf
/etc/bluetooth/audio.conf
/etc/bluetooth/rfcomm.conf
/etc/bluetooth/network.conf
/etc/bluetooth/main.conf
/etc/deluser.conf
/etc/updatedb.conf
/etc/apport/crashdb.conf
/etc/ld.so.conf.d/libasound2.conf
/etc/ld.so.conf.d/libc.conf
/etc/ld.so.conf.d/i486-linux-gnu.conf
/etc/nsswitch.conf
/etc/ld.so.conf
/etc/host.conf
/etc/dhcp3/dhclient.conf
/etc/sensors.conf
/etc/ldap/ldap.conf
/etc/pnm2ppa.conf
/etc/kernel-img.conf
/etc/fuse.conf
/etc/resolv.conf
/etc/security/sepermit.conf
/etc/security/group.conf
/etc/security/access.conf
/etc/security/pam_env.conf
/etc/security/namespace.conf
/etc/security/time.conf
/etc/security/limits.conf
/etc/apparmor/logprof.conf
/etc/apparmor/subdomain.conf
/etc/gtk-2.0/im-multipress.conf
/etc/sysctl.d/10-tcp-timestamps-workaround.conf
/etc/sysctl.d/10-network-security.conf
/etc/sysctl.d/10-console-messages.conf
/etc/sysctl.d/10-process-security.conf
/etc/esound/esd.conf
/etc/avahi/avahi-daemon.conf
/etc/usplash.conf
/etc/hdparm.conf
/etc/wvdial.conf
/etc/initramfs-tools/update-initramfs.conf
/etc/initramfs-tools/initramfs.conf
/etc/udev/udev.conf
/etc/debconf.conf
/etc/depmod.d/ubuntu.conf
/etc/NetworkManager/nm-system-settings.conf
/etc/hesiod.conf
/etc/defoma/config/pango.conf
/etc/defoma/config/x-ttcidfont-conf.conf
/etc/cups/cupsd.conf
/etc/cups/snmp.conf
/etc/cups/acroread.conf
/etc/cups/pdftops.conf
/etc/gconf/2/evoldap.conf
/etc/uniconf.conf
/etc/samba/smb.conf
/etc/gnome-vfs-2.0/modules/extra-modules.conf
/etc/gnome-vfs-2.0/modules/default-modules.conf
/etc/dbus-1/system.d/newprinternotification.conf
/etc/dbus-1/system.d/org.freedesktop.PolicyKit.conf
/etc/dbus-1/system.d/hal.conf
/etc/dbus-1/system.d/ConsoleKit.conf
/etc/dbus-1/system.d/nm-dispatcher.conf
/etc/dbus-1/system.d/cups.conf
/etc/dbus-1/system.d/wpa_supplicant.conf
/etc/dbus-1/system.d/nm-system-settings.conf
/etc/dbus-1/system.d/nm-applet.conf
/etc/dbus-1/system.d/org.gnome.GConf.Defaults.conf
/etc/dbus-1/system.d/bluetooth.conf
/etc/dbus-1/system.d/com.ubuntu.DeviceDriver.conf
/etc/dbus-1/system.d/system-tools-backends.conf
/etc/dbus-1/system.d/obex-data-server.conf
/etc/dbus-1/system.d/nm-dhcp-client.conf
/etc/dbus-1/system.d/NetworkManager.conf
/etc/dbus-1/system.d/avahi-dbus.conf
/etc/dbus-1/system.conf
/etc/dbus-1/session.conf
/var/lib/ucf/cache/:etc:sensors.conf
/var/lib/ucf/cache/:etc:samba:smb.conf
/var/lib/ucf/cache/:etc:foomatic:filter.conf
/var/lib/defoma/fontconfig.d/fonts.conf
/var/run/nm-dhclient-eth0.conf
/usr/src/linux-headers-2.6.27-7-generic/include/config/auto.conf
/usr/share/alsa/smixer.conf
/usr/share/alsa/cards/ICH.conf
/usr/share/alsa/cards/AU8810.conf
/usr/share/alsa/cards/VIA8237.conf
/usr/share/alsa/cards/ICH-MODEM.conf
/usr/share/alsa/cards/aliases.conf
/usr/share/alsa/cards/AACI.conf
/usr/share/alsa/cards/VIA8233.conf
/usr/share/alsa/cards/ATIIXP-SPDMA.conf
/usr/share/alsa/cards/AU8830.conf
/usr/share/alsa/cards/ENS1371.conf
/usr/share/alsa/cards/Audigy.conf
/usr/share/alsa/cards/GUS.conf
/usr/share/alsa/cards/TRID4DWAVENX.conf
/usr/share/alsa/cards/PC-Speaker.conf
/usr/share/alsa/cards/ES1968.conf
/usr/share/alsa/cards/Audigy2.conf
/usr/share/alsa/cards/VX222.conf
/usr/share/alsa/cards/Aureon51.conf
/usr/share/alsa/cards/CS46xx.conf
/usr/share/alsa/cards/ENS1370.conf
/usr/share/alsa/cards/VXPocket440.conf
/usr/share/alsa/cards/SI7018.conf
/usr/share/alsa/cards/HDA-Intel.conf
/usr/share/alsa/cards/FM801.conf
/usr/share/alsa/cards/EMU10K1X.conf
/usr/share/alsa/cards/CMI8338-SWIEC.conf
/usr/share/alsa/cards/AU8820.conf
/usr/share/alsa/cards/ATIIXP-MODEM.conf
/usr/share/alsa/cards/PS3.conf
/usr/share/alsa/cards/PMacToonie.conf
/usr/share/alsa/cards/ICE1712.conf
/usr/share/alsa/cards/CMI8738-MC8.conf
/usr/share/alsa/cards/PMac.conf
/usr/share/alsa/cards/VIA8233A.conf
/usr/share/alsa/cards/Aureon71.conf
/usr/share/alsa/cards/NFORCE.conf
/usr/share/alsa/cards/ICH4.conf
/usr/share/alsa/cards/CA0106.conf
/usr/share/alsa/cards/Maestro3.conf
/usr/share/alsa/cards/RME9636.conf
/usr/share/alsa/cards/VIA686A.conf
/usr/share/alsa/cards/CMI8788.conf
/usr/share/alsa/cards/ICE1724.conf
/usr/share/alsa/cards/CMI8738-MC6.conf
/usr/share/alsa/cards/RME9652.conf
/usr/share/alsa/cards/ATIIXP.conf
/usr/share/alsa/cards/YMF744.conf
/usr/share/alsa/cards/VXPocket.conf
/usr/share/alsa/cards/CMI8338.conf
/usr/share/alsa/cards/USB-Audio.conf
/usr/share/alsa/cards/EMU10K1.conf
/usr/share/alsa/pcm/surround41.conf
/usr/share/alsa/pcm/rear.conf
/usr/share/alsa/pcm/surround51.conf
/usr/share/alsa/pcm/dmix.conf
/usr/share/alsa/pcm/default.conf
/usr/share/alsa/pcm/surround71.conf
/usr/share/alsa/pcm/side.conf
/usr/share/alsa/pcm/hdmi.conf
/usr/share/alsa/pcm/dpl.conf
/usr/share/alsa/pcm/iec958.conf
/usr/share/alsa/pcm/dsnoop.conf
/usr/share/alsa/pcm/center_lfe.conf
/usr/share/alsa/pcm/surround40.conf
/usr/share/alsa/pcm/surround50.conf
/usr/share/alsa/pcm/modem.conf
/usr/share/alsa/pcm/front.conf
/usr/share/alsa/bluetooth.conf
/usr/share/alsa/alsa.conf
/usr/share/ufw/ufw.conf
/usr/share/debconf/debconf.conf
/usr/share/pnm2ppa/pnm2ppa.conf
/usr/share/base-files/nsswitch.conf
/usr/share/popularity-contest/default.conf
/usr/share/adduser/adduser.conf
/usr/share/doc/apt-utils/examples/apt-ftparchive.conf
/usr/share/doc/libcups2/examples/client.conf
/usr/share/doc/procps/examples/sysctl.conf
/usr/share/doc/rsync/examples/rsyncd.conf
/usr/share/doc/wpasupplicant/examples/wpa2-eap-ccmp.conf
/usr/share/doc/wpasupplicant/examples/plaintext.conf
/usr/share/doc/wpasupplicant/examples/openCryptoki.conf
/usr/share/doc/wpasupplicant/examples/wpa-roam.conf
/usr/share/doc/wpasupplicant/examples/ieee8021x.conf
/usr/share/doc/wpasupplicant/examples/wep.conf
/usr/share/doc/wpasupplicant/examples/wpa-psk-tkip.conf
/usr/share/doc/foomatic-filters/examples/filter.conf
/usr/share/doc/memtest86+/examples/lilo.conf
/usr/share/doc/python-gnome2/examples/vfs/pygvfsmethod/pyfs.conf
/usr/share/doc/apt/examples/apt.conf
/usr/share/doc/adduser/examples/adduser.local.conf.examples/adduser.conf
/usr/share/doc/adduser/examples/adduser.local.conf
/usr/share/apmd/apmd_proxy.conf
/usr/share/samba/smb.conf


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/etc/manpath.config
/etc/X11/Xwrapper.config
/var/lib/dpkg/info/man-db.config
/var/lib/dpkg/info/linux-sound-base.config
/var/lib/dpkg/info/foomatic-filters.config
/var/lib/dpkg/info/libslp1.config
/var/lib/dpkg/info/openssh-client.config
/var/lib/dpkg/info/libhesiod0.config
/var/lib/dpkg/info/cups-bsd.config
/var/lib/dpkg/info/console-terminus.config
/var/lib/dpkg/info/wvdial.config
/var/lib/dpkg/info/openssh-server.config
/var/lib/dpkg/info/ifupdown.config
/var/lib/dpkg/info/dash.config
/var/lib/dpkg/info/pnm2ppa.config
/var/lib/dpkg/info/ca-certificates.config
/var/lib/dpkg/info/fontconfig-config.config
/var/lib/dpkg/info/tzdata.config
/var/lib/dpkg/info/console-setup.config
/var/lib/dpkg/info/x-ttcidfont-conf.config
/var/lib/dpkg/info/unattended-upgrades.config
/var/lib/dpkg/info/adduser.config
/var/lib/dpkg/info/tcpd.config
/var/lib/dpkg/info/samba-common.config
/var/lib/dpkg/info/gdm.config
/var/lib/dpkg/info/gnumeric.config
/var/lib/dpkg/info/cups.config
/var/lib/dpkg/info/libpaper1.config
/var/lib/dpkg/info/ufw.config
/var/lib/dpkg/info/x11-common.config
/var/lib/dpkg/info/nvidia-common.config
/var/lib/dpkg/info/dictionaries-common.config
/var/lib/dpkg/info/popularity-contest.config
/var/lib/dpkg/info/debconf.config
/usr/src/linux-headers-2.6.27-7-generic/.config
/usr/share/acpi-support/Hewlett-Packard.config
/usr/share/acpi-support/NEC Computers International.config
/usr/share/acpi-support/ASUSTeK Computer Inc..config
/usr/share/acpi-support/SHARP Corporation.config
/usr/share/acpi-support/IBM.config
/usr/share/acpi-support/Dell Computer Corporation.config
/usr/share/acpi-support/TOSHIBA.config
/usr/share/acpi-support/FUJITSU SIEMENS.config
/usr/share/acpi-support/FUJITSU.config
/usr/share/acpi-support/56548.config
/usr/share/acpi-support/Compaq.config
/usr/share/acpi-support/Acer.config
/usr/share/acpi-support/Dell Inc..config
/usr/share/acpi-support/ECS.config
/usr/share/acpi-support/Acer, inc..config
/usr/share/acpi-support/Samsung Electronics.config
/usr/share/acpi-support/Sony Corporation.config
/usr/share/doc/udev/examples/scsi_id.config
|
0
 
mcsweenSr. Network AdministratorAuthor Commented:
Adams:

Attached are my power saving and screensaver settings from within xfce.

I have the screensaver set to an actual one instead of blank screen so I was sure it wasn't the screensaver.

The selected screensaver does not come on, the screen goes blank but the backlight for the LCD is still on (you can see some bleeding on the edges)
powermanagement.gif
screensaver.gif
0
 
mcsweenSr. Network AdministratorAuthor Commented:
OK, I think I found the reason I don't have an xorg.conf file...

I get this message when my init script fires.  It has been crying about no config file all along, i just didn't read the message properly.

Any wizard I can use to create this file, or a sample one I can use?  

I don't quite understand why Xfce fires up with the right resolution and it looks very nice without this conf file.



Linux frame1 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686
 
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
root@frame1:~# /etc/init.d/picframe start
 
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux frame1 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686
Build Date: 24 October 2008  08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 (buildd@rothera.buildd)
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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/Xorg.0.log", Time: Tue Feb 10 18:37:46 2009
(EE) Unable to locate/open config file
(==) Using default built-in configuration (39 lines)
(EE) open /dev/fb0: No such file or directory
feh WARNING: Window Manager does not support MWM hints. To get a borderless window I have to bypass your wm.

Open in new window

0
 
AdamsConsultingCommented:
My guess is that you have an xorg.conf file, otherwise, you wouldn't be able to save the above changes that you've shown in the screen caps. You would just be using the built-in defaults every time.

I think you found the problem, though. By default, I don't think that the xorg.conf is readable by any user other than root. This script is doing an xinit, to start xwindows. If it's already running, try removing that or try adding sudo to the beginning. Optionally, give read permissions to your user.

However, if you actually need to create an xorg.conf file:

http://ubuntuguide.org/wiki/Ubuntu:Intrepid#Reconfigure_xserver-xorg
0
 
dzamfirCommented:
Well.. that's strange :)

(EE) Unable to locate/open config file

Anyway, can you please check also: /var/log/Xorg.0.log  .. for more information?
0
 
dzamfirCommented:
@mcsween,

Actually you can follow the link provided by AdamsConsulting. From that error it's obvious you don't have a config file, so I assume this should solve the problem..

And be sure you will add also this:

Option "DPMS" "False"
0
 
mcsweenSr. Network AdministratorAuthor Commented:
Thanks guys!  I will try and update the thread tonight.
0
 
AdamsConsultingCommented:
I don't think it's obvious that you're missing a configuration file, otherwise you wouldn't have been able to save any changes (as shown in your screen caps). I think it's more obvious that your user doesn't have access to read the xorg.conf file.
0
 
mcsweenSr. Network AdministratorAuthor Commented:
All commands are run as root.  First thing I do on this machine when I login is type "sudo -s"
0
 
dzamfirCommented:
@AdamsConsulting,

The error is:

(EE) Unable to locate/open config file

Not: permission denied/insufficient permissions/unable to write/etc..

Maybe I'm wrong, but for me it's obvious...
0
 
mcsweenSr. Network AdministratorAuthor Commented:
I tried to enter Option "DPMS" "False" in my xorg.conf after re-creating it and got a parse error.


Where should I put it in the xorg.conf

Says Options isn't a valid command
brad@frame1:~$ cat /etc/X11/xorg.conf
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
        Identifier      "Configured Video Device"
        Option          "UseFBDev"              "true"
EndSection
 
Section "Monitor"
        Identifier      "Configured Monitor"
EndSection
 
Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection
 
Option "DPMS" "False"

Open in new window

0
 
dzamfirCommented:
Should be part of : Section "Monitor", after Identifier line. And try : false (lower f)
0
 
AdamsConsultingCommented:
dzamfir, I haven't tried changing permissions on xorg.conf in Ubuntu to see if it generates a more specific error on why it can't open or acces the configuraton file. It's obvious to me that he has a configuration file, as he can save changes to it. Maybe I'm wrong, but it seems obvious to me. Good luck!
0
 
mcsweenSr. Network AdministratorAuthor Commented:
OK, I moved it to the monitor section and X loads again, but still blanking after 20 minutes :(
0
 
mcsweenSr. Network AdministratorAuthor Commented:
OK, needed a capitol F in false!!  It looks like it's FINALLY working!!!  Thanks guys for all the hard work, I wish I could assign more points
0
 
mcsweenSr. Network AdministratorAuthor Commented:
@Adams

It was not a permissions issue, I know the difference between a permission issue an non-existent file.
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

  • 16
  • 9
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now