Re: xhost unable to open display
Originally Posted by
jamesstan2
Code:
xhost: unable to open display ""
that error message suggests that the DISPLAY environment variable is unset. xhost needs to have the DISPLAY environment variable set so it can communicate with the local X server.
since you are using remmina, that suggests you are trying to connect over the network. is that X server also listening on a network port? within the same hosts, the default is to use Unix domain named sockets for more reliable authenticity and no need for encryption. try this on the remote host (its console or an ssh session):
Code:
sudo netstat -antp|fgrep -i listen
and see if X is shown listening to a high port number. you will need to have a DISPLAY environment variable value that refers to that host by name or address, plus X port number.
Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer
Bookmarks