You are not logged in.

#1 2012-09-17 05:53:42

MasterNate
Member
Registered: 2012-03-14
Posts: 9

Issues with OpenBox and X possibly

Sorry for the world's least descriptive title, but I really don't have a clue as to what is going on. I have arch installed on my laptop running i3 window manager on top of X. However when I ctrl-alt-f1 to go to a terminal window I get a screen like this http://i.imgur.com/vDcDJ.jpg

That particular time the screen was flickering, but usually I just get some combination of static or something.

Sorry for the link, but I wasn't quite sure how to describe it. It didn't really bother me much because it only happened when I tried to switch to those text terminals. But when I tried to install openbox and added "exec openbox-session" to my ~/.xinitrc I got that same screen. Sorry that this post is vague and unhelpful! I'd appreciate any comments on my admittedly odd problem.

Update: I'm near certain the issue is with X, because I started x as root, which launched those three default windows, and my system still crashed when I tried to switch to a terminal.

Last edited by MasterNate (2012-09-17 07:58:56)

Offline

#2 2012-09-17 11:56:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: Issues with OpenBox and X possibly

I suspect there are two different problems: first tty1 is not getting cleared during boot (this one does seem quite odd), and second, I suspect there is an error in your xinitrc that causes the starting of openbox to fail in which case you'd expect to be dropped back at tty1.

To gather some more information can you try switching to tty2 (ctrl-alt-F2), or perhaps 3 or 4 if you're using systemd.  Are you using systemd or initscripts?  Can you post your xinitrc.

Also, can you boot to runlevel 3 and get a working tty1?

Last edited by Trilby (2012-09-17 11:57:40)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-09-17 19:02:30

MasterNate
Member
Registered: 2012-03-14
Posts: 9

Re: Issues with OpenBox and X possibly

Sorry I wasn't clear on the issue, this happens no matter what terminal window I switch to. I can't really say if my ./xinitrc is correct, but I followed the openbox wiki.

 !/bin/sh 
# 
# ~/.xinitrc 
# 
# Executed by startx (run your window manager from here) 
 
if [ -d /etc/X11/xinit/xinitrc.d ]; then 
  for f in /etc/X11/xinit/xinitrc.d/*; do 
    [ -x "$f" ] && . "$f" 
  done 
  unset f 
fi 
# exec gnome-session 
# exec startkde 
# exec startxfce4 
# ...or the Window Manager of your choice 
exec i3 

Except the "i3" is replaced with "openbox-session". Any advice?

Offline

#4 2012-09-17 20:07:41

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Issues with OpenBox and X possibly

Which video driver? Open source, proprietary?

https://wiki.archlinux.org/index.php/Sy … g_vesamenu

Post your syslinux.cfg and mkinitcpio.conf:

$ curl -F sprunge=@/boot/syslinux/syslinux.cfg http://sprunge.us
$ curl -F sprunge=@/etc/mkinitcpio.conf http://sprunge.us

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-09-18 02:08:18

rockin turtle
Member
From: Montana, USA
Registered: 2009-10-22
Posts: 227

Re: Issues with OpenBox and X possibly

Are you using systemd or initscripts?

The reason I ask is that you need something similar to

c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux

in your /etc/inittab file if you are using initscripts.

I haven't yet switched to systemd, so I don't know the details, but look at the section on changing the number of gettys if you are using  systemd.

Offline

Board footer

Powered by FluxBB