From owner-freebsd-questions Wed Sep 15 21:51: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.austin.rr.com (sm1.texas.rr.com [24.93.35.54]) by hub.freebsd.org (Postfix) with ESMTP id 6FE8C14A08 for ; Wed, 15 Sep 1999 21:51:01 -0700 (PDT) (envelope-from kweiss@austin.rr.com) Received: from rockefeller ([24.28.77.50]) by mail.austin.rr.com with Microsoft SMTPSVC(5.5.1875.185.18); Wed, 15 Sep 1999 23:50:46 -0500 Reply-To: From: "Kevin Weiss" To: "Laurence Berland" Cc: "FreeBSD Questions" Subject: RE: xdm doesn't read in users .xinitrc Date: Wed, 15 Sep 1999 23:55:19 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <37E05AF5.8D20EF14@confusion.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you're using xdm, should you be using a .xsession file? Don't forget to do a chmod u+x on the .xsession file...hope this helps -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Laurence Berland Sent: Wednesday, September 15, 1999 9:50 PM To: questions@freebsd.org Subject: xdm doesn't read in users .xinitrc Following the instructions in Greg's book (great book btw), I set up xdm on my box, but now it refuses to start what's in the xinitrc file, instead it brings up a box, "Session Menu." It's possible my brother messed with the xdm set up files, there's a ~file from emacs for Xsession Xsession ~~~~~~~~~~~~ #!/bin/sh # $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $ # redirect errors to a file in user's home directory if we can for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER" do if ( cp /dev/null "$errfile" 2> /dev/null ) then chmod 600 "$errfile" exec > "$errfile" 2>&1 break fi done case $# in 1) case $1 in failsafe) exec xterm -geometry 80x24-0-0 ;; esac esac startup=$HOME/.xsession resources=$HOME/.Xresources if [ -f "$startup" ]; then exec "$startup" else if [ -f "$resources" ]; then xrdb -load "$resources" fi exec xsm fi ~~~~~~~~~~~~~~ Dmesg: ~~~~~~~~~~~~~~ Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #0: Sun May 9 22:02:27 EDT 1999 root@cartman:/usr/src/sys/compile/CARTMAN Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 448054004 Hz CPU: Pentium II/Xeon/Celeron (448.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183f9ff> real memory = 268435456 (262144K bytes) avail memory = 258834432 (252768K bytes) Preloaded elf kernel "kernel" at 0xf025c000. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x02 on pci0.7.3 Probing for devices on PCI bus 1: vga0: rev 0x04 int a irq 11 on pci1.0.0 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model IntelliMouse, device ID 3 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, accel, dma, iordis acd0: drive speed 5512KB/sec, 256KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode nlpt0: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface changing root device to wd0s2a ~~~~~~~~~~~~ That's all I can think of, if there's another file/output you need, let me know. Thanks for any and all help in advance. I guess my best guess is from Xsession startup=$HOME/.xsession should be $HOME/.xinitrc but I dont know. -- Laurence Berland, Stuyvesant HS Debate <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. http://stuy.debate.net icq #7434346 aol imer E1101 The above email Copyright (C) 1999 Laurence Berland All rights reserved To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message