Re: is it possible running X on a linux server without keyboard, mouse or monitor?



YBM staggered into the Black Sun and said:
csplayer wrote:
My Debian [server] has no keyboard, mouse or monitor. But now a GUI
application needs to run on this server, as a [daemon].

If something needs X, it totally doesn't fit the classical definition of
a daemon. What is the name of the program you're running?

#apt-get install xwindow-system-core xdm
I dont know how to [set up] xorg.conf to make X run on this server.
You don't need to : just configure xdm to accept XDMCP request from
remote X servers.

Why drag xdm into this?

BTW, you don't need to run a whole desktop on this host, only one
application, right? Why don't you connect to it by ssh -X, then run
this app?

This is probably the wrong approach. When you sit at machine1 and ssh
-X to machine2, the X clients you start on machine2 have their Display
set to localhost:10, which is forwarded to machine1. If the ssh process
dies or machine2 fails, then the X clients running on machine1 will have
a cow and fall over. This is undesirable for obvious reasons. So, a
better approach might be to start Xvfb on machine1, then direct the X
client you need to use the Xvfb as its Display. Whether this will work
properly or not depends on whether the X client requires actual X input
or not. You have not made this clear--please do that.

--
"Dreams? Best leave dreams to those that can afford them."
--Aunt Cordelia, _Wizard and Glass_, Stephen King
My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: mail jammed
    ... What's the outgoing SMTP server set to in the server (is ... machine1 has a routable IP and a private IP. ... the outgoing SMTP server settings on machine1's MUAs. ...
    (comp.os.linux.misc)
  • Re: Frontpage & MS SQL Connection Error-Please Help
    ... This error means that the account is unknown on the SQL Server machine. ... suppose I create a user named User1 on computer Machine1. ...
    (microsoft.public.sqlserver.connect)
  • Re: graphical environment in a text session?
    ... >> X server installed in it, is it possible to have graphical ... if you want to run an X application on machine1 and have it display ...
    (comp.os.linux.misc)
  • ASP .NET State Service Issue - Not Replicating state
    ... We are using a web farm of Windows Server 2003 machines (machine1 and ... We are using NLBS to set up the cluster. ... server configured on another windows 2003 ... Then we do successive requests where we get the session state. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Mitigate FTP
    ... if you use ssh (server) with scp (in clients) using cryptographic key ... Security Trends Report from Cenzic ...
    (Pen-Test)