I have an application that I'd like to run, yet I'd like it to be visible only through a certain VNC port.
I don't want the app to show up on the normal Ubuntu desktop. I want the app to run "in the background", and be viewable through VNC only. And when connected to this "alternate X server", the end-user wouldn't see any menu bars, no window decorations.. Just the app.
Come to think of it, what I'm asking for is a sort of kiosk-mode for only a certain app, accessible through VNC.
Is this possible or am I really reaching here?
Thanks!
Note that the app I wish to run in this fashion is written in Java. It is a JNLP file.
I have successfully accomplished this. Here's how.
Install the necessary software.
Set a password for the VNC connection.
Create a script file to run with cron.
These are the contents of the file.
Edit root's crontab.
Add the following line to the end of the
crontab
.Reboot, and try connecting to your server, port
6789
This worked for me, and I wanted to share.
Have fun!
Sources
wmctrl