* [Sysadmins] Xen + VNC
@ 2008-11-29 16:43 Di
2008-11-29 17:29 ` Michail Yakushin
0 siblings, 1 reply; 4+ messages in thread
From: Di @ 2008-11-29 16:43 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 787 bytes --]
Доброго времени суток
Есть удалённый сервер с Xen@ALS4.0.
xen-hypervisor-3.1.4-alt1.M40.1
xen-3.1.4-alt1.M40.1
libxen-3.1.4-alt1.M40.1
kernel-image-xen-dom0-2.6.18-alt6.M40.3
python-module-xen-3.1.4-alt1.M40.1
vnc-server-3.3.3r2-alt7
vnc-3.3.3r2-alt7
Запущен HVM-домен с конфигом, в котором указано:
vnc=1
vnclisten="0.0.0.0"
#vncdisplay=199
#vncunused=1
#vncconsole=0
vncpasswd=''
При этом попытка vncviewer 192.168.1.191 ничего кроме ошибки не даёт
main: unable to connect to host: Connection refused (111)
На сервере в списке процессов никаких vnc нет:
# ps aux | grep vnc
root 9557 0.0 0.0 1724 508 pts/1 S+ 20:41 0:00 grep vnc
При запуске # vncserver
vncserver: couldn't find "xauth" on your PATH.
Как посмотреть что делает моя виртуальная машина?
[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]
begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
tel;pager:diyago@jabber.te.ua
tel;home:80442434512
tel;cell:80662933760
note:diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] Xen + VNC
2008-11-29 16:43 [Sysadmins] Xen + VNC Di
@ 2008-11-29 17:29 ` Michail Yakushin
2008-11-29 17:44 ` Di
0 siblings, 1 reply; 4+ messages in thread
From: Michail Yakushin @ 2008-11-29 17:29 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Di wrote:
> Доброго времени суток
>
> Есть удалённый сервер с Xen@ALS4.0.
>
> xen-hypervisor-3.1.4-alt1.M40.1
> xen-3.1.4-alt1.M40.1
> libxen-3.1.4-alt1.M40.1
> kernel-image-xen-dom0-2.6.18-alt6.M40.3
> python-module-xen-3.1.4-alt1.M40.1
> vnc-server-3.3.3r2-alt7
> vnc-3.3.3r2-alt7
>
> Запущен HVM-домен с конфигом, в котором указано:
> vnc=1
> vnclisten="0.0.0.0"
> #vncdisplay=199
> #vncunused=1
> #vncconsole=0
> vncpasswd=''
>
> При этом попытка vncviewer 192.168.1.191 ничего кроме ошибки не даёт
> main: unable to connect to host: Connection refused (111)
>
> На сервере в списке процессов никаких vnc нет:
> # ps aux | grep vnc
> root 9557 0.0 0.0 1724 508 pts/1 S+ 20:41 0:00 grep vnc
>
> При запуске # vncserver
> vncserver: couldn't find "xauth" on your PATH.
Ему нужна прога xauth поставте её.
> Как посмотреть что делает моя виртуальная машина?
Ещё можно установить иксы на сервер и вывести через SDL.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] Xen + VNC
2008-11-29 17:29 ` Michail Yakushin
@ 2008-11-29 17:44 ` Di
2008-11-29 21:55 ` Di
0 siblings, 1 reply; 4+ messages in thread
From: Di @ 2008-11-29 17:44 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1866 bytes --]
Michail Yakushin пишет:
>> При запуске # vncserver
>> vncserver: couldn't find "xauth" on your PATH.
> Ему нужна прога xauth поставте её.
xauth-1.0.2-alt2
# xm create /etc/xen/win2k3_001.hvm
Using config file "/etc/xen/win2k3_001.hvm".
Started domain Win2k3_001
# xm list
Name ID Mem VCPUs State
Time(s)
Domain-0 0 1024 2 r-----
121.6
Win2k3_001 19 512 1 ------
0.0
# ps aux | grep vnc
root 11245 0.0 0.0 1720 504 pts/1 S+ 21:38 0:00 grep vnc
tcp 0 0 *:8002 *:*
LISTEN
tcp 0 0 *:sunrpc *:*
LISTEN
tcp 0 0 *:webcache *:*
LISTEN
tcp 0 0 *:ssh *:*
LISTEN
tcp 0 80 192.168.1.191:50472 192.168.1.4:microsoft-ds
ESTABLISHED
tcp 0 48 192.168.1.191:ssh 10.8.0.10:36569
ESTABLISHED
tcp 0 0 192.168.1.191:ssh 10.8.0.10:43504
ESTABLISHED
udp 0 0 *:sunrpc *:*
Ещё раз конфиг
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "Win2k3_001"
pae=0
acpi=0
apic=0
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/xen/win2k3_001/5GiG.img,hda:disk,w',
'file:/xen/win2k3_001/ru_win_srv_2003_r2_enterprise_cd1.iso,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd=''
stdvga=0
serial='pty'
>> Как посмотреть что делает моя виртуальная машина?
> Ещё можно установить иксы на сервер и вывести через SDL.
планируется, но хочется удалённо через vnc
[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]
begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
tel;pager:diyago@jabber.te.ua
tel;home:80442434512
tel;cell:80662933760
note:diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] Xen + VNC
2008-11-29 17:44 ` Di
@ 2008-11-29 21:55 ` Di
0 siblings, 0 replies; 4+ messages in thread
From: Di @ 2008-11-29 21:55 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
... проблема решена применением шаманства:
modprobe tun
xen _не успевал_ запустить vnc, т.к. у него обламывалось с сетевым
интерфейсом. Зато, после решения проблемы сеть заработала как родная, вроде.
[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]
begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80442480755
tel;pager:diyago@jabber.te.ua
tel;home:80442434512
tel;cell:80662933760
note:diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-29 21:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-29 16:43 [Sysadmins] Xen + VNC Di
2008-11-29 17:29 ` Michail Yakushin
2008-11-29 17:44 ` Di
2008-11-29 21:55 ` Di
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git