326bd935
14th December 2011, 12:31 PM
I'm sorry, i'm not too sure where to place this but the issue is:
1. yum install x11vnc - doesn't install the dependency 'tk'
2. /usr/share/applications/x11vnc.desktop - Exec= is wrong:
Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY
should be:
Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %HOME/.x11vnc.log.%VNCDISPLAY
(without double %s)
--------------------------------------------------------------------------------------------------------
The problem is obvious as when executed directly in console, the output shows:
env: wish: No such file or directory
-- this is because wish is in the tk package
After installing tk:
...
14/12/2011 22:23:48 Expanded logfile to '%%HOME/.x11vnc.log.%phrixus:5900'
14/12/2011 22:23:48 Expanded logfile to '%/home/usrname/.x11vnc.log.%phrixus:5900'
error opening logfile: %/home/usrname/.x11vnc.log.%phrixus:5900
open: No such file or directory
...
-- notice how you only should have one '%' and therefore you cannot create a logfile, failing to start x11vnc server resulting in a x11vnc cannot connect to X server, screen :0...
---------------------------------------------------------------------------------------------------------------
The surprise:
This must have gone unnoticed for a while now seeing as it affects both my:
i686 f15
x86_64 f16
This is surprising and really quite bad. No one uses x11vnc??
1. yum install x11vnc - doesn't install the dependency 'tk'
2. /usr/share/applications/x11vnc.desktop - Exec= is wrong:
Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY
should be:
Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %HOME/.x11vnc.log.%VNCDISPLAY
(without double %s)
--------------------------------------------------------------------------------------------------------
The problem is obvious as when executed directly in console, the output shows:
env: wish: No such file or directory
-- this is because wish is in the tk package
After installing tk:
...
14/12/2011 22:23:48 Expanded logfile to '%%HOME/.x11vnc.log.%phrixus:5900'
14/12/2011 22:23:48 Expanded logfile to '%/home/usrname/.x11vnc.log.%phrixus:5900'
error opening logfile: %/home/usrname/.x11vnc.log.%phrixus:5900
open: No such file or directory
...
-- notice how you only should have one '%' and therefore you cannot create a logfile, failing to start x11vnc server resulting in a x11vnc cannot connect to X server, screen :0...
---------------------------------------------------------------------------------------------------------------
The surprise:
This must have gone unnoticed for a while now seeing as it affects both my:
i686 f15
x86_64 f16
This is surprising and really quite bad. No one uses x11vnc??