Hi all, im using 12.04 Server, I have installed the vnc4server and am also using webmin and have SSH enabled so I have more than one way in.
The problem, when I issue the command - vncserver -geometry 1024x768 to start a VNC session from webmin or from sudo/su either from the server itself or from SSH Console and i try to login to the VNC session I just get a blank screen. Ive gone through a few posts and modify the .vnc/xstartup but this doesnt change my issue.
The issue really is this, if i issue the command directly on the server, without sudo/su and then login via the VNC client (either Remmina or SSL/SSH VNC Viewer) it works without issue. It is only when the command is issued from 'root' that problems occur.
So I figure (thought am not certain) this is most likely a permissions issue of some description, ie, service is started by 'root' but am trying to utilise it, ie, login with a non 'root' account.
The scenario I would ideally like to get to get working, is to be able to issue the command from the comman shell within Webmin, but of course whenever I do this, the system thinks it is 'root' and will just provide a blank screen when attempting to login via VNC.
Alternatively I could of course start a session automatically for the user in question at startup, however I would not know where to start...
Any guidance and advice is most appreciated...