Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

To follow this question :

Cannot connect to Xen domU via VNC if X isn't installed on domU

I'm able to connect using VNC but only see the login screen, not the whole boot process log (and pygrub menu) which I want to see.

on DomU, menu.lst :

kernel          /boot/[...] console=hvc0 xencons=tty0

domU's configuration file :

vfb = [ 'vnc=1' ]

in domu's /etc/init/hvc0.conf

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 hvc0

also created /etc/init/tty0.conf (just in case)

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 tty0

"dmesg | grep console" on domU gives :

[    0.000000] Command line: root=/dev/xvda2 ro console=hvc0 xencons=tty0 root=/dev/sda2 ro 
[    0.000000] Kernel command line: root=/dev/xvda2 ro console=hvc0 xencons=tty0 root=/dev/sda2 ro 
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.129419] XENBUS: Device with no driver: device/console/0

I can't figure out why, any idea ?

share|improve this question
add comment

1 Answer

Don`t use console and xencons as kernel-options and you should see everything in vnc.

I had the opposite problem: With vnc enabled I did not see the boot-process on the console - only in vnc. Solution was: disable vnc, put xencons=tty - so I guess you are redirecting the output to the text-console.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.