You are not logged in.

#1 2013-12-03 04:13:36

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

laptop black screen with mouse when booting from shutdown [solved]

Ok I am kind of at a loss at the moment. I have done a fresh install of arch for a friend. When I boot the laptop from a shutdown status it boots and I see systemd proccessing, but as soon as it reaches the desktop it is just a black screen with the mouse cursor. To reach the desktop I have to press ctl alt f1 than ctl alt f2.  Here are some things I have done to tryand fix it.
The laptop
Dell
pentium M T2060, mobile 945GM


~/.xinitrc

                                                                                 
if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
exec openbox-session

Openbox autostart.sh

compton -CGb &
pcmanfm --desktop &
tint2 &
sleep 4 && wbar

slim.conf

                                                                     
default_path        /bin:/usr/bin:/usr/local/bin
default_xserver     /usr/bin/X
xserver_arguments -nolisten tcp vt07

halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

xauth_path         /usr/bin/xauth
authfile           /var/run/slim.auth

numlock             on
login_cmd           exec /bin/bash -login ~/.xinitrc %session
sessiondir            /usr/share/xsessions/
screenshot_cmd      import -window root /slim.png

welcome_msg         Welcome to %host
shutdown_msg       The system is blowing up
reboot_msg         There is a virus...

default_user        tim
auto_login          yes
current_theme       default

lockfile            /var/lock/slim.lock
logfile             /var/log/slim.log

I edited my hooks to look like this thinking that adding resume would help
HOOKS="systemd modconf block resume filesystems keyboard fsck"

Here is my syslinux.cfg

DEFAULT arch
PROMPT 0        # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
UI menu.c32
#UI vesamenu.c32

MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda1 rw
    INITRD ../initramfs-linuxY.img

LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda1 rw
    INITRD ../initramfs-linux-fallback.img

LABEL arch-ck
        MENU LABEL Arch Linux-ck
        LINUX ../vmlinuz-linux-ck
        APPEND root=/dev/sda1 ro init=/usr/lib/systemd/systemd elevator=bfq
        INITRD ../initramfs-linux-ck.img

I have also tried linux-ck to try a different kernel with no luck. When I reboot the computer it goes to the desktop.

Last edited by mich04 (2013-12-03 22:01:37)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2013-12-03 10:40:10

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: laptop black screen with mouse when booting from shutdown [solved]

i suggest you temporarily start to multi-user.target  instead of graphical.target , check the systemd wiki page for details how to do that.

from console, try running startx to see if the problem is with X or with slim.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2013-12-03 14:00:57

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: laptop black screen with mouse when booting from shutdown [solved]

So, booted into multi-user runlevel startx works just fine. So I changed slim to lxdm, same problem. When I reboot it boots to lxdm, when I start from shutdown it goes to black screen with mouse. I am also using xf86-video-intel as my video driver


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2013-12-03 14:35:53

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: laptop black screen with mouse when booting from shutdown [solved]

ok, so I think I have foud a solution that works for me.

I created this file and added the following lines

/etc/X11/xorg.conf.d/20-intel.conf

    Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "AccelMethod"  "uxa"
      EndSection

I have shutdown 3 times and it has booted to the desktop everytime. When I remove this file and go back to sna it reproduces the error of the black screen.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#5 2013-12-03 22:00:45

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: laptop black screen with mouse when booting from shutdown [solved]

So I just got back from work and I tried the laptop twice shutdown and turning it on. It works. So here is how I came to this solution. I uninstalled intel driver and installed vesa. When I did that all I got was black screen with no mouse. I looked at https://wiki.archlinux.org/index.php/Intel_Graphics and saw that in there and thought maybe it might be related.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

Board footer

Powered by FluxBB