[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

a whole bunch of questions



When trying to start emacs out of a xterm with su permissions the
system complaines:

MINI:/home/rland# emacs
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
MINI:/home/rland# emacs
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
MINI:/home/rland# cd ~
MINI:~# xhost
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
xhost:  unable to open display ":0.0"

...whereas launching emacs as a ordinary user (rland) works fine. What
exactly should I edit to allow su doing the same?

The error recommends to use "xhost"  - but this seems to be a GUI app
and therefore dies for the same reasons as previously launching emacs. 
How can I help myself, would running xhost fruit in a working GUI when
changing to su?



Then, I cannot get my Diamond Sonic Impact 90 to work. gtcd starts,
accepts the CD, playes the first track but the speakers remain
quitely.
The linuxdoc howto states no support for this card but the distributer
SuSe maintaines a database which plots out:

these cards should be supported by Aureal and OSS 
look at http://linux.aureal.com/
CHIPSET - AU8820


When installing deb2.2 I marked the OSS driver as a module and now
I cannot really track the problem.:
******************
/var/log/messages displays:

Oct 23 15:06:13 MINI kernel: hdd: STINGRAY 8422 IDE 8X CD-ROM 7-27-95,
ATAPI CDROM drive
Oct 23 15:06:13 MINI kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14  
Oct 23 15:06:13 MINI kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct 23 15:06:13 MINI kernel: hda: ST32140A, 2015MB w/128kB Cache,
CHS=1023/64/63
Oct 23 15:06:13 MINI kernel: hdc: QUANTUM BIGFOOT1280A, 1226MB w/87kB
Cache, CHS=2492/16/63
Oct 23 15:06:13 MINI kernel: hdd: ATAPI 2X CD-ROM drive, 240kB Cache
Oct 23 15:06:13 MINI kernel: Uniform CD-ROM driver Revision: 3.11
Oct 23 15:06:13 MINI kernel: Floppy drive(s): fd0 is 1.44M
Oct 23 15:06:13 MINI kernel: FDC 0 is a post-1991 82077
Oct 23 15:06:13 MINI kernel: md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
Oct 23 15:06:13 MINI kernel: scsi: <fdomain> Detection failed (no
card)
Oct 23 15:06:13 MINI kernel: NCR53c406a: no available ports found 
Oct 23 15:06:13 MINI kernel: sym53c416.c: Version 1.0.0
Oct 23 15:06:13 MINI kernel: Failed initialization of WD-7000 SCSI
card!
Oct 23 15:06:13 MINI kernel: IBM MCA SCSI: No Microchannel-bus support
present -> Aborting.
Oct 23 15:06:13 MINI kernel: megaraid: v107 (December 22, 1999)   
Oct 23 15:06:13 MINI kernel: aec671x_detect:
Oct 23 15:06:13 MINI kernel: 3w-xxxx: tw_findcards(): No cards found.
Oct 23 15:06:13 MINI kernel: scsi : 0 hosts.
Oct 23 15:06:13 MINI kernel: scsi : detected total.
Oct 23 15:06:13 MINI kernel: Partition check:
Oct 23 15:06:13 MINI kernel:  hda: hda1 hda2 < hda5 hda6 >
Oct 23 15:06:13 MINI kernel:  hdc: [PTBL] [623/64/63] hdc1 < hdc5 >
Oct 23 15:06:13 MINI kernel: VFS: Mounted root (ext2 filesystem)
readonly.
Oct 23 15:06:13 MINI kernel: Freeing unused kernel memory: 140k freed
Oct 23 15:06:13 MINI kernel: NET4: Unix domain sockets 1.0 for Linux
NET4.0.
Oct 23 15:06:13 MINI kernel: Adding Swap: 114876k swap-space (priority
-1)
Oct 23 15:06:13 MINI kernel: Installing knfsd (copyright (C) 1996
okir@monad.swb.de)
Oct 23 15:06:13 MINI kernel: NTFS version 000607
Oct 23 15:06:13 MINI kernel: Linux video capture interface: v1.00
Oct 23 15:06:13 MINI kernel: rtl8139.c:v1.07 5/6/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/driver
s/rtl8139.html
Oct 23 15:06:13 MINI kernel: eth0: RealTek RTL8139 Fast Ethernet at
0xec00, IRQ 11, 00:00:21:d9:37:b2.
Oct 23 15:13:11 MINI syslogd 1.3-3#33: restart.
Oct 23 15:26:12 MINI -- MARK --
Oct 23 15:46:12 MINI -- MARK --
Oct 23 16:06:12 MINI -- MARK --
Oct 23 16:13:44 MINI kernel: hdd: packet command error: status=0x51 {
DriveReady SeekComplete Error }
Oct 23 16:13:44 MINI kernel: hdd: packet command error: error=0x40
Oct 23 16:13:45 MINI kernel: hdd: packet command error: status=0x51 {
DriveReady SeekComplete Error }
Oct 23 16:13:45 MINI kernel: hdd: packet command error: error=0x40
Oct 23 16:13:46 MINI kernel: hdd: packet command error: status=0x51 {
DriveReady SeekComplete Error }
Oct 23 16:13:46 MINI kernel: hdd: packet command error: error=0x40
Oct 23 16:13:47 MINI kernel: hdd: packet command error: status=0x51 {
DriveReady SeekComplete Error }
++++++++++++++++++++++++

Which line could relate to the soundcard? Additionally there is a line
Oct 23 15:06:13 MINI kernel: hdd: ATAPI 2X CD-ROM drive, 240kB Cache

whereas the first line tells me:
Oct 23 15:06:13 MINI kernel: hdd: STINGRAY 8422 IDE 8X CD-ROM 7-27-95,
ATAPI CDROM drive

Should I bother about the 2x speed, how can I bench the speed of a
CDrom drive?




Then searching in /etc/modules:

rland@MINI:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a #, and everything on the line after them are ignored.
ide-floppy
autofs
binfmt_misc
nfs
nfsd
vfat
smbfs
ntfs
sound
videodev
rtl8139
fbcon-cfb32
rland@MINI:~$ 

...which states there should be somewhere a sound module, but 
cat /etc/modules.conf|grep -A 4 sound 
returnes no output.




Does dselect build up a database for all indexed packages? I cannot
find wine by running "dpkg -l wine" or "dpkg -l | grep wine" although
the debian installation routine was fed by all 4 CD's. Neither does
dpkg seem to support a query routine simular to rpm.


Would someone kindly help in these questions?





Robert



Reply to: