Until Vista arrived it was relatively straight forward to connect to microsoft server or PC's from Linux using krdc or rdesktop utilities.
Although XP and Windows 2003 can still be connected from standard yum updated versions of rdesktop, Vista doesnt work.
This is because Microsoft changed the encription and pixel levels in Vista mstsc, so to connect you need to upgrade your linux client
You normaly see the image of the vista remote PC quickly flash and disapear ( in krdc) or using rdesktop 1.4 something like
"rdesktop 192.168.1.5
ERROR: Modules len 0x108
ERROR: send: Connection reset by peer
Error Connection closed"
in Redhat RHEL5 list the current version of rdesktop installed
'yum list installedgrep rdesktop'
rdesktop.i386 1.4.1-6
if your version like above is not 1.5 or better 1.6 then you need to upgrade
go to http://www.rdesktop.org
Download the rdesktop-1.6.0.tar.gz file to /tmp
cd /tmp/rdesktop-1.6.0.
./configure
make
make install
Then run it “/usr/local/bin/rdesktop 192.168.1.5”
Vista console should now show on your Linux/rhel 5 server screen
(as long as all the usual remote settings have been made on vista remote pc, firewall 3389 enabled etc)
Have fun
Chris
IT Support London since 1990
Open Source IT Support for Business in Sussex. Technical Blog detailing LJE Ltd,. projects and common IT Support issues and experiences. Contact us if you have any Business related IT Support Queries in Sussex, Kent. Supporting Market Data Technology and Investment Banks since 1990, offer Premium Linux and Microsoft Small Business Solutions, Red Hat Linux Small Business I.T Support experts: Linux, Samba, Citadel Microsoft SBS replacement Servers, Firewall, VOIP, VPN
Saturday, 30 May 2009
Saturday, 23 May 2009
Redirecting boot console RHEL5 and Xen
If your server/pc is recent enough to allow console redirection from the bios to a serial port or has a Fujitsu iRMC or ilo your need to change the /etc/grub.conf to allow bootup process to be monitored
Many manufactuers provide full console redirection at VGA resolution for an additional license fee around £200
But if you just want a serial redirection in an emergency you dont really new the full GUI especially if youve not install gnome Xwindows or KDE.
With text only display this should be available free of charge if you have iLO or iRMC or Sun XSCF
If you wanna use Redhat as the boot O/S you'll need to edit the grub.conf to enable the boot process to be displayed via a serial port ( tty)
in red hat rhel 5 , the example below shows com1 or tty0 redirection:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVolroot
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
terminal --timeout=5 console serial
title Red Hat Enterprise Linux Server (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVolroot console=tty0 console=ttyS0,57600n8 rhgb quiet
initrd /initrd-2.6.18-128.1.10.el5.img
then if you connect via ssh to irmc port or via https and open redirected console window
However if your booting Xen kernels you need to change further lines
title Red Hat Enterprise Linux Server (2.6.18-128.1.10.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-128.1.10.el5 com1=57600,8n1
module /vmlinuz-2.6.18-128.1.10.el5xen ro root=/dev/VolGroup00/LogVolroot console=tty0 console=ttyS0,57600n8 rhgb quiet
module /initrd-2.6.18-128.1.10.el5xen.img
Hey presto you then get a output like below !
Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting jexec: Starting jexec services[ OK ]
Starting background readahead: [ OK ]
Starting libvirtd daemon: [ OK ]
Starting Red Hat Network Daemon: [ OK ]
Starting yum-updatesd: [ OK ]
Starting Avahi daemon... Bridge firewalling registeredvirbr0: [ OK ]
Starting HAL daemon: [ OK ]
Starting xend: xenbr0: feature.peth0: Promiscuous mode enabled.[ OK ]
Starting RHN Managed Xen Domains:[ OK ]
Starting smartd: [ OK ]
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Kernel 2.6.18-128.1.10.el5xen on an x86_64
if you now would like to connect to com1 via a cable or have an interactive login on tty0 remotely add the following to the bottom of your /etc/inittab
# allow interactive shell or serial cable connection com1 (ttyS0)
S0:12345:respawn:/sbin/agetty -L 57600 ttyS0 vt100
Quite useful
Chris
infrasup helping Business in London with I.T support since 1990
Many manufactuers provide full console redirection at VGA resolution for an additional license fee around £200
But if you just want a serial redirection in an emergency you dont really new the full GUI especially if youve not install gnome Xwindows or KDE.
With text only display this should be available free of charge if you have iLO or iRMC or Sun XSCF
If you wanna use Redhat as the boot O/S you'll need to edit the grub.conf to enable the boot process to be displayed via a serial port ( tty)
in red hat rhel 5 , the example below shows com1 or tty0 redirection:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVolroot
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
terminal --timeout=5 console serial
title Red Hat Enterprise Linux Server (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/VolGroup00/LogVolroot console=tty0 console=ttyS0,57600n8 rhgb quiet
initrd /initrd-2.6.18-128.1.10.el5.img
then if you connect via ssh to irmc port or via https and open redirected console window
However if your booting Xen kernels you need to change further lines
title Red Hat Enterprise Linux Server (2.6.18-128.1.10.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-128.1.10.el5 com1=57600,8n1
module /vmlinuz-2.6.18-128.1.10.el5xen ro root=/dev/VolGroup00/LogVolroot console=tty0 console=ttyS0,57600n8 rhgb quiet
module /initrd-2.6.18-128.1.10.el5xen.img
Hey presto you then get a output like below !
Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting jexec: Starting jexec services[ OK ]
Starting background readahead: [ OK ]
Starting libvirtd daemon: [ OK ]
Starting Red Hat Network Daemon: [ OK ]
Starting yum-updatesd: [ OK ]
Starting Avahi daemon... Bridge firewalling registeredvirbr0: [ OK ]
Starting HAL daemon: [ OK ]
Starting xend: xenbr0: feature.peth0: Promiscuous mode enabled.[ OK ]
Starting RHN Managed Xen Domains:[ OK ]
Starting smartd: [ OK ]
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Kernel 2.6.18-128.1.10.el5xen on an x86_64
if you now would like to connect to com1 via a cable or have an interactive login on tty0 remotely add the following to the bottom of your /etc/inittab
# allow interactive shell or serial cable connection com1 (ttyS0)
S0:12345:respawn:/sbin/agetty -L 57600 ttyS0 vt100
Quite useful
Chris
infrasup helping Business in London with I.T support since 1990
Subscribe to:
Posts (Atom)