Re: 2 Xsessions?, 2 graphics cards?

1998-07-21 Thread Manfred Bartz

Stuart Marshall [EMAIL PROTECTED] writes:

 Is there some way to run more than one X session on my debian PC?
 
 Ideally I would do something like run an 8-bit depth xdm session
 that logged me into a remote sun computer and a second X session
 that is 16-bit depth that is my local session.  If it requires a
 second video card it is no problem.  I would then be able to switch
 between the two sessions via ALT-F7, ALT-F8 or something.

If you have enough RAM you can do this:

Go to a text mode console, if in X use CTL-ALT-Fn to do that.  Fn is
F6 on my system.

Start a second X-server with 
startx -- :1 -pbb 8

The ``--'' is important, it separates client and server options.

You can then switch between the two X-servers with CTL-ALT-Fn.  Fn is
F2 and F3 on my system.

This method is probably the most practical if you need to run X-apps
with different color depth simultaneously.

By creatively editing your startup scripts, you can set up entirely
different and customized environments for the two X-servers.

See also:
man X

No need for a second video card.

However, if you can afford it, you could have two video cards and two
monitors and start up different servers for the two cards and monitors.

Cheers
-- 
Manfred
-
Fog Lamp, n.: Excessively (often obnoxiously) bright lamps mounted on
the fronts of automobiles; used on dry, clear nights to indicate that
the driver's brain is in a fog.  See also Idiot Lights.



--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Debian w/ Win95?

1998-07-17 Thread Manfred Bartz

Marcus Johnson [EMAIL PROTECTED] writes:

 I've got a rank beginner question for y'all:  I'm thinking of installing
 Debian on a machine I've got that has Winduhs95 on the primary 4.3 gig
 drive. I don't want to disturb what I've got there (Windoze is so touchy
 as you know), and I'm thinking that it might be best to put it on a second
 drive.  So my question is, would that work to put it all on a secondary
 drive or would I need to put part of it on the primary drive?  Can
 WinDOHs95 peacefully coexist with Debian Linux?  Any recommendations about
 with Debian to go with?

One way that does not disturb your current W95 installation is to use
``loadlin'' which is on your Debian CDROM in the boot directory.

From the Config-HOWTO:
  To boot Linux from DOS/Windows without resetting, put LOADLIN.EXE in a
  directory (in the DOS partition!) included in the DOS path; then copy
  your kernel to, say, C:\DOS\VMLINUZ. The following .BAT file will 
  boot Linux:

 rem   linux.bat
 smartdrv /C
 loadlin c:\dos\vmlinuz root=/dev/hda2 r

  If you use Windows 95, set the properties of this .BAT so as it starts in 
MS-DOS mode. 

From the BootPrompt-HOWTO:
  2.2 LoadLin

  The other commonly used Linux loader is `LoadLin' which is a DOS
  program that has the capability to launch a Linux kernel from the DOS
  prompt (with boot-args) assuming that certain resources are available.
  This is good for people that use DOS and want to launch into Linux
  from DOS.

  It is also very useful if you have certain hardware which relies on
  the supplied DOS driver to put the hardware into a known state. A
  common example is `SoundBlaster Compatible' sound cards that require
  the DOS driver to set a few proprietary registers to put the card into
  a SB compatible mode. Booting DOS with the supplied driver, and then
  loading Linux from the DOS prompt with LOADLIN.EXE avoids the reset of
  the card that happens if one rebooted instead. Thus the card is left
  in a SB compatible mode and hence is useable under Linux.

  There are also other programs that can be used to boot Linux. For a
  complete list, please look at the programs available on your local
  Linux ftp mirror, under system/Linux-boot/.


--
Manfred


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Debian w/ Win95?

1998-07-17 Thread Manfred Bartz

Shaleh [EMAIL PROTECTED] writes:

 The easiest way is how I said to do it.  (-:

I made no claim with regards to ease.

 Move the windows hard drive to the secondary master.  Put the new drive
 as the primary master.  

I don't consider changing hardware addresses around as easy,
especially if you have to keep doing it twice every time you need to
re-install W9x.

Apparently W9x needs to be re-installed every few weeks on most
systems ;-)

If you forget to swap the drives back before re-installing W9x you are 
running the risk of trashing your Linux installation.

--
Manfred


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Time Server

1998-07-15 Thread Manfred Bartz

Daniel Mashao [EMAIL PROTECTED] writes:

 Long time ago when I was new to Linux I had a nice program that updated my
 system clock with time from somewhere on the net. Now I need that program
 again and have a hard time finding it using search engines and searching
 the infinite sunsite. Anybody knows what I am talking about and where I
 can find it?

Searching for ``xntp'' should give you many references.  It is also
avalable as a Debian package on the latest CD.  (It may also be on
older CDs, but I can't check).

  debian/hamm/hamm/binary-i386/net/xntp3-doc_5.93-2.deb
  debian/hamm/hamm/binary-i386/net/xntp3_5.93-2.deb

xntp may be an overkill.  If all you want to do is sych your local
clock to that of your ISP once or twice a day, have a look at
``netdate'' which should be part of the base system.  Ask your
admin/ISP for the name or IP addr of a system you can get the time
from (It does not have to run a special server for netdate).

man netdate

This will align your clock with the ISP's system:
netdate -l 30  udp host.yourdomain.za}

Cheers
-- 
Manfred
---
The important thing is not to stop questioning.  Curiosity has 
its own reason for existing.-- Albert Einstein


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null