You are not logged in.
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
What does systemd's journal have to say about things?
Offline
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
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
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