LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   xhosts problem (https://www.linuxquestions.org/questions/linux-general-1/xhosts-problem-203411/)

kapslock 07-10-2004 11:25 AM

xhosts problem
 
I am unable to get into xserver from a normal user account,only accessible account is the root.
The reason i guess is probably i used xhost -
in my root login.
Can anybody tell me what would be the solution to have the display from all logins
anytime i execute a xhost + command it gives me

xlib :connect to :0.0 refused by server
xlib:Invalid MIT-MAGIC-COOKIE-1-KEY
xhost :unable to open display

thanks in advance

wolfe2554 07-10-2004 01:04 PM

xhost adds and deletes user able to access the xserver. according to the error you listed xhost is looking for xwindows to be started. now when you type startx in a tty what is the error that prevents you from accessing the x server? and are you trying to run x server and clients from multiple workstations??
need more info on what you are trying to do.

wolfe2554 07-10-2004 01:25 PM

xhost adds and deletes user able to access the xserver. according to the error you listed xhost is looking for xwindows to be started. now when you type startx in a tty what is the error that prevents you from accessing the x server? and are you trying to run x server and clients from multiple workstations??
need more info on what you are trying to do.

kapslock 07-10-2004 01:59 PM

Where ever i type xhosts whether as a root or as a user it gives me the same errors i mentioned in the previous post
What basically my problem is the xserver is running on dispay 0 ,but i want to login as a user anD ACCESS THE SERVER.

with root login i am able to get into the server.
i ahve to install a gui based application as a user ,coz of which i needed the xwindows.

i think all this happened coz i used xhost - command on the root and aftre which i am all stuck
thanks for ur reply

idaho 07-10-2004 11:35 PM

You might want to look here for some solutions:
http://wiki.linuxquestions.org/wiki/...top_Connection

Enabling xdmcp on your target linux box will allow you to connect from any other system with an X server. From another Linux box, you would <CTRL><ALT><F1> into a terminal session, and invoke:
X :1 -query <your.target.ip.address>

From a MSWin box, you need to install an X server such as Cygwin/X, then launch a bash session and invoke:
xwin -query <your.target.ip.address>

VNC is also an option to consider.


All times are GMT -5. The time now is 10:51 PM.