You are not logged in.

#1 2017-01-25 09:47:15

99lives
Member
Registered: 2015-09-28
Posts: 15

[Solved] awesome WM shows nothing but a frozen terminal window?

I installed 'awesome' 4.0 the other day, copied the default configuration file into ~/.config/awesome as per the wiki, and started it with via xinit, and got this:

http://imgur.com/eH4ywTKl.jpg

http://imgur.com/o8Z0fqvl.jpg

Sorry for crappy quality. It shows just a black screen, with the top right corner occupied by a white terminal. But the cursor doesn't flash, and nothing I type appears in the terminal. All I can do is switch to a different tty, and reboot the computer.

I haven't been able to find anyone else having this issue, and have no idea what I need to look for to fix it.

Any ideas would be appreciated.

Cheers.

Mod note: converted img tags to url tags. Plesae see the CoC regarding acceptable image sizes. --WorMzy

Last edited by 99lives (2017-01-26 20:40:50)

Offline

#2 2017-01-25 10:57:31

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

Did you edit your ~/.xinitrc to actually launch Awesome? That looks like the default TWM session to me.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-01-25 11:04:54

99lives
Member
Registered: 2015-09-28
Posts: 15

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

I don't have twm installed. I never have. I've been using XFCE before trying awesome.

Here's my ~/.xinitrc for good measure:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then

    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi


# start some nice programs

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


# Here Xfce is kept as default
session=${1:-xfce}

case $session in
    awesome           ) exec awesome;;
    xfce|xfce4        ) exec startxfce4;;
    # No known session, try to run it as command
    *) exec $1;;
esac

I am, of course, launching awesome using 'startx awesome'.

Last edited by 99lives (2017-01-25 11:05:55)

Offline

#4 2017-01-25 15:13:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,715

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

99lives wrote:

I don't have twm installed. I never have.

I think you may be wrong on that count.  What is the output of pacman -Ss xorg-twm  ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2017-01-25 22:11:11

99lives
Member
Registered: 2015-09-28
Posts: 15

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

pacman -Ss xorg-twm gives me:

extra/xorg-twm 1.0.9-1
    Tab Window Manager for the X Window System

But that's because it's syncing with the repository right? What I'm supposed to use is pacman -Qi for installed packages right? pacman -Qi xorg-twm gives me:

error: package 'xorg-twm' was not found

Pretty sure it's not installed...

Last edited by 99lives (2017-01-25 22:11:29)

Offline

#6 2017-01-26 08:26:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,504

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

There's no window mana ger running, either awesome crashes or that session handling code in your xinitrc does nothing or tries to start (uninstalled?) xfce.
Move the mouse cursor into the xterm. It'll receive input focus and you can start to play around. Try "awesome &" for a beginning.

Online

#7 2017-01-26 09:28:42

99lives
Member
Registered: 2015-09-28
Posts: 15

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

Ah yes. Mousing into the window worked. I couldn't see the mouse until doing that, so I didn't know the mouse was actually functional. Running 'awesome &' does bring up the what appears to be the default awesome setup. XFCE is still installed, and I'm using it until I get awesome working properly.

Now my problem is getting awesome to run correctly the first time, and not having to have a xterm window open for as long as I want to keep my session running.

Offline

#8 2017-01-26 14:04:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,504

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

I'd start by debugging out your xinitrc, eg. "echo $session > /tmp/xinitrc.dbg" or something because either startx doesn't wire down your parameter or something else might be wrong.

Online

#9 2017-01-26 20:40:22

99lives
Member
Registered: 2015-09-28
Posts: 15

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

I just edited the xinitrc to remove my parameter choosing, and just use the plain and simple 'exec awesome' at the end. And with that, awesome starts just fine. I assumed it wasn't a problem with xinitrc, especially since I copied that parameter choosing the WM part straight from the wiki. Thanks for pushing me to check xinitrc, I wouldn't have done so otherwise. Now the problem is for me to figure out why xinitrc wasn't working, which I will do in my own time for now. Thanks everyone. I appreciate it smile

Offline

#10 2017-01-26 21:21:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,504

Re: [Solved] awesome WM shows nothing but a frozen terminal window?

The wiki also says "startx ~/.xinitrc awesome" :-P

Online

Board footer

Powered by FluxBB