[CentOS] X11 virtual screens on centos 5

Dag Wieers dag at centos.org
Mon Sep 24 01:21:00 UTC 2007


On Sun, 23 Sep 2007, William L. Maltby wrote:

> On Sun, 2007-09-16 at 21:48 -0400, Ross S. W. Walker wrote:
> > William L. Maltby wrote:
> > >
> > > On Tue, 2007-09-04 at 21:40 -0400, Jerry Geis wrote:
> > > ><snip>
>
> > There exists a command-line command to do this as well, 'chvt' which
> > is part of the kbd package.
>
> I want to add openvt, just for completeness and because it lets me get
> really greedy about VTs. With default of 6 (*usually* more than enough)
> and occasional need for more, I can then use 7->24(? unless default X is
> running, then 8->*). Since I don't have to login to the new terminal
> screens, it satisfies my laziness gene.

Interesting, I knew a tool called 'open' that seemed similar to what you
call 'openvt', so I looked on a RHEL4 and noticed that the 'open' and
'openvt' man pages are almost identical.

But:

	[root at lisse rpms]# rpm -qf $(which open)
	open-1.4-21.x86_64
	[root at lisse rpms]# rpm -qf $(which openvt)
	kbd-1.12-2.el4.4.x86_64

and:

	[root at lisse rpms]# strings /usr/bin/open | grep '(c)'
	open: 1.4 (c) Jon Tombs 1994
	[root at lisse rpms]# strings /usr/bin/openvt | grep '(c)'
	openvt 1.4b - (c) Jon Tombs 1994

So Red Hat is shipping the same program twice, with a different name and
version in 2 different packages.

They apparently got their act together in RHEL5 :)

	* Sat Jul 15 2006 Jesse Keating <jkeating at redhat.com> - 1.12-17
	- Obsoletes/Provides open
	- Create a symlink from open to openvt

PS I usually set inittab to only create 2 VTs, any other I can create
myself using 'open' although screen often makes it irrelevant anyway.

-- 
--   dag wieers,  dag at centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



More information about the CentOS mailing list