LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-10-2004, 11:25 AM   #1
kapslock
LQ Newbie
 
Registered: Aug 2003
Posts: 28

Rep: Reputation: 15
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
 
Old 07-10-2004, 01:04 PM   #2
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
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.
 
Old 07-10-2004, 01:25 PM   #3
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
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.
 
Old 07-10-2004, 01:59 PM   #4
kapslock
LQ Newbie
 
Registered: Aug 2003
Posts: 28

Original Poster
Rep: Reputation: 15
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
 
Old 07-10-2004, 11:35 PM   #5
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xhosts + BRAHmS Linux - General 1 04-29-2004 09:35 AM
how to do xhosts + automatically KoRiR Linux - Networking 3 04-28-2004 01:59 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration