* Re: [Comm] Виртуализация и локальный графический вход. @ 2010-01-21 5:02 ` Arcady V. Ivanov 2010-01-21 6:16 ` Денис Черносов 0 siblings, 1 reply; 7+ messages in thread From: Arcady V. Ivanov @ 2010-01-21 5:02 UTC (permalink / raw) To: ALT Linux Community general discussions ----- "Денис Черносов" <denis0.ru@gmail.com> пишет: > 19 января 2010 г. 6:42 пользователь Arcady V. Ivanov <arc@ikir.ru> > написал: > >> У меня почему-то оказывается с нуля запущено сразу три сессии. А > при > >> запуске сессии ругается что "такой пользователь уже зашел". В т.ч. > при > >> сетевой загрузке образа терминального клиента... Фигня какая-то. > > Что такое "с нуля"? > > три сессии чего? > > Какая программа ругается? > > 1) X -query denis & , > 2) вижу перед собой kdm4 удаленной машины.Независимо от типа сеанса > (kde3, wm, icewm) > 3) вхожу, как demo. Получаю запрос "такой пользователь уже вошел" > принять/отказаться. Принять. > 4) Открываю терминал: > $who > srv-dvc :0 2010-01-19 09:55 > demo id004:0 2010-01-19 11:16 (id004) > demo id004:0 2010-01-19 11:16 (id004) > root pts/0 2010-01-19 10:25 (localhost) > demo pts/4 2010-01-19 11:16 (id004:0.0) > > Первая строчка - это локальный юзер на сервере > предпоследняя - это локальный суперпользователь на сервере. > последняя - это терминал, из которого я выполняю запрос. > А почему повторяется два раза: > demo id004:0 2010-01-19 11:16 (id004) > я не понял. Это нормально? Похоже, что "нормально". Я зарегистировался юзером "xxx" с машины "arc" pts/1 - это ssh-вход. arc:1 - это графический вход с помощью Xephyr (аналогично X -query ...) "who -a" и "w" несколько проясняют картину: Вот вывод "who -a": ... xxx + pts/1 2010-01-21 15:46 . 10042 (arc) xxx ? arc:1 2010-01-21 15:46 ? 10151 (arc) xxx ? arc:1 2010-01-21 15:46 ? 10151 (arc) ... A это вывод "w": xxx pts/1 15:46 0.00s 0.04s 0.00s w xxx arc:1 15:46 0.00s 0.00s 0.09s /bin/sh /usr/lib/kde4/bin/startkde xxx arc:1 15:46 0.00s 0.00s 0.09s /bin/sh /usr/lib/kde4/bin/startkde "who" и "w" по два раза на один и тот же shell выдают свои строчки. Полагаю, что они thread-ы показывают, поскольку есть сам "sh" и порождённый им "startkde". Такого сообщения от KDE3/KDE4, как "такой пользователь уже вошел" никогда в жизни не видел, хотя наблюдаю сотни всяких разных графических входов на удалённые сервера и через X -query, через Cygwin, и через NX. Может на стороне сервера какие-то необычные настройки или следы прошлых проблем? Вы сотрите в каталоге /home/demo всё, что KDE наделал: .kde, .kde4 или заведите другого юзера и попробуйте подключиться под его login-ом. -- С уважением. Гл. специалист по ИТ ИКИР ДВО РАН. Аркадий Иванов. Sincerely yours. My site http://www.arccomm.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Виртуализация и локальный графический вход. 2010-01-21 5:02 ` [Comm] Виртуализация и локальный графический вход Arcady V. Ivanov @ 2010-01-21 6:16 ` Денис Черносов 2010-01-21 6:22 ` Arcady V. Ivanov 0 siblings, 1 reply; 7+ messages in thread From: Денис Черносов @ 2010-01-21 6:16 UTC (permalink / raw) To: ALT Linux Community general discussions 21 января 2010 г. 9:02 пользователь Arcady V. Ivanov <arc@ikir.ru> написал: > Похоже, что "нормально". ну что ж, будем знать с чем не надо бороться. > Такого сообщения от KDE3/KDE4, как "такой пользователь уже вошел" > никогда в жизни не видел, хотя наблюдаю сотни > всяких разных графических входов на удалённые сервера и через > X -query, через Cygwin, и через NX. Если быть точным, то: Пользователь "demo" уже вошел (где-то)! Это не KDE, а скорее kdm4, потому что появляется перед активацией сеанса, независимо от выбранных настроек (KDE3, WM, IceWM) и учетной записи. А значит кэш должен быть общесистемным. И это на стороне сервера, потому что с разных машин результат один и тот же. Можно еще попробовать другой dm поставить, но если вы говорите, что так быть не должно... Наверное быстрее будет накатить чистую инсталляцию... Jan 21 10:02:50 srv kdm[11994]: Cannot convert Internet address 192.168.5.153 to host name Jan 21 10:03:01 srv kdm: 192.168.5.153:7[31943]: Cannot convert Internet address 192.168.5.153 to host name > Может на стороне сервера какие-то необычные настройки или > следы прошлых проблем? > Вы сотрите в каталоге /home/demo всё, что KDE наделал: > .kde, .kde4 или заведите другого юзера и попробуйте > подключиться под его login-ом. Пробовал, не помогает. Но эта машина у меня с 4.1 кажется через кучу всяких обновлений и настроек прошла (моя рабочая станция и заодно стенд для экспериментов). Пожалуй пора начать жизнь с чистого листа - слишком часто стало "стучать под землей". И еще давно пора приучиться все эксперименты проводить на отдельных учетках и в виртуальных машинах. Большое спасибо за помощь! -- С уважением, Черносов Денис ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Виртуализация и локальный графический вход. 2010-01-21 6:16 ` Денис Черносов @ 2010-01-21 6:22 ` Arcady V. Ivanov 2010-01-21 9:18 ` Денис Черносов 0 siblings, 1 reply; 7+ messages in thread From: Arcady V. Ivanov @ 2010-01-21 6:22 UTC (permalink / raw) To: ALT Linux Community general discussions > > > Jan 21 10:02:50 srv kdm[11994]: Cannot convert Internet address > 192.168.5.153 to host name > Jan 21 10:03:01 srv kdm: 192.168.5.153:7[31943]: Cannot convert > Internet address 192.168.5.153 to host name А вот это реально иногда мешает подключиться через kdm: Пропишите компы на сервере в /etc/hosts или в общем DNS. -- С уважением. Гл. специалист по ИТ ИКИР ДВО РАН. Аркадий Иванов. Sincerely yours. My site http://www.arccomm.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Виртуализация и локальный графический вход. 2010-01-21 6:22 ` Arcady V. Ivanov @ 2010-01-21 9:18 ` Денис Черносов 2010-01-21 10:28 ` Arcady V. Ivanov 0 siblings, 1 reply; 7+ messages in thread From: Денис Черносов @ 2010-01-21 9:18 UTC (permalink / raw) To: ALT Linux Community general discussions 21 января 2010 г. 10:22 пользователь Arcady V. Ivanov <arc@ikir.ru> написал: > >> >> >> Jan 21 10:02:50 srv kdm[11994]: Cannot convert Internet address >> 192.168.5.153 to host name >> Jan 21 10:03:01 srv kdm: 192.168.5.153:7[31943]: Cannot convert >> Internet address 192.168.5.153 to host name > > А вот это реально иногда мешает подключиться через kdm: > Пропишите компы на сервере в /etc/hosts или в общем DNS. > Понял, буду решать. Скорее всего выключу вообще dnsmasq и настрою основной dhcpd на обслуживание всех. Да и загрузочный образ наверное имеет смысл туда увести: чуть что и поменял пару строчек на основном сервере и уже новый терминальный сервер обслуживает клиентов... Тут еще один вопрос возник. У меня терминальные клиенты с разными видеокартами intel, nvidia, ati, via. Мне для полного щастья нужно все модули в initrd образа сетевой загрузки запечатать? Как это делается по-правильному? -- С уважением, Черносов Денис ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Виртуализация и локальный графический вход. 2010-01-21 9:18 ` Денис Черносов @ 2010-01-21 10:28 ` Arcady V. Ivanov 2010-01-21 11:30 ` Денис Черносов 0 siblings, 1 reply; 7+ messages in thread From: Arcady V. Ivanov @ 2010-01-21 10:28 UTC (permalink / raw) To: ALT Linux Community general discussions ----- "Денис Черносов" <denis0.ru@gmail.com> пишет: > 21 января 2010 г. 10:22 пользователь Arcady V. Ivanov <arc@ikir.ru> > > Тут еще один вопрос возник. У меня терминальные клиенты с разными > видеокартами intel, nvidia, ati, via. Мне для полного щастья нужно все > модули в initrd образа сетевой загрузки запечатать? Как это делается > по-правильному? Видеокарты обслуживаются драйверами xorg. К initrd это не имеет отношения. -- С уважением. Гл. специалист по ИТ ИКИР ДВО РАН. Аркадий Иванов. Sincerely yours. My site http://www.arccomm.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Виртуализация и локальный графический вход. 2010-01-21 10:28 ` Arcady V. Ivanov @ 2010-01-21 11:30 ` Денис Черносов 2010-01-21 12:02 ` Arcady V. Ivanov 0 siblings, 1 reply; 7+ messages in thread From: Денис Черносов @ 2010-01-21 11:30 UTC (permalink / raw) To: ALT Linux Community general discussions 21 января 2010 г. 14:28 пользователь Arcady V. Ivanov <arc@ikir.ru> написал: > > ----- "Денис Черносов" <denis0.ru@gmail.com> пишет: > >> 21 января 2010 г. 10:22 пользователь Arcady V. Ivanov <arc@ikir.ru> >> >> Тут еще один вопрос возник. У меня терминальные клиенты с разными >> видеокартами intel, nvidia, ati, via. Мне для полного щастья нужно все >> модули в initrd образа сетевой загрузки запечатать? Как это делается >> по-правильному? > Видеокарты обслуживаются драйверами xorg. > К initrd это не имеет отношения. А разве для nvidia и ati модули ядра не нужны? -- С уважением, Черносов Денис ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Виртуализация и локальный графический вход. 2010-01-21 11:30 ` Денис Черносов @ 2010-01-21 12:02 ` Arcady V. Ivanov 0 siblings, 0 replies; 7+ messages in thread From: Arcady V. Ivanov @ 2010-01-21 12:02 UTC (permalink / raw) To: ALT Linux Community general discussions > >> Тут еще один вопрос возник. У меня терминальные клиенты с разными > >> видеокартами intel, nvidia, ati, via. Мне для полного щастья нужно > все > >> модули в initrd образа сетевой загрузки запечатать? Как это > делается > >> по-правильному? > > Видеокарты обслуживаются драйверами xorg. > > К initrd это не имеет отношения. > > А разве для nvidia и ati модули ядра не нужны? Нужны при запуске X. Это происходит уже значительно позже начального разворачивания системы с HDD. initrd нужен для хранения модулей контроллеров устройств загрузки (CD,FDD,HDD). -- С уважением. Гл. специалист по ИТ ИКИР ДВО РАН. Аркадий Иванов. Sincerely yours. My site http://www.arccomm.ru ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-01-21 12:02 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-01-21 5:02 ` [Comm] Виртуализация и локальный графический вход Arcady V. Ivanov 2010-01-21 6:16 ` Денис Черносов 2010-01-21 6:22 ` Arcady V. Ivanov 2010-01-21 9:18 ` Денис Черносов 2010-01-21 10:28 ` Arcady V. Ivanov 2010-01-21 11:30 ` Денис Черносов 2010-01-21 12:02 ` Arcady V. Ivanov
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git