Problems accessing ttys in red hat enterprise linux 6 (RHEL6) as KVM

rootkid

Member
Jul 2, 2010
45
1
8
Dear all,

i installed RHEL6 as a KVM in proxmox and have problems accessing ttys in proxmox' vnc console:
- pressing [Strg]+[Alt]+[F1] : doesn't work
- pressing [Strg]+[Alt]+[F2] : doesn't work
- pressing [Strg]+[Alt]+[F3] : doesn't work
- pressing [Strg]+[Alt]+[F4] : doesn't work

- pressing [Strg]+[Alt]+[F5] : shows either my X Desktop or a tty, depending on my settings
- pressing [Strg]+[Alt]+[F6] : shows either my X Desktop or a tty, depending on my settings
- pressing [Strg]+[Alt]+[F7] : shows either my X Desktop or a tty, depending on my settings
- pressing [Strg]+[Alt]+[F8] : shows either my X Desktop or a tty, depending on my settings

And for F5 - F8 it seems that either all of them show my Desktop or all of them show a tty.
Is this a problem about vnc or do i have errors in my config?

Info: Red Hat replaced sysvinit with upstart

Code:
[root@rh60-64bit-test-1 init]# cat /etc/init/start-ttys.conf
#
# This service starts the configured number of gettys.

start on stopped rc RUNLEVEL=[2345]

env ACTIVE_CONSOLES=/dev/tty[1-8]
env X_TTY=/dev/tty8
task
script
        . /etc/sysconfig/init
        for tty in $(echo $ACTIVE_CONSOLES) ; do
                [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue
                initctl start tty TTY=$tty
        done
end script
Code:
[root@rh60-64bit-test-1 init]# cat /etc/sysconfig/init
# color => new RH6.0 bootup
# verbose => old-style bootup
# anything else => new style bootup without ANSI colors or positioning
#BOOTUP=color
BOOTUP=verbose
# column to start "[  OK  ]" label in
RES_COL=60
# terminal sequence to move to that column. You could change this
# to something like "tput hpa ${RES_COL}" if your terminal supports it
MOVE_TO_COL="echo -en \\033[${RES_COL}G"
# terminal sequence to set color to a 'success' color (currently: green)
SETCOLOR_SUCCESS="echo -en \\033[0;32m"
# terminal sequence to set color to a 'failure' color (currently: red)
SETCOLOR_FAILURE="echo -en \\033[0;31m"
# terminal sequence to set color to a 'warning' color (currently: yellow)
SETCOLOR_WARNING="echo -en \\033[0;33m"
# terminal sequence to reset to the default color.
SETCOLOR_NORMAL="echo -en \\033[0;39m"
# Set to anything other than 'no' to allow hotkey interactive startup...
PROMPT=yes
# Set to 'yes' to allow probing for devices with swap signatures
AUTOSWAP=no
# What ttys should gettys be started on?
#ACTIVE_CONSOLES=/dev/tty[1-6]
ACTIVE_CONSOLES=/dev/tty[1-8]
# Set to '/sbin/sulogin' to prompt for password on single-user mode
# Set to '/sbin/sushell' otherwise
SINGLE=/sbin/sushell
 
Last edited:
I just install a basic rhel6 without any customizations (with desktop) and here are my findings:

[Strg]+[Alt]+[F1] - show X
[Strg]+[Alt]+[F2] to [Strg]+[Alt]+[F6] shows a console.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!