Xen Project Q&A Forum: First Line Help for Simple Questions
This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.
Here I see the port:
root@ubuntu120403:~# netstat -l | grep tcp | grep 59
tcp 0 0 localhost:5901 *:* LISTEN
But I get on screen:
root@ubuntu120403:~# gvncviewer localhost:5901
Cannot open display:
Run 'gvncviewer --help' to see a full list of available command line options
How do I get it work?
I am on the same local machine:startx work. Please, to everyone help me. I am trying this for over days and read tons of tutorials and Xen wiki, however nothing helped me out.
Many thanks for every helpfu answer.
Accepted AnswerRussell PavlicekOffline0Rémy,
The error "Cannot open display" may mean that you don't have access to the X Windows System on the machine you are running from.
You can verify this by trying to start any other graphical program at the same point that you try to invoke gvncviewer. If you have Firefox or xeyes installed, try one of them. If you get a similar error, we have an X11 traffic problem.
If you have used sudo to get to the root "#" prompt, you should use ssh instead. Try the syntax "ssh -Y" in the command to make sure the X11 traffic is handled correctly.