I
I
Igor2012-03-23 17:11:16
linux
Igor, 2012-03-23 17:11:16

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


A Google search shows that people have had this problem for a long time . But I did not find a solution.

Who can tell what's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grims, 2018-01-23
@grims

For history, change TihgtVNC to x11vnc.

spoiler
Как сменить:
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 question

Ask a Question

731 491 924 answers to any question