[Thinlinc-technical] Cannot open display after some time

Peter Astrand astrand at cendio.se
Wed Feb 27 14:05:17 CET 2013


We haven't heard of this problem before. However, my guess is that something 
removes /tmp/.X11-unix/Xn (where n is the session number) after some time. As I 
understand it, OpenSuse 12.1 uses "systemd", which is known to cause 
compatibility problems. I found this bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=674194

It seems that you need to use systemd-tmpfiles v18 or later to avoid this 
problem. Or, use a Linux distribution without "systemd" :-)

Rgds,
Peter

On Wed, 27 Feb 2013, Germ van Eck wrote:

> For the last year, and after several (re-)installations I keep having the 
> issue that I can't start new X applications after some time. When I try to do 
> this from the terminal, I get the error "Cannot open display".
> 
> myusername at mypc:~/sbin> echo $DISPLAY
> :1.0
> myusername at mypc:~/sbin> w
> 13:18:14 up 8 days,  1:13,  3 users,  load average: 0,77, 0,63, 0,60
> USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
> myusername     thinlinc :1               10:06    0.00s  0.00s 0.00s 
> tl-session: myusername
> myusername     pts/1    :1.0             11:09    0.00s  0.09s 0.00s w
> myusername at mypc:~/sbin> gedit
> No protocol specified
> Cannot open display:
> 
> Both the client and server systems are running Opensuse 12.1. The server 
> hardware is an Apple iMac (ATI using binary driver), the client is a HP 
> Laptop.
> 
> I use Virtualbox with Win7. The thinlinc-vnc-server version is 3.4.0-3513, 
> X.Org is at 7.6_1-3.2.1.
> 
> Both a fix and a workaround would be appreciated, I now solve this by logging 
> out/in, but this becomes very annoying.
> 
> 
>


---
Peter Astrand		ThinLinc Chief Developer
Cendio AB		http://cendio.com
Teknikringen 8		http://twitter.com/ThinLinc
583 30 Linkoping	http://facebook.com/ThinLinc
Phone: +46-13-214600	http://plus.google.com/112509906846170010689



More information about the Thinlinc-technical mailing list