Is this issue really resolved for you? I'm experiencing the exact same problem, and it get's worse when I run
xscreensaver. When I resume from suspend I can see my screensaver and apparently it's trying to spawn the
screenlock prompt box, but failing, so it justs turns black... after that I'm stuck doing a hard reset.
Sometimes I just get the problem of not beeing able to spawn new windows in which case I have to kill X
(or quit my window manager so slim can restart).
I have set up my hostname correctly and I'm running out of ideas what could be the problem.
Should I create a new thread concerning this is one is marked as [SOLVED]?
cheers
]]>HTH
]]>Edit: X starting on tty1 is standard now with systemd and logind so it won't be that.
]]>I asked about localhost in your PS1 because you show localhost in your PS1
r0b0t wrote:[ssss@localhost]$ opera
Is localhost the hostname for that computer?
If you aren't trying to open applications over the network and $DISPLAY is always :0 it is a strange problem for sure.
yes it's localhost
$ cat /etc/hostname
localhost
and no, I just open the applications normally as always did before without any problem, is it as after some "thing" happens the applications cannot detect any X server running but the X is indeed running.
I notice however that I'm on tty1 with the graphic, and normally I remember running on tty7 , maybe have something to do with it?
[ssss@localhost]$ opera
Is localhost the hostname for that computer?
If you aren't trying to open applications over the network and $DISPLAY is always :0 it is a strange problem for sure.
]]>Why is localhost in your PS1 ?
Don't understand, however this is my PS1:
$ echo $PS1
[\u@\h \W]\$
it's user@hostname (which is standard no)?
$ echo $DISPLAY
:0
this didn't change during and before the issue.
The problem happens really randomly, until now I didn't understand on what is connected, however I use allot the network, VPN / voip, mail, browsing, etc..
Is there anything not normal with PS1?
Searching on google I found that normally this happens when you are logged in to another box and are trying to execute graphical application on the remote place but in this case I'm in my laptop.
]]>Why is localhost in your PS1 ?
Is your issue related to something you're doing over the network?
When the apps you are starting can't find the display what does
echo $DISPLAY
return?
]]>Please help,
thanks
EDIT:
happening again ,
but I see the process is running;
root 1621 5.6 0.5 134940 21708 ? S<s 13:12 6:04 /usr/bin/X -nolisten tcp :0 -auth /tmp/serverauth.a4kXWggLKv vt1
anybody? what's happening?
I have this crazy issue which never happened before,
[ssss@localhost]$ opera
No protocol specified
opera: cannot connect to X server :0. Error: Resource temporarily unavailable
[ssss@localhost]$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :0
[ssss@localhost]$ chromium
No protocol specified
(chromium:2576): Gtk-WARNING **: cannot open display: :0
[ssss@localhost]$ terminator
No protocol specified
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set
[ssss@localhost]$ claws-mail
No protocol specified
(claws-mail:2592): Gtk-WARNING **: cannot open display: :0
Now I'm currently on firefox and the graphical programs which I opened before they work as they should but I cannot open a new one, and if I close the open they are not able to connect to X.
sssss 1529 0.0 0.0 15872 880 tty1 S+ 20:27 0:00 xinit /home/sssss/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.tuHk8KdrmB
a bit from my tail -f (currently)
$ tail -f /var/log/Xorg.0.log
[ 24.198] (**) HP WMI hotkeys: always reports core events
[ 24.198] (**) evdev: HP WMI hotkeys: Device: "/dev/input/event7"
[ 24.198] (--) evdev: HP WMI hotkeys: Vendor 0 Product 0
[ 24.198] (--) evdev: HP WMI hotkeys: Found keys
[ 24.198] (II) evdev: HP WMI hotkeys: Configuring as keyboard
[ 24.198] (**) Option "config_info" "udev:/sys/devices/virtual/input/input7/event7"
[ 24.198] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 13)
[ 24.198] (**) Option "xkb_rules" "evdev"
[ 24.199] (**) Option "xkb_model" "hpzt11xx"
From pstree -ap
|-gvfsd-trash,1798 --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
| `-startx,1512 /usr/bin/startx
| `-xinit,1529 /home/sssss/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.tuHk8KdrmB
| |-.xinitrc,1534 /home/sssss/.xinitrc
| | |-.xinitrc,1552 /home/sssss/.xinitrc
| | |-lxpanel,1551
| | | `-{lxpanel},1642
| | |-openbox,1545 --startup /usr/lib/openbox/openbox-autostart OPENBOX
| | `-qxkb,1549
| | `-{qxkb},1561
after restart I see however :
| `-X,1543 -nolisten tcp :0 -auth /tmp/serverauth.4nwwrf1wMz vt1
until it goes way again.
Any idea of what is happening or how to sovle this?
]]>