Pbm manifests when killing X-session, either on exit, logout, or reboot. I can chvt between X and a console using function keys or chvt #, but when shutting down, logging out of X or rebooting, instead of automatically switching to console 1 (from console 7, when rebooting/shutting down) or presenting the slim login screen (when logging out), screen remains on console 7 with current screen w/lines all over it (as if attempting to set LCD screen to a bad video mode) and keyboard and mouse LOCKED (-must powercycle!-). Non-critical when shutting down/rebooting, as it'll still reboot, but critical if trying to logout and return to slim login screen (doesn't!). Pbm manifests the same regardless of window-manager selected at login.
Successful workaround is to map logout and shutdown/reboot to scripts that first do a"chvt 1" and sleep for 2 seconds BEFORE logging out/shutting down/rebooting, etc. In short, I must do a"chvt" away from the X session BEFORE killing X!!! Suspend and resume work properly w/o this workaround. I'm on an HP Elitebook 8440p w/Intel integrated graphics (see inxi below).
Following things tried to no avail:
choosing different window-manager
rebuilding initramfs manually
kernel line (adding): nomodeset; kernel line: vga=355;
xorg.conf: option"LinearFramebuffer""true", option"ReprobeOutputs""true", option"XuMC""false";
slim.conf (adding to"xserver_arguments" line:" -keeptty -novtswitch".
Current configs:
slash etc slash initramfs-tools/modules:
intel_agp
i915
I can rule out hardware, as I have another Antix install on same hardware w/o issue, only"difference" must be either the fact that the failing distro is set up as a dual-boot from Win7 (initial boot screen is Win-7 bootloader into separate /boot partition - vfat) or some other configuration file difference that I can't find!
Related warnings in dmesg (startup)
[drm] Initialized i915 1.6.0 20151218 for 0000:00:02.0 on minor 0
i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
Warnings found in dmesg (when switching between X and a console):
[ 9409.156678] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[ 9409.156791] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder B FIFO underrun
[ 9409.196921] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[ 9409.196978] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder B FIFO underrun
and in /var/log/Xorg.0.log:
[ 9413.912] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 0, disabling CRTC:21
Any experts that can shed some light on this?
Thanks!
$>inxi -F
System: Host: mybox Kernel: 4.5-2.dmz.1-liquorix-686-pae i686 (32 bit)
Desktop: N/A Distro: antiX-13.2_386-full Luddite 4 November 2013
Machine: System: Hewlett-Packard (portable) product: HP EliteBook 8440p
Mobo: Hewlett-Packard model: 172A v: KBC Version 30.31
Bios: Hewlett-Packard v: 68CCU Ver. F.11 date: 11/25/2010
Battery BAT0: charge: 30.6 Wh 98.0% condition: 31.2/31.2 Wh (100%)
CPU: Dual core Intel Core i5 M 520 (-HT-MCP-) cache: 3072 KB
clock speeds: max: 2400 MHz 1: 1866 MHz 2: 2266 MHz 3: 1599 MHz
4: 1333 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller
Display Server: X.Org 1.18.2 driver: intel
Resolution: 1920x1080@59.93hz
GLX Renderer: Mesa DRI Intel Ironlake Mobile x86/MMX/SSE2
GLX Version: 2.1 Mesa 11.1.2
Audio: Card Intel 5 Series/3400 Series High Definition Audio
driver: snd_hda_intel
Sound: ALSA v: k4.5-2.dmz.1-liquorix-686-pae
Network: Card-1: Intel 82577LM Gigabit Network Connection driver: e1000e
IF: enp0s25 state: up speed: 100 Mbps duplex: full
mac: b4:99:ba:e2:cb:7c
Card-2: Intel Centrino Advanced-N 6200
IF: N/A state: N/A mac: N/A
Drives: HDD Total Size: 1000.2GB (4.7% used)
ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB
Partition: ID-1: / size: 23G used: 6.6G (31%) fs: ext4 dev: /dev/sda6
ID-2: /boot size: 1.2G used: 149M (13%) fs: vfat dev: /dev/sda5
ID-3: /var size: 25G used: 1.5G (7%) fs: ext4 dev: /dev/sda7
ID-4: /home size: 733G used: 28G (4%) fs: ext4 dev: /dev/sda9
ID-5: swap-1 size: 8.91GB used: 0.00GB (0%) fs: swap dev: /dev/sda8
Sensors: System Temperatures: cpu: 50.0C mobo: 0.0C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 138 Uptime: 2:43 Memory: 408.6/7893.6MB
Client: Shell (bash) inxi: 2.3.0
12 posts
• Page 1 of 1
-
Posts: 119
- Joined: 31 May 2014
#1
Last edited by wildstar84 on 26 Aug 2016, 22:51, edited 3 times in total.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
Are you using Debian Testing? What desktop are you using? Your inxi does nt show anything. Nor does it show if you are using systemd or sysvinit
-
Posts: 119
- Joined: 31 May 2014
#3
I'm using Debian Testing with sysvinit (nosystemd) desktop: slim, doesn't matter which windowmanager:
$>inxi -r
Repos: Active apt sources in file: / etsy /apt/sources.list.d/antix.list
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/jessie/"
linktext was:"http://antix.daveserver.info/jessie/"
====================================
jessie main nosystemd
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/testing/"
linktext was:"http://antix.daveserver.info/testing/"
====================================
testing nosystemd main
Active apt sources in file: / etsy /apt/sources.list.d/debian.list
deb ..security.debian.org/ jessie/updates main contrib non-free
deb ..ftp.gr.debian.org/debian/ testing non-free contrib main
deb ..security.debian.org/ testing/updates non-free contrib main
deb ..
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.deb-multimedia.org/"
linktext was:"www.deb-multimedia.org/"
====================================
testing non-free main
Active apt sources in file: / etsy /apt/sources.list.d/various.list
deb ..liquorix.net/debian/ sid main
$>inxi -r
Repos: Active apt sources in file: / etsy /apt/sources.list.d/antix.list
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/jessie/"
linktext was:"http://antix.daveserver.info/jessie/"
====================================
jessie main nosystemd
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/testing/"
linktext was:"http://antix.daveserver.info/testing/"
====================================
testing nosystemd main
Active apt sources in file: / etsy /apt/sources.list.d/debian.list
deb ..security.debian.org/ jessie/updates main contrib non-free
deb ..ftp.gr.debian.org/debian/ testing non-free contrib main
deb ..security.debian.org/ testing/updates non-free contrib main
deb ..
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.deb-multimedia.org/"
linktext was:"www.deb-multimedia.org/"
====================================
testing non-free main
Active apt sources in file: / etsy /apt/sources.list.d/various.list
deb ..liquorix.net/debian/ sid main
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
The desktop-session is different in antiX-13.2 to antiX-15/16.
Post your etc/slim.conf and do you have a ~/,xinitrc? If so post it.
Post your etc/slim.conf and do you have a ~/,xinitrc? If so post it.
-
Posts: 119
- Joined: 31 May 2014
#5
/ etsy /slim.conf (same on both setups - except the one line change I mentioned in the OP):
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
#default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
default_path /usr/local/bin:/usr/bin:/bin
default_xserver /usr/bin/X
xserver_arguments -ac -nosilk -keeptty -novtswitch
# Commands for halt, login, etc.
halt_cmd /usr/local/bin/persist-config --shutdown --command halt
reboot_cmd /usr/local/bin/persist-config --shutdown --command reboot
console_cmd /usr/bin/urxvt -C -fg white -bg black +sb -T"Console login" -e /bin/sh -c"/bin/cat / etsy /issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
suspend_cmd /usr/local/bin/s2ram
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock off
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
#hidecursor true
hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/bash -login / etsy /X11/Xsession %session
#################OLD COMMAND####################
# login_cmd exec /bin/bash -login ~/.xinitrc %session >~/.xsession-errors$DISPLAY 2>&1
################################################
#LOGIN COMMAND FOR DESKTOP SESSION BELOW#
#############################################################################################
#JWT:DON'T USE - WE DON'T INSTALL/USE desktop-session-antix!!! login_cmd setsid /usr/local/bin/desktop-session %session
#############################################################################################
# login_cmd exec dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
login_cmd exec /bin/bash -login ~/.xinitrc %session >~/.xsession-errors$DISPLAY 2>&1
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user
sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user
# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option"-d"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions afterstep,rox-fluxbox,space-fluxbox,fluxbox,rox-icewm,space-icewm,icewm,rox-jwm,space-jwm,jwm,wmii
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd scrot /tmp/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg (Press F1 to toggle sessions)
# shutdown / reboot messages
shutdown_msg The system is shutting down...
reboot_msg The system is rebooting...
# Focus the password field on start when default_user is set
# Set to"yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to"yes" to enable this feature
#auto_login yes
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user turnerjw
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme antiX
# Lock file
lockfile /var/run/slim.lock
# Log file
logfile /var/log/slim.log
# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
#default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
default_path /usr/local/bin:/usr/bin:/bin
default_xserver /usr/bin/X
xserver_arguments -ac -nosilk -keeptty -novtswitch
# Commands for halt, login, etc.
halt_cmd /usr/local/bin/persist-config --shutdown --command halt
reboot_cmd /usr/local/bin/persist-config --shutdown --command reboot
console_cmd /usr/bin/urxvt -C -fg white -bg black +sb -T"Console login" -e /bin/sh -c"/bin/cat / etsy /issue; exec /bin/login"
#suspend_cmd /usr/sbin/suspend
suspend_cmd /usr/local/bin/s2ram
# Full path to the xauth binary
xauth_path /usr/bin/xauth
# Xauth file for server
authfile /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
numlock off
# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
#hidecursor true
hidecursor false
# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd exec /bin/bash -login / etsy /X11/Xsession %session
#################OLD COMMAND####################
# login_cmd exec /bin/bash -login ~/.xinitrc %session >~/.xsession-errors$DISPLAY 2>&1
################################################
#LOGIN COMMAND FOR DESKTOP SESSION BELOW#
#############################################################################################
#JWT:DON'T USE - WE DON'T INSTALL/USE desktop-session-antix!!! login_cmd setsid /usr/local/bin/desktop-session %session
#############################################################################################
# login_cmd exec dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
login_cmd exec /bin/bash -login ~/.xinitrc %session >~/.xsession-errors$DISPLAY 2>&1
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
sessionstart_cmd /usr/bin/sessreg -a -l $DISPLAY %user
sessionstop_cmd /usr/bin/sessreg -d -l $DISPLAY %user
# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option"-d"
# daemon yes
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions afterstep,rox-fluxbox,space-fluxbox,fluxbox,rox-icewm,space-icewm,icewm,rox-jwm,space-jwm,jwm,wmii
# Executed when pressing F11 (requires imagemagick)
screenshot_cmd scrot /tmp/slim.png
# welcome message. Available variables: %host, %domain
welcome_msg (Press F1 to toggle sessions)
# shutdown / reboot messages
shutdown_msg The system is shutting down...
reboot_msg The system is rebooting...
# Focus the password field on start when default_user is set
# Set to"yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to"yes" to enable this feature
#auto_login yes
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user turnerjw
# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme antiX
# Lock file
lockfile /var/run/slim.lock
# Log file
logfile /var/log/slim.log
-
Posts: 119
- Joined: 31 May 2014
#6
BTW, Thank you for the quick responses, Anti!!!
$HOME/.xinitrc:
#----------------------------------------------------------------------
# .xinitrc
#
# Created by /usr/share/antiX/lib/make-xinitrc
# on 21 April 2014 @ 12:15:12 EDT
# Please add any modifications to .xinitrc-custom and not this file.
# This file will be re-written by update-default-desktop. The
# DEFAULT_DESKTOP line will be edited by antiX-init if you select
# a desktop via the bootloader menu or a"desktop=xxx" boot parameter.
#----------------------------------------------------------------------
[ -x ~/.xinitrc-custom ] && ~/.xinitrc-custom
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
DEFAULT_DESKTOP="afterstep"
#JWT:ADDED STOP SCREEN BLANKING (SEE
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.cyberciti.biz/tips/linux-disable-screen-blanking-screen-going-blank.html"
linktext was:"http://www.cyberciti.biz/tips/linux-dis ... blank.html"
====================================
):
setterm -blank 0 >/run/shm/xinitrc.out 2>&1
#setterm -powersave off >>/run/shm/xinitrc.out 2>&1
setterm -powerdown 0 >>/run/shm/xinitrc.out 2>&1
xset s off
DESKTOP_CODE="$(echo"${1:-$DEFAULT_DESKTOP}" | tr"[A-Z]""[a-z]")"
sdir=$HOME/.antix-session
mkdir -p $sdir
display=${DISPLAY%.[0-9]}
echo"$DESKTOP_CODE" > $sdir/desktop-code$DISPLAY
echo $$ > $sdir/xinitrc-pid:$display
case"$DESKTOP_CODE" in
afterstep)
# exec /usr/local/bin/afterstep.pre
[ -f ~/.afterstep/.asrc ] && . ~/.afterstep/.asrc
/home/turnerjw/.afterstep/asstartuppre.pl
exec /usr/bin/afterstep
;;
rox-fluxbox)
rox --pinboard=antiX-fluxbox
exec /usr/bin/startfluxbox
;;
space-fluxbox)
spacefm --desktop &
exec /usr/bin/startfluxbox
;;
fluxbox)
exec /usr/bin/startfluxbox
;;
rox-icewm)
rox --pinboard=antiX-icewm
exec /usr/bin/icewm-session
;;
space-icewm)
spacefm --desktop &
exec /usr/bin/icewm-session
;;
icewm)
exec /usr/bin/icewm-session
;;
rox-jwm)
rox --pinboard=antiX-jwm
exec /usr/bin/jwm
;;
space-jwm)
spacefm --desktop &
exec /usr/bin/jwm
;;
jwm)
exec /usr/bin/jwm
;;
wmii)
exec wmii
;;
*)
echo"Unknown DESKTOP_CODE: $DESKTOP_CODE" >&2
echo"Setting DESKTOP_CODE to rox-icewm" >&2
DESKTOP_CODE="rox-icewm"
echo"$DESKTOP_CODE" > $HOME/.antix-session/desktop-code$DISPLAY
rox --pinboard=antiX-icewm
exec /usr/bin/icewm-session
;;
esac
$HOME/.xinitrc:
#----------------------------------------------------------------------
# .xinitrc
#
# Created by /usr/share/antiX/lib/make-xinitrc
# on 21 April 2014 @ 12:15:12 EDT
# Please add any modifications to .xinitrc-custom and not this file.
# This file will be re-written by update-default-desktop. The
# DEFAULT_DESKTOP line will be edited by antiX-init if you select
# a desktop via the bootloader menu or a"desktop=xxx" boot parameter.
#----------------------------------------------------------------------
[ -x ~/.xinitrc-custom ] && ~/.xinitrc-custom
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
DEFAULT_DESKTOP="afterstep"
#JWT:ADDED STOP SCREEN BLANKING (SEE
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.cyberciti.biz/tips/linux-disable-screen-blanking-screen-going-blank.html"
linktext was:"http://www.cyberciti.biz/tips/linux-dis ... blank.html"
====================================
):
setterm -blank 0 >/run/shm/xinitrc.out 2>&1
#setterm -powersave off >>/run/shm/xinitrc.out 2>&1
setterm -powerdown 0 >>/run/shm/xinitrc.out 2>&1
xset s off
DESKTOP_CODE="$(echo"${1:-$DEFAULT_DESKTOP}" | tr"[A-Z]""[a-z]")"
sdir=$HOME/.antix-session
mkdir -p $sdir
display=${DISPLAY%.[0-9]}
echo"$DESKTOP_CODE" > $sdir/desktop-code$DISPLAY
echo $$ > $sdir/xinitrc-pid:$display
case"$DESKTOP_CODE" in
afterstep)
# exec /usr/local/bin/afterstep.pre
[ -f ~/.afterstep/.asrc ] && . ~/.afterstep/.asrc
/home/turnerjw/.afterstep/asstartuppre.pl
exec /usr/bin/afterstep
;;
rox-fluxbox)
rox --pinboard=antiX-fluxbox
exec /usr/bin/startfluxbox
;;
space-fluxbox)
spacefm --desktop &
exec /usr/bin/startfluxbox
;;
fluxbox)
exec /usr/bin/startfluxbox
;;
rox-icewm)
rox --pinboard=antiX-icewm
exec /usr/bin/icewm-session
;;
space-icewm)
spacefm --desktop &
exec /usr/bin/icewm-session
;;
icewm)
exec /usr/bin/icewm-session
;;
rox-jwm)
rox --pinboard=antiX-jwm
exec /usr/bin/jwm
;;
space-jwm)
spacefm --desktop &
exec /usr/bin/jwm
;;
jwm)
exec /usr/bin/jwm
;;
wmii)
exec wmii
;;
*)
echo"Unknown DESKTOP_CODE: $DESKTOP_CODE" >&2
echo"Setting DESKTOP_CODE to rox-icewm" >&2
DESKTOP_CODE="rox-icewm"
echo"$DESKTOP_CODE" > $HOME/.antix-session/desktop-code$DISPLAY
rox --pinboard=antiX-icewm
exec /usr/bin/icewm-session
;;
esac
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#7
Ok, have a look at your etc/sudoers.d/antixers file.
-
Posts: 119
- Joined: 31 May 2014
#8
# sudoers file.
%users ALL=(root) NOPASSWD: /sbin/halt
%users ALL=(root) NOPASSWD: /sbin/poweroff
%users ALL=(root) NOPASSWD: /sbin/reboot
%users ALL=(root) NOPASSWD: /sbin/blkid
%users ALL=(root) NOPASSWD: /sbin/fdisk.distrib
%users ALL=(root) NOPASSWD: /usr/bin/ceni
%users ALL=(root) NOPASSWD: /usr/bin/rox
%users ALL=(root) NOPASSWD: /usr/local/bin/persist-config
%users ALL=(root) NOPASSWD: /usr/local/bin/persist-save
%users ALL=(root) NOPASSWD: /usr/sbin/minstall
%users ALL=(root) NOPASSWD: /usr/local/bin/connectshares.sh
%users ALL=(root) NOPASSWD: /usr/local/bin/disconnectshares.sh
%users ALL=(root) NOPASSWD: /bin/chvt
%users ALL=(root) NOPASSWD: /usr/local/bin/menu_manager.sh
Defaults env_keep +="RESTARTED HOME"
Defaults !requiretty
Defaults !tty_tickets
%users ALL=(root) NOPASSWD: /usr/local/bin/update-default-desktop
===========================================================
Another possibly relevent thing (though I've had this forever):
/ etsy / inittab:
1:2345:respawn:/sbin/getty --noclear 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
#JWT:DON'T NEED MORE THAN TWO, I BELIEVE! 3:2345:respawn:/sbin/getty 38400 tty3
#4:2345:respawn:/sbin/getty 38400 tty4
#5:2345:respawn:/sbin/getty 38400 tty5
#6:2345:respawn:/sbin/getty 38400 tty6
and / etsy / defaults/console-setup has (but I haven't tried changing that yet, but have doubts it would affect anything, would it?):
ACTIVE_CONSOLES="/dev/tty[1-6]"
%users ALL=(root) NOPASSWD: /sbin/halt
%users ALL=(root) NOPASSWD: /sbin/poweroff
%users ALL=(root) NOPASSWD: /sbin/reboot
%users ALL=(root) NOPASSWD: /sbin/blkid
%users ALL=(root) NOPASSWD: /sbin/fdisk.distrib
%users ALL=(root) NOPASSWD: /usr/bin/ceni
%users ALL=(root) NOPASSWD: /usr/bin/rox
%users ALL=(root) NOPASSWD: /usr/local/bin/persist-config
%users ALL=(root) NOPASSWD: /usr/local/bin/persist-save
%users ALL=(root) NOPASSWD: /usr/sbin/minstall
%users ALL=(root) NOPASSWD: /usr/local/bin/connectshares.sh
%users ALL=(root) NOPASSWD: /usr/local/bin/disconnectshares.sh
%users ALL=(root) NOPASSWD: /bin/chvt
%users ALL=(root) NOPASSWD: /usr/local/bin/menu_manager.sh
Defaults env_keep +="RESTARTED HOME"
Defaults !requiretty
Defaults !tty_tickets
%users ALL=(root) NOPASSWD: /usr/local/bin/update-default-desktop
===========================================================
Another possibly relevent thing (though I've had this forever):
/ etsy / inittab:
1:2345:respawn:/sbin/getty --noclear 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
#JWT:DON'T NEED MORE THAN TWO, I BELIEVE! 3:2345:respawn:/sbin/getty 38400 tty3
#4:2345:respawn:/sbin/getty 38400 tty4
#5:2345:respawn:/sbin/getty 38400 tty5
#6:2345:respawn:/sbin/getty 38400 tty6
and / etsy / defaults/console-setup has (but I haven't tried changing that yet, but have doubts it would affect anything, would it?):
ACTIVE_CONSOLES="/dev/tty[1-6]"
-
Posts: 45
- Joined: 24 Apr 2016
#9
I had this same problem and found the solution.
I use xserver AccelMethod UXA for Ironlake not SNA (for Sandy Lake or newer).
I use xserver AccelMethod UXA for Ironlake not SNA (for Sandy Lake or newer).
Code: Select all
System: Host: antiX1 Kernel: 4.4.2-antix-sid.2-amd64-smp x86_64 (64 bit) Console: tty 3
Distro: antiX-16-a1-xorg-sid_x64-core 19 February 2016
Machine: Mobo: Dell model: 0G939P v: A08 Bios: Dell v: A08 date: 07/22/2010
CPU: Dual core Intel Core i3 M 370 (-HT-MCP-) speed/max: 1066/2399 MHz
Graphics: Card: Intel Core Processor Integrated Graphics Controller
Display Server: X.org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
tty size: 137x38 Advanced Data: N/A out of X
Network: Card-1: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives: HDD Total Size: 250.1GB (2.7% used)
Info: Processes: 152 Uptime: 28 min Memory: 261.2/3753.8MB Init: SysVinit runlevel: 5
Client: Shell (dash) inxi: 2.2.31
Section"Device"
Identifier"card0"
Driver"intel"
Option"AccelMethod""UXA"
Option"Backlight""intel_backlight"
EndSection
-
Posts: 119
wildstar84 - Joined: 31 May 2014
#10
Thanks, hobbyist,
That indeed seems to have FIXED it! Only thing is that I did lose a bit of graphic speed (glxgears went from reaching 10K to now reaching approx 8.5K. The weird thing is that SNA worked find on my older Dell D620 (also w/Intel graphics). One thing I did have to add back, in order to be able to see the console messages during shutdown or reboot was put the"-keeptty -novtswitch" options back onto my slim.conf file,"xserver_arguments" line!
My debate now (with myself) is whether to keep my"chvt 1; sleep 2" workaround scripts in my shutdown/reboot/quit buttons/menus (and Ctrl/Alt/Backspace sequence disabled) in order to have the higher SNA throughput or keep it as-is now w/UXA!
Jim
That indeed seems to have FIXED it! Only thing is that I did lose a bit of graphic speed (glxgears went from reaching 10K to now reaching approx 8.5K. The weird thing is that SNA worked find on my older Dell D620 (also w/Intel graphics). One thing I did have to add back, in order to be able to see the console messages during shutdown or reboot was put the"-keeptty -novtswitch" options back onto my slim.conf file,"xserver_arguments" line!
My debate now (with myself) is whether to keep my"chvt 1; sleep 2" workaround scripts in my shutdown/reboot/quit buttons/menus (and Ctrl/Alt/Backspace sequence disabled) in order to have the higher SNA throughput or keep it as-is now w/UXA!
Jim
-
Posts: 119
- Joined: 31 May 2014
#11
Ok, here's the deal. Problem manifested in kernel upgrade from liquorix v4.4-6.dmz.1 (Last known Good version) - going back to that version resolves issue. There's no current Antix kernel above this version, so no way to test there. Problem also only seems to manifest when undocked (no external monitor attached). I've decided to go back to SNA for the improved video performance and use my workarounds when exiting X and undocked (add"chvt 1; sleep 2" to scripts that exit the window-manager - either to log out, shut down, or reboot) until and if a new kernel version comes along that resolves this regression. I will just avoid Ctrl+Alt+Backspace whilst undocked. It can also be ruled out that this is in any way an Antix issue rather it is upstream!
-
Posts: 119
- Joined: 31 May 2014
#12
This seems to be fixed in recent 4.6 kernels.