You are not logged in.
Hi,
I see a black screen after opening the laptop lid in Debian 8 jessie 'openbox'. It's indeed a Debian Xfce installation with openbox installed on top of that. The problem is there only when the laptop lid is closed, not when the laptop remains idle for sometimes. When the laptop remains idle for sometime, the screen goes black but also comes back to normal when there's any activity in input devices e.g. mouse, keyboard, etc.
Closing lids works well in Xfce; the problem only persists while using openbox. Could anyone suggest me any solution? BTW, I have lightdm installed.
Thanks.
Last edited by tranjeeshan (2015-10-22 14:46:16)
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Have you tried adjusting the display settings?
Menu -> Preferences -> Power Management (xfce4-power-manager-settings) (Or whatever is the equivalent in xfce)
Are you saying that the screen stays black, even after pressing the power button, ie it doesn't resume from Suspend?
EDIT: have you added xfce-power-manager to your Openbox autostart?
Last edited by damo (2015-10-18 11:59:20)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
It's indeed a Debian Xfce installation with openbox installed on top of that.
More precisely: once you've logged in, is it XFCE-session with Openbox replacing XFWM as window manager, or a standalone Openbox session? If it is Openbox only, add power manager to ~/.config/openbox/autostart like damo suggested. If it is XFCE+Openbox, don't add anything to autostart.
xfce4-power-manager-settings
That's it.
Offline
Please post the output of:
systemd-inhibit
Offline
there's a very similar thread here.
Offline
Have you tried adjusting the display settings?
Menu -> Preferences -> Power Management (xfce4-power-manager-settings) (Or whatever is the equivalent in xfce)
Are you saying that the screen stays black, even after pressing the power button, ie it doesn't resume from Suspend?
EDIT: have you added xfce-power-manager to your Openbox autostart?
I've added xfce4-power-manager in openbox autostart config file. But it didn't change anything. Still seeing a black screen with nothing on it. I get a blue screen though when I press any key.
Any thoughts?
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
tranjeeshan wrote:It's indeed a Debian Xfce installation with openbox installed on top of that.
More precisely: once you've logged in, is it XFCE-session with Openbox replacing XFWM as window manager, or a standalone Openbox session? If it is Openbox only, add power manager to ~/.config/openbox/autostart like damo suggested. If it is XFCE+Openbox, don't add anything to autostart.
damo wrote:xfce4-power-manager-settings
That's it.
I'm not using openbox as an window manager under Xfce replacing xfwm; it's a standalone openbox. Followed @damo's advice. Didn't work for me.
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Please post the output of:
systemd-inhibit
Here it is:
$ systemd-inhibit
Who: NetworkManager (UID 0/root, PID 593/NetworkManager)
What: sleep
Why: NetworkManager needs to turn off networks
Mode: delay
Who: xfce4-power-manager (UID 1000/tranjeeshan, PID 1195/xfce4-power-man)
What: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
Why: xfce4-power-manager handles these events
Mode: block
2 inhibitors listed.
Last edited by tranjeeshan (2015-10-19 13:18:26)
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Here's my openbox autostart config file:
# Launch Xcomppmgr and tint2 with openbox
if which tint2 >/dev/null 2>&1; then
(sleep 2 && xcompmgr) &
(sleep 2 && tint2) &
fi
sh ~/.fehbg &
volumeicon &
xfce4-power-manager-settings &
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
I get a blue screen though when I press any key.
Any thoughts?
It's the screen locker -- type in your password and press return.
Offline
It's indeed a Debian Xfce installation with openbox installed on top of that.
I'm not using openbox as an window manager under Xfce replacing xfwm; it's a standalone openbox.
Explain what exactly you have. Do you think it is an Openbox with some Xfce apps, or something else? What do you have in xfce4-session.xml? Do you have it in your .config folder?
Offline
It's indeed a Debian Xfce installation with openbox installed on top of that.
I'm not using openbox as an window manager under Xfce replacing xfwm; it's a standalone openbox.
Explain what exactly you have. Do you think it is an Openbox with some Xfce apps, or something else? What do you have in xfce4-session.xml? Do you have it in your .config folder?
I was using Debian 8 jessie Xfce edition; then I thought of tinkering with openbox. I installed openbox and the next time I logged in, I chose openbox from the drop-down menu in Lightdm. Now I'm using openbox every time I log in.
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
tranjeeshan wrote:I get a blue screen though when I press any key.
Any thoughts?It's the screen locker -- type in your password and press return.
You're right! The black screen was the screen locker all along. But why it was completely black? Why I couldn't see any prompt or something?
I just typed in my login password and it logs me in. Great! But I need to see the login/lock screen. What's causing this problem?
Last edited by tranjeeshan (2015-10-20 07:22:13)
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
why it was completely black? Why I couldn't see any prompt or something?
I think that's normal behaviour (or considered a security feature) for some screenlockers.
Try:
apt search locker
Any installed packages will have "[installed]" in the description.
Offline
tranjeeshan wrote:why it was completely black? Why I couldn't see any prompt or something?
I think that's normal behaviour (or considered a security feature) for some screenlockers.
Try:
apt search locker
Any installed packages will have "[installed]" in the description.
Seemingly, I have xscreensaver installed.
I ran
apt search locker | grep installed
And got this:
suckless-tools/stable,now 40-1 amd64 [installed]
xscreensaver/stable,now 5.30-1+b1 amd64 [installed,automatic]
xscreensaver-data/stable,now 5.30-1+b1 amd64 [installed,automatic]
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Either remove xscreensaver or disable the screenlock with:
echo "lock: False" >> ~/.xscreensaver
Offline
Either remove xscreensaver or disable the screenlock with:
echo "lock: False" >> ~/.xscreensaver
lock is already set to False.
The problem is quite solved though, as I know I type in my password and log into the system as the black screen prompts. But disabling the black screen would be of much help.
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Another problem is, every time I log into the system, I'm prompted with a message that says, "Xfce4 Power Settings Manager is not running. Do you want to launch it now?"
N.B.: I added xfce4-power-settings-manager in my openbox autostart file.
"Unix is simple. It just takes a genius to understand its simplicity." - Dennis Ritchie (1941-2011), Unix Co-Creator
Unix philosophy
Offline
Have a read here; https://www.jwz.org/xscreensaver/
Offline
Another problem is, every time I log into the system, I'm prompted with a message that says, "Xfce4 Power Settings Manager is not running. Do you want to launch it now?"
N.B.: I added xfce4-power-settings-manager in my openbox autostart file.
Should it be
## Enable power management
xfce4-power-manager &
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline