Answer the question
In order to leave comments, you need to log in
Launching VirtualBox via TihgtVNC = disappearing VNC?
I connect to the server (Ubuntu 10.10) via VNC (TihgtVNC v1.3.9-6.1 is running on the server). Then I launch VirtualBox v 4.1.0. The connection to the server via VNC immediately disappears.
netstat -antp|grep vnc shows that the VNC port is also being closed. Although when you restart TihgtVNC, a desktop is created next to the previous one, as if the previous one is still working:
$ tightvncserver
Warning: ws-PC:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server ws-PC:1
Warning: ws-PC:2 is taken because of /tmp/.X2 -lock
Remove this file if there is no X server ws-PC:2
Warning: ws-PC:3 is taken because of /tmp/.X3-lock
Remove this file if there is no X server ws-PC:3
New ' X' desktop is ws-PC:4
Starting applications specified in /home/ws/.vnc/xstartup
Log file is /home/ws/.vnc/ws-PC:4.log
Answer the question
In order to leave comments, you need to log in
For history, change TihgtVNC to x11vnc.
sudo apt-get remove vino -y
sudo apt-get install x11vnc -y
x11vnc -storepasswd
nano /etc/init/x11vnc.conf #отредактировать файл под свои нужды
shutdown -r now
netstat -tulpn | grep x11vnc
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 1358/x11vnc #должны увидеть примерно такой вывод
vncviewer 192.168.1.1 #подключение к серверу VNC с удаленной linux системы
Помощь:
man x11vnc
x11vnc -opts
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question