<html style="direction: ltr;">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
Thanks, I got X to start this way (as root). It did take a very long
time (almost half a minute) until the black screen came up. For some
reason though the keyboard and mouse don't respond and I have an X
for the mouse in the middle of the screen that won't move. It also
means that I can't switch back to console from the current machine.
I also tried running gedit from remote ssh to make sure that things
work, it ran, but most of the interface was black. glxgears did work
fine. Not sure if the resolution is correct though. <br>
I would have preferred to be able to do this as a user as the
machine is supposed to run headless as a production machine
dedicated for this application, I guess that I can start the whole
application as a daemon though.<br>
<br>
BTW, I've been using linux for something like 14 years now, so it
could have been a long time ago. It's definitely been long since I
tried. It was at the days before gnome-session and such when you ran
startx and had to setup the display manager and everything else
yourself.<br>
<br>
On 27/02/12 21:27, Shachar Shemesh wrote:
<blockquote cite="mid:4F4BD929.1090300@shemesh.biz" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0.2cm; margin-top: 0pt; } </style>
On 02/27/2012 09:05 PM, Micha wrote:
<blockquote cite="mid:4F4BD416.1050002@post.tau.ac.il" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<style>body
p { margin-bottom: 0cm; margin-top: 0pt; } </style>
<p>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.<br>
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.<br>
</p>
</blockquote>
As root, run "X". If there is a server already running on the
machine, "X :1" would do it.<br>
<br>
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.<br>
<br>
Bonus: X.org changed their default so that the default background
is now black, meaning no flicker until your window opens.<br>
<br>
Shachar<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>