x11vnc & KDE 4

Стоит KDE4. Решил поставить VNC (иногда пригождается, удобно)
Собрал x11vnc:
x11-misc/x11vnc-0.9.9 USE="crypt fbcon jpeg ssl system-libvncserver threads v4l xinerama zlib -avahi"
сделал ему:
x11vnc -storepasswd
Далее запускаю его так:
x11vnc -auth /var/run/xauth/A\:0-lJOUja -rfbauth /root/.vnc/passwd -ncache 10
То что отображение неайс вопрос второй (я имею в виду глубину цвета и т.д. глюки типа бесконечной прокрутки), думаю все настраиваемо.
Волнует вот что:
При закрытии сеанса, x11vnc падает.
вот что говорит:
1. Запустился, написал всякой инфы в консоль и ждёт
The VNC desktop is: Gentoo:1
PORT=5901
2. Подключаемся:
23/09/2011 13:02:33 set_xlate_wrapper: clearing -ncache for new pixel format.
23/09/2011 13:02:33 check_ncache: resetting cache: 129/512 10 0
23/09/2011 13:02:33 Pixel format for client 79.140.78.14:
23/09/2011 13:02:33 32 bpp, depth 24, little endian
23/09/2011 13:02:33 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
23/09/2011 13:02:33 no translation needed
23/09/2011 13:02:37 created selwin: 0x120002f
23/09/2011 13:02:37 called initialize_xfixes()
sh: dcop: команда не найдена

3. Отключаемся

23/09/2011 13:03:37 rfbProcessClientNormalMessage: read: Connection reset by peer
23/09/2011 13:03:37 client_count: 0
23/09/2011 13:03:37 Restored X server key autorepeat to: 1
23/09/2011 13:03:37 running pipe:

dcop --user 'root' --list-sessions

sh: dcop: команда не найдена
23/09/2011 13:03:37
23/09/2011 13:03:37 Restoring KDE kwinrc settings.
23/09/2011 13:03:37
23/09/2011 13:03:37 running command:

dcop --user 'root' --all-sessions kwin KWinInterface reconfigure

sh: dcop: команда не найдена
23/09/2011 13:03:37 viewer exited.
23/09/2011 13:03:37 deleted 40 tile_row polling images.

Все... он вылетел!

Как быть с этим DCOP'ом ? Где взять ? Где-то в инете прочитал что в кедах его заменили на что-то и т.д.
Может другой какой remote desktop есть покошернее ?

есть другие vnc сервера

есть другие vnc сервера например net-misc/tightvnc, или nx(и его форки). В последнем вообще КДЕ выглядит идеально(эффекты не тестил)

.

stasucan написал(а):
Стоит KDE4. Решил поставить VNC (иногда пригождается, удобно)
x11vnc -auth /var/run/xauth/A\:0-lJOUja -rfbauth /root/.vnc/passwd -ncache 10
...
При закрытии сеанса, x11vnc падает.

Насколько помню, это нормальное его поведение. Чтобы он не закрывался, надо запускать с -forever. Или, как вариант, через [x]inetd.

И это... Ты его, случаем, не от root'а запускаешь?

Цитата:
Как быть с этим DCOP'ом ? Где взять ? Где-то в инете прочитал что в кедах его заменили на что-то и т.д.

qdbus

Цитата:
Может другой какой remote desktop есть покошернее ?

В дополнение к перечисленным могу добавить еще remmina - и клиент, и сервер.

NX

NX

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

чего то не везет мне на удаленные рабочие столы

Запускаю nxsetup :

------> You did select no action.
FreeNX guesses that you want to _install_ the server.
Type "y" to abort the installation at this point in time.
"N" is the default and continues installation.
Use "/usr/bin/nxsetup --help" to get more detailed help hints.

Do you want to abort now? [y/N]

------> It is recommended that you use the NoMachine key for
easier setup. If you answer "y", FreeNX creates a custom
KeyPair and expects you to setup your clients manually.
"N" is default and uses the NoMachine key for installation.

Do you want to use your own custom KeyPair? [y/N]
Setting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Adding user "nx" to group "utmp" ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done
Setting up cups nxipp backend ...done

----> Testing your nxserver configuration ...
Warning: Invalid value "COMMAND_FOOMATIC=/usr/bin/foomatic-ppdfile"
Users will not be able to use foomatic.
Warning: Invalid value "CUPS_ETC=/etc/cups/"
Users will not be able to enable printing.
Warning: Invalid value "COMMAND_START_GNOME=/etc/X11/Sessions/Gnome"
Users will not be able to request a Gnome session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
Users will not be able to enable printing. Ignore if you use cups > 1.2

Warnings occured during config check.
To enable these features please correct the configuration file.

<---- done

----> Testing your nxserver connection ...
/usr/bin/nxserver: fork: retry: No child processes
/usr/bin/nxserver: fork: retry: No child processes
/usr/bin/nxserver: fork: retry: No child processes
Fatal error: Could not connect to NX Server.

Please check your ssh setup:

The following are _examples_ of what you might need to check.

- Make sure "nx" is one of the AllowUsers in sshd_config.
(or that the line is outcommented/not there)
- Make sure "nx" is one of the AllowGroups in sshd_config.
(or that the line is outcommented/not there)
- Make sure your sshd allows public key authentication.
- Make sure your sshd is really running on port 22.
- Make sure your sshd_config AuthorizedKeysFile in sshd_config is set to authorized_keys2.
(this should be a filename not a pathname+filename)
- Make sure you allow ssh on localhost, this could come from some
restriction of:
-the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
-the iptables. add to it:
$ iptables -A INPUT -i lo -j ACCEPT
$ iptables -A OUTPUT -o lo -j ACCEPT

я хз чо делать с этим : fork: retry: No child processe

Перезагрузился - все

Перезагрузился - ошибка пропала....

Помажорнее есть teamviewer,

Помажорнее есть teamviewer, работает надо сказать очень хорошо, но проприетарный)

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".