You are not logged in.
On a machine without a monitor, how can I start a desktop environment or window manager then enable VNC server to remote into it? On a machine with a monitor, I just add something like x11vnc -forever -display :0 & to above exec in .xinitrc. Then starting X as a job or in screen starts the desktop and server at the same time on the remote display for me to VNC into. I can also open applications on the remote desktop through SSH by running something like DISPLAY=:0 firefox &.
Last edited by Name Taken (2014-09-12 07:50:12)
Offline
When you call x11vnc use the -create parameter to make a dummy display; you'll need xvfb as well for it to work (or xdummy, etc.). Check the man page for details.
Or you can use a VNC server like tightvnc or tigervnc that automatically creates a virtual display.
Offline
I got a basic headless LXDE VNC server running with
Xvfb :0 -screen 0 800x600x16 &
DISPLAY=:0 lxsession &
x11vnc -forever -display :0 &Last edited by Name Taken (2014-09-12 07:54:23)
Offline
I use xrdp on my XBMC media server to start a desktop session.
Not completely headless but for the desktop it is.
Offline