Question

Display "Error: Can't open display: "

  • Posted January 24, 2014

Hi im using Ubuntu 12.10 x64 Desktop and successfully connected using putty then i used command # vncserver after gen password using tightvnc viewer i successfully logged in and can get my Desktop i tested xclock its working

after i changed : -root password -create user ‘oracle’ -edited visudo and addred root permission to user ‘oracle’ -reload ssh -logged in as a oracle

now xclock not working "Error: Can’t open display: "

as a root also getting same error

echo $DISPLAY

not shown anything

please help me to solve this error i like to use GUI insulation

Thanks -suresh

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you tried starting tightvnc as the new user?