egonzalez
March 31st, 2008, 09:02 PM
Hi All,
At this time, I've got a clean installation of Ubuntu Server (LAMP) with root access, now, because I need to connect to this server via a remote machine but not using SSH I need to specify the XHOST command, so, I install XHOST by typing:
apt-get install x11-common-utils
Once XHOST is installed, I try to add the remote IP Address of the machine I want to connect from but I've got the following error:
xhost: can not open display
What can I do in order to add the IP address of the remote host by using XHOST? Even more, I've tried the same command (xhost +) to permit all connections but I've got the same error message.
Does anyone know what can I do?
Thanks in advance.
At this time, I've got a clean installation of Ubuntu Server (LAMP) with root access, now, because I need to connect to this server via a remote machine but not using SSH I need to specify the XHOST command, so, I install XHOST by typing:
apt-get install x11-common-utils
Once XHOST is installed, I try to add the remote IP Address of the machine I want to connect from but I've got the following error:
xhost: can not open display
What can I do in order to add the IP address of the remote host by using XHOST? Even more, I've tried the same command (xhost +) to permit all connections but I've got the same error message.
Does anyone know what can I do?
Thanks in advance.