haskell3
July 2nd, 2015, 09:14 PM
I recently lost my ubuntu box to a flood and am now setting up a new 14.04 installation. While the old installation was never perfect, the x11vnc and xrdp installation did a few things I can not seem to recreate.
In the old set up whenever I logged in either by terminal or remote desktop from windows machine, a new vnc port would be assigned and I would get a window telling me my vnc port.
In the present setup, a vnc port (or at least tcp port that vnc listens to) is set up for the terminal log in screen (set to 5900) and a port is created for the user once logged in (e.g. 5901 so 5900 and 5901 both are for the same session). The second port probably owes to having set x11vnc to run in the .profile (trying everything I can think of here). When I connect with remote desktop from the windows machine no vnc port is made. I would like to have vnc access to each log in for each user. Just not sure how to set this up.
the current /etc/init.d/x11vnc.conf
# description "Start x11vnc at boot"
description "x11vnc"
start on runlevel [2345]
stop on runlevel [^2345]
console log
respawn
respawn limit 20 5
#start on login-session-start
#script
exec /usr/bin/x11vnc -xkb -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/vnc/.vnc/passwd -shared -bg -o /var/log/x11vnc.log
#end script
the ~/.xsession file just contains:
xfce4-session
any help appreciated. thank you in advance.
In the old set up whenever I logged in either by terminal or remote desktop from windows machine, a new vnc port would be assigned and I would get a window telling me my vnc port.
In the present setup, a vnc port (or at least tcp port that vnc listens to) is set up for the terminal log in screen (set to 5900) and a port is created for the user once logged in (e.g. 5901 so 5900 and 5901 both are for the same session). The second port probably owes to having set x11vnc to run in the .profile (trying everything I can think of here). When I connect with remote desktop from the windows machine no vnc port is made. I would like to have vnc access to each log in for each user. Just not sure how to set this up.
the current /etc/init.d/x11vnc.conf
# description "Start x11vnc at boot"
description "x11vnc"
start on runlevel [2345]
stop on runlevel [^2345]
console log
respawn
respawn limit 20 5
#start on login-session-start
#script
exec /usr/bin/x11vnc -xkb -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/vnc/.vnc/passwd -shared -bg -o /var/log/x11vnc.log
#end script
the ~/.xsession file just contains:
xfce4-session
any help appreciated. thank you in advance.