Копия X-сервера на восьмой консоли, Не поднимается при старте через rc.local |
Здравствуйте, гость ( Вход | Регистрация )
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Копия X-сервера на восьмой консоли, Не поднимается при старте через rc.local |
Nov 17 2009, 21:15
Сообщение
#1
|
|
|
Группа: Full Member Сообщений: 88 Регистрация: 10.03.05 Пользователь №: 1 207 |
Использую Infra-Linux 9.04 x86 (клон Ubuntu 9.04 от infra-ресурс).
Железо - Athlon 3.2 ГГц (939, 64-бит) на маме Foxconn (NVidia GeForce 6150 + nForce 430). Решил попробовать вариант запуска виртуальных машин VirtualBox в "безголовом" режиме как описано на хабре - http://habrahabr.ru/blogs/virtualization/63728/ Но для начала попробовал не трогать /etc/rc.local Всё получилось так: 1) Запуск x-сервера в восьмой консоли $ sudo -i # X :1 vt08 & 2) Запуск виртуальной машины в "обычном" режиме, но в восьмой консоли $ DISPLAY=":1" nohup VBoxManage startvm mustdie 2>&1 > /dev/null & либо запуск в "безголовом" режиме в той же восьмой консоли $ nohup VBoxHeadless -a 127.0.0.1 -s mustdie 2>&1 > /dev/null & $ DISPLAY=":1" nohup rdesktop-vrdp -f localhost 2>&1 > /dev/null & (запуск vrdp из-под юзера позволяет использовать shared-folder, да и вааще зачем это делать как на хабре из-под рута я не очень понял) Но попытка вписать в /etc/rc.local X :1 vt08 & или /usr/X11R6/bin/X :1 vt08 & не приводит к ожидаемому результату - при старте вываливается лог (по Ctrl+Alt+F7 возвращаюсь к основным X-ам, а копии X-ов нет;( Содержимое /var/log/Xorg.1.log X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-23-server i686 Ubuntu Current Operating System: Linux vitaly-infra 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 Build Date: 09 April 2009 02:10:02AM xorg-server 2:1.6.0-0ubuntu14 (buildd@rothera.buildd) Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.1.log", Time: Tue Nov 17 20:14:19 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) No Layout section. Using the first Screen section. (**) |-->Screen "Default Screen" (0) (**) | |-->Monitor "Configured Monitor" (**) | |-->Device "Configured Video Device" (==) Automatically adding devices (==) Automatically enabling devices (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. Entry deleted from font path. (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins (==) ModulePath set to "/usr/lib/xorg/modules" (II) Cannot locate a core pointer device. (II) Cannot locate a core keyboard device. (II) The server relies on HAL to provide the list of input devices. If no devices become available, reconfigure HAL or disable AllowEmptyInput. (II) Loader magic: 0x3bc0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 4.0 X.Org Server Extension : 2.0 (II) Loader running on linux (++) using VT number 8 (WW) xf86OpenConsole: setpgid failed: Operation not permitted Fatal server error: xf86OpenConsole: VT_GETMODE failed Input/output error Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.1.log" for additional information. (WW) xf86CloseConsole: KDSETMODE failed: Input/output error (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error (WW) xf86OpenConsole: VT_GETSTATE failed: Input/output error (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error (WW) xf86CloseConsole: VT_WAITACTIVE failed: Input/output error ddxSigGiveUp: Closing log Прошу совета - что читать/крутить |
|
|
|
![]() |
Jan 7 2010, 12:06
Сообщение
#2
|
|
|
Группа: Full Member Сообщений: 88 Регистрация: 10.03.05 Пользователь №: 1 207 |
Проблему обошёл - там написали, что именно 8-я консоль в Ubuntu (в Debian, а на хабре вроде как о нём речь шла, вероятно по-другому) занята - запустил на 9-й.
|
|
|
|
![]() ![]() |
|
Текстовая версия | Сейчас: 30th July 2010 - 16:58 |