The correct command is:
startx -- /usr/X11R6/bin/X :1
If you instead are trying to reuse the same X server for multiple logins,
use xhost +localhost to allow anyone from your machine to connect to the
server. Replace localhost with any other machine's name or IP address as
required. XHost is used to set access permissions to your X server. Your
client program however still needs to be told where the X server is. For a
new login on the same machine, use:
export DISPLAY=127.0.0.1:0
Then start the X based program. Replace the IP address as required.
To run a program on a remote computer and see the display on the local X
server, start by telnetting to the remote machine. Telnet will
automatically set the DISPLAY variable, but it will be set based on the
local machine's hostname. That will therefore be useless unless the remote
machine is able to do a host lookup to retrieve the IP address (via
/etc/hosts or DNS). You will therefore need to reset the value of DISPLAY
using the avove syntax, then start your remote program from the terminal
window. Your X server might reject the connection; to fix this type xhost
+remote-ip before telnetting over. This needs to be done only once after
the X server has started.
Kiran Jonnalagadda
[EMAIL PROTECTED]
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
On Tue, 3 Aug 1999, Kush Desai wrote:
> coz i wanted to see if i could have multiple session to the x-server and
> when i type start -- :1.0
> i get the message that the client is not allowed to connect to server....so