I assume you mean that you can't start X11 in the VM console window. A simple google search suggests precisely what I would suggest: delete the .Xauthority file and try again.
http://www.google.com/search?q=xauth:+error+in+locking+authority+file (Perhaps you did a startx as root, so you no longer own .Xauthority ?) On Jul 9, 2012, at 4:31 AM, bilal gill wrote: > Hi > Every one i am using virtual box vm version 4.1.18 r78361 in linux.( Ubuntu > 10.04 LTS lucid lynx) > I am running a "open flow tutorial" on virtual vm box. > I am stucked on the step where we test X11 forwarding.(xterm,metacity, startx > nothing is working even wireshark in VM) > The problem is i cant open wireshark or any kind of display from Virtual VM > box. > I have searched many forums......but no success.......its the problem with > authority file .........X server?...... Can any body Help > All of the above mentioned commands are working from linux terminal but not > from vm box ! I am stucked:( > Below are some commands and the errors with them in Virtual Box VM > > openflow@openflowtutorial:~$ xterm > xterm Xt error: Can't open display: > xterm: DISPLAY is not set > > openflow@openflowtutorial:~$ metacity > Window manager error: Unable to open X display > > openflow@openflowtutorial:~$ startx > xauth: error in locking authority file /home/openflow/.Xauthority > xauth: error in locking authority file /home/openflow/.Xauthority > X: user not authorized to run the X server, aborting. > No protocol specified > xinit: giving up > xinit: unable to connect to X server: Connection refused > xinit: server error > xauth: error in locking authority file /home/openflow/.Xauthority > > openflow@openflowtutorial:~$ xhost > xhost: unable to open display > > openflow@openflowtutorial:~$ sudo & wireshark > [1] 1275 > usage: sudo -h | -K | -k | -L | -V > usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid] > usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u > user name|#uid] [-g groupname|#gid] [command] > usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user > name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>] > usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user > name|#uid] file ... > > (wireshark:1276): Gtk-WARNING **: cannot open display: > [1]+ Exit 1 sudo > > Linux Terminal > > espoo@ubuntu:~$ xhost > access control enabled, only authorized clients can connect > SI:localuser:espoo > SI:localuser:gdm > SI:localuser:root > > > > Waiting for your reply > > br > bilal gill > _______________________________________________ > openflow-discuss mailing list > [email protected] > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
_______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
