On Sat, 2014-06-14 at 10:43 +0530, Arun Khan wrote: > (b) ssh -X someuser@headlessserver 'firefox'. This is an easier > option and also better IMO.
I tried this method to run xclock from a headless vm. It works. Here is the steps I followed. Steps: 1. create a headless(no video card and no X running) VM. 2. install xclock in that VM 3. enable ssh port forwarding in that VM 4. start sshd in that VM. 4. from my local machine tried connecting to VM with following command DISPLAY=":0" ssh -X 192.168.2.108 'xclock' replacing xclock with firefox in the above steps will work. So, the cron entry has to be in the local machine like this, 00 10 * * * DISPLAY=":0" ssh -X <remoteuser>@<headlesshost> 'firefox' this will connect to the headless VM with X11 port forwarding enabled. So, firefox will be shown in the local :0 display everyday at 10:00 AM I have to say, XDMCP and X11 port forwarding are wonderful things, these Wayland people are going to kill it anyway. Thanks, Mohan R _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines