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



csplayer wrote:
hi,
My linux server, a Debian, has no keyboard, mouse or monitor.
I always use it by ssh console.
But now a GUI application needs to run on this server, as a deamon.

Do you need to see output from it?

If not, you don't need any desktop manager like XDM.
Try using a default X config with PS2 keyb and mouse. (dpkg-reconfigure
xserver or something like that) Should be able to run even without them
plugged in. Furthermore, try using XVFB to create a virtual framebuffer
X session.

Then you can start an X program inside that virtual X session.

If you DO need to see output, well... Then it'll be a whole different story.


I did these:
#apt-get install xwindow-system-core
#apt-get install xdm

I dont know how to config the xorg.conf to make X run on this server .
Neither i am sure whether xdm needs a running X.

anyone help me?
Thanks in advance!

.



Relevant Pages

  • xdm woes
    ... If I run xdm, everything hangs when I log out. ... Module "i2c" already built-in ... Errors from xkbcomp are not fatal to the X server ...
    (freebsd-questions)
  • Re: Advice on mixed Linux/Windows student lab?
    ... These machines have around 16 MBytes of RAM and ... > nfs root from a remote kernel, ... > server, which implies login to the server from the xdm screen, which ... > really implies that xdm is running on the server and controlling ...
    (comp.os.linux.setup)
  • Re: X-Terminal
    ... > XDM and X Terminal mini-HOWTO ... > Auf dem Server und auf dem Client sollte der selbe X-Server laufen ... Comment out this line if you want to manage X terminals with xdm ... > Dies auf dem Client: ...
    (alt.os.linux.suse)
  • Re: X Problem
    ... fine as Windows machines for years. ... This will make initautomatically start xdm when the server boots. ... /etc/profile # may need to source global shell config ...
    (comp.unix.bsd.freebsd.misc)
  • Re: how to autologin in xdm?
    ... is why you want to use xdm when you aren't going to use it? ... login prompt you could run xinit directly (or using the startx shell ... man page says, it's only supposed to mimick getty, but on an X server. ... you'd have to do the initial session by running the server ...
    (comp.os.linux.x)