EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

[BugWrong] cannot connect to X server


Author Message
Written on: 15. 01. 2015 [09:24]
Booker
Булат Надыров
Disabled
Topic creator
registered since: 15.01.2015
Posts: 1
Собрал последнюю версию openscada - 0.8.12 на удаленной ubuntu 14.04

при запуске:

$ openscada

выдает:

1|/WorkStation/ | Load!
1|/WorkStation/sub_BD/mod_FireBird/ | Connect module.
1|/WorkStation/sub_UI/mod_WebVision/ | Connect module.
1|/WorkStation/sub_DAQ/mod_DCON/ | Connect module.
1|/WorkStation/sub_Transport/mod_Sockets/ | Connect module.
1|/WorkStation/sub_UI/mod_QTCfg/ | Connect module.
1|/WorkStation/sub_Special/mod_FLibComplex1/ | Connect module.
1|/WorkStation/sub_Special/mod_FLibSYS/ | Connect module.
1|/WorkStation/sub_DAQ/mod_SoundCard/ | Connect module.
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM dmix
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
1|/WorkStation/sub_BD/mod_SQLite/ | Connect module.
1|/WorkStation/sub_Special/mod_FLibMath/ | Connect module.
1|/WorkStation/sub_UI/mod_VCAEngine/ | Connect module.
1|/WorkStation/sub_Protocol/mod_HTTP/ | Connect module.
1|/WorkStation/sub_BD/mod_PostgreSQL/ | Connect module.
1|/WorkStation/sub_Archive/mod_FSArch/ | Connect module.
1|/WorkStation/sub_Transport/mod_Serial/ | Connect module.
1|/WorkStation/sub_DAQ/mod_SNMP/ | Connect module.
1|/WorkStation/sub_DAQ/mod_JavaLikeCalc/ | Connect module.
1|/WorkStation/sub_UI/mod_WebUser/ | Connect module.
1|/WorkStation/sub_Protocol/mod_ModBus/ | Connect module.
1|/WorkStation/sub_DAQ/mod_ModBus/ | Connect module.
1|/WorkStation/sub_DAQ/mod_LogicLev/ | Connect module.
1|/WorkStation/sub_Transport/mod_SSL/ | Connect module.
1|/WorkStation/sub_DAQ/mod_Siemens/ | Connect module.
1|/WorkStation/sub_UI/mod_Vision/ | Connect module.
1|/WorkStation/sub_BD/mod_DBF/ | Connect module.
1|/WorkStation/sub_Protocol/mod_SelfSystem/ | Connect module.
1|/WorkStation/sub_UI/mod_WebCfgD/ | Connect module.
1|/WorkStation/sub_DAQ/mod_DAQGate/ | Connect module.
1|/WorkStation/sub_Special/mod_SystemTests/ | Connect module.
1|/WorkStation/sub_DAQ/mod_System/ | Connect module.
1|/WorkStation/sub_Protocol/mod_UserProtocol/ | Connect module.
1|/WorkStation/sub_UI/mod_WebCfg/ | Connect module.
1|/WorkStation/sub_BD/mod_MySQL/ | Connect module.
1|/WorkStation/sub_UI/mod_QTStarter/ | Connect module.
1|/WorkStation/sub_DAQ/mod_BlockCalc/ | Connect module.
1|/WorkStation/sub_Archive/mod_DBArch/ | Connect module.
1|/WorkStation/sub_Protocol/mod_OPC_UA/ | Connect module.
1|/WorkStation/sub_DAQ/mod_OPC_UA/ | Connect module.
openscada: cannot connect to X server

команда:

$ ps ax | grep lightdm
9656 ? Ssl 0:00 lightdm
9663 tty7 Ss+ 0:00 /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
9679 ? Sl 0:00 lightdm --session-child 16 19
9695 ? Ss 0:00 /bin/sh /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
9748 ? S 0:00 lightdm --session-child 12 19
14501 pts/7 S+ 0:00 grep --color=auto lightdm

Или я чего-то недопонимаю и это не баг опенскады? Надеюсь хоть на скромное пояснение. Спасибо!

P.S. На моем личном ноутбуке xubuntu 14.04 версия openscada 0.8.11 - ормально запускается! А если это баг опенскады - то можно запустить ядро только с веб-конфигураторами и прочим, без использования десктопного UI, чтобы работать с ней исключительно по http??

Спасибо!
Written on: 15. 01. 2015 [09:31]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"Booker" wrote:

Собрал последнюю версию openscada - 0.8.12 на удаленной ubuntu 14.04

Чем готовое не устроило?

"Booker" wrote:

при запуске:
$ openscada
...
openscada: cannot connect to X server

Если не понимаете что делаете то и не нужно запускать в консоли без окружений X-сервера!

"Booker" wrote:

P.S. На моем личном ноутбуке xubuntu 14.04 версия openscada 0.8.11 - ормально запускается! А если это баг опенскады - то можно запустить ядро только с веб-конфигураторами и прочим, без использования десктопного UI, чтобы работать с ней исключительно по http??

Запускайте.

Не ошибка OpenSCADA!

Learn, learn and learn better than work, work and work.



15259