You are not logged in.

#1 2013-05-17 20:33:10

DelusionalLogic
Member
Registered: 2013-05-07
Posts: 40

[Solved]Can't open new programs after wakeup

First of all, hello. I'm new here.

Secondly, I'm having some wierd problem. Whenever my computer wakes up after a sleep (Lid-close) it seems like i can't open new programs. The computer itself works fine, and the already open programs work too, but as soon as i try and open up a new window i get an error.

No protocol specified

** (gedit:1984): WARNING **: Could not open X display
No protocol specified

(gedit:1984): Gtk-WARNING **: cannot open display: :0.0

Here's the relevant dmesg from the wakeup:
http://paste.ubuntu.com/5675216/

I'm running openbox if that makes any difference.

I hope someone know what's causing this and how to fix it.

Last edited by DelusionalLogic (2013-05-18 14:18:55)

Offline

#2 2013-05-17 20:40:34

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved]Can't open new programs after wakeup

What does systemd's journal have to say about things?

Offline

#3 2013-05-17 22:54:13

Crozepp
Member
From: Basque Country
Registered: 2010-04-03
Posts: 41

Re: [Solved]Can't open new programs after wakeup

Hello.

I had a similar (same?) problem because  my hostname was dhcppc1 but in /etc/hostname file I had "localhost".  I changed it for dhcppc1 and problem solved.

Hope it helps.

Offline

#4 2013-05-17 23:20:45

DelusionalLogic
Member
Registered: 2013-05-07
Posts: 40

Re: [Solved]Can't open new programs after wakeup

WonderWoofy wrote:

What does systemd's journal have to say about things?

Nothing that looks remotely interesting.

May 18 01:16:12 localhost systemd[1202]: Mounted /sys/kernel/config.
May 18 01:16:12 localhost systemd[1202]: Stopped target Sound Card.
May 18 01:16:12 localhost systemd[1202]: Starting Default.
May 18 01:16:12 localhost systemd[1202]: Reached target Default.
May 18 01:16:12 localhost systemd[1202]: Startup finished in 1.031s.
May 18 01:16:28 localhost systemd[1202]: Starting Bluetooth.
May 18 01:16:28 localhost systemd[1202]: Reached target Bluetooth.
May 18 01:17:11 localhost.localdomain systemd[1202]: Time has been changed
May 18 01:17:11 localhost.localdomain systemd[1202]: Service bluetooth.target is
May 18 01:17:11 localhost.localdomain systemd[1202]: Stopping Bluetooth.
May 18 01:17:11 localhost.localdomain systemd[1202]: Stopped target Bluetooth.
May 18 01:17:11 localhost.localdomain systemd[1202]: Starting Bluetooth.
May 18 01:17:11 localhost.localdomain systemd[1202]: Reached target Bluetooth.

I never changed my computers name from localhost, is that a problem?

EDIT:
It turns out that that is a big deal. I changed my hostname, and now everything is great.

Last edited by DelusionalLogic (2013-05-17 23:35:57)

Offline

#5 2013-05-18 00:25:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved]Can't open new programs after wakeup

Yes it is a big deal, and there is a reason why that step in included in the beginners guide.  It can create unforseen consequences, as you ahve found out.

Please mark the thread as [Solved], which can be done by editing the first post.

Offline

Board footer

Powered by FluxBB