Date: Fri, 3 Aug 2001 20:10:00 -0500 From: Mike Meyer <mwm@mired.org> To: Morsal Roudbay <morsal@swipnet.se> Cc: questions@freebsd.org Subject: Re: VNC server problems Message-ID: <15211.19304.389747.54820@guru.mired.org> In-Reply-To: <20010804023928.A30367@zigman.2y.net> References: <27189267@toto.iv> <15210.53310.100081.883985@guru.mired.org> <20010803184445.A27417@zigman.2y.net> <15210.56313.110990.447055@guru.mired.org> <20010804023928.A30367@zigman.2y.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Morsal Roudbay <morsal@swipnet.se> types: > > Ah, that brings up a possibility. Make sure the X tools are in your > > path before you start the X server. If it can't find those, things > > die. If that fixes it, you can stop reading now. > xauth and the other X tools are in my path. (I run the VNC server as root) > > taken from .bash_profile: > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:$HOME/bin; > export PATH That's /root/.bash_profile, right? Personally, I'd rather see the output of "which xauth". > > That also clears up one question I had. Do those error messages show > > up before you try connecting to vnc from the windows box? Try going > > into ~/.vnc on the VNC server and removing the *.log and *.pid files > > before you start VNC, then check the .log file after you start it > > before you try to connect to it. > The errors show up _before_ I connect to the server. That's not really unexpected - the clients in xstartup are failing to connect to the server that VNC is starting. > > > I have no idea what type of auth I'm using.. > > Ok, let's check the auth hypothesis. Check ~/.vnc/xstartup on the VNC > > server machine. If it's there, just add the line "xhost +" to it. If > > it's not there, you'll need to create one. Something like: > The xstartup script is there and I tried adding the line u told me about but > still I get the same error when I start the VNC server. Again, this is /root/.vnc/xstartup, right? If so, the only other thing I can think of is setting up xauth for root. BTW, I would seriously recommend running vnc as someone other than root. That allows root logins over the network, which the default configuration of FreeBSD doesn't allow by any service. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15211.19304.389747.54820>
