How do I start a blank x-server?
Shachar Shemesh
shachar at shemesh.biz
Mon Feb 27 21:27:37 IST 2012
On 02/27/2012 09:05 PM, Micha wrote:
>
> For a project I'm working on at the moment, I need to be able to log
> in remotely to a machine (via ssh) and start a blank x-server. That
> is, to just initialize the display, with not cursor or window manager,
> to allow for creating a single full screen window for display.
> I seem to recall that just running X as a user used to do it, up to
> the no cursor part, leaving an empty (hetched) screen and running the
> content of .xsession or something like that.
>
As root, run "X". If there is a server already running on the machine,
"X :1" would do it.
I don't know what you meant to run as a user. If it was "startx", that
does not work, and has not work for some time now. In fact, I doubt it
ever started an empty X server.
Bonus: X.org changed their default so that the default background is now
black, meaning no flicker until your window opens.
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20120227/dcfc459b/attachment.html>
More information about the Linux-il
mailing list