x11 window server and users rights

x11 window server and users rights

March 27, 2013

if you get exception similar to the following: Can’t connect to X11 window server

check your DISPLAY env variable : > echo $DISPLAY
fix it if not correct : > export DISPLAY=:0

if it’s correctly set but you have the problem. May your linux user you have using don’t have rights to the xhost.
check this closure by typing: > xhost

if your user is not in the list, give it the right to connect to the X11 window server by typing: > xhost +SI:localuser:jboss

admin

Leave a Reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax