X-Windows - connection to "0.0." refused

Benjamin Honsinger Honsinger at einstein.wsd.wednet.edu
Wed Feb 9 11:42:11 PST 2000


Thanks! I've found out that I can run vmware as a regular user (did I say that
before),  I simply can't gain access to /dev/hda. Hmmmm. I think I'll go ahead
and do a virtual disk installation for now. What are the security issues of
running vmware as root?

On Wed, 09 Feb 2000, you wrote:
> You could do something like this assuming you have ssh installed:
> 	ssh localhost -l root /path/to/vmware
> 
> or you could run an 'xterm' as "benh" and:
> 	xhost +local:
> 	su
> 	export DISPLAY=':0.0'
> 	vmware
> 
> -----------------------------------------------
> Michael Hornung		foobar at u.washington.edu
> 
> On Wed, 9 Feb 2000, Benjamin Honsinger wrote:
> 
> |Ok, unless someone tells me otherwise I am going to run vmware as root. I need
> |to be able to run it under x-windows while logged in as benh if at all
> |possible. So I open a virtual console and get the following:
> |
> |[benh at mandrake benh]$ su
> |Password:
> |[root at mandrake benh]# vmware
> |Xlib: connection to ":0.0" refused by server
> |Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> |Error: Can't open display: :0
> |[root at mandrake benh]#  
> |
> |How do I get rid of this error and allow myself to run vmware as root from
> |xwindows (when I am logged in as benh)?
> |
> |Thanks!  - Ben - 
> |
> |


More information about the Linux mailing list