Re: HELP with X display

Paul Newhouse <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
>  
>  See if it's listening at all on TCP/6000.
>
>  netstat -tan | egrep -i 6000

: /usr/pkg/bin/xv /tmp/newhouse/1.0=1=2.6839.exmh
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

/usr/pkg/bin/xv: Can't open display
pimin[newhouse]: netstat -tan | egrep -i 6000
tcp        0      0  172.16.89.42.6000      172.16.89.45.65516     ESTABLISHED
tcp        0      0  *.6000                 *.*                    LISTEN
tcp6       0      0  *.6000                 *.*                    LISTEN

>  Also check for a socket in /tmp or /var/tmp

: ls -l /var/tmp /tmp
/tmp:
total 156
-rw-------  1 newhouse  wheel  46253 Mar 22 13:43 CIS-59B Syllabus.pdf
-rw-------  1 newhouse  wheel  24592 Mar 20 12:43 Contributor.pdf
drwx------  2 alex      wheel    512 Mar 21 17:58 alex/
drwx------  2 newhouse  wheel    512 Mar 23 23:35 newhouse/
-rw-r--r--  1 newhouse  wheel    400 Mar 17 22:44 postgresssql

/var/tmp:
total 48
drwx------  2 newhouse  wheel   512 Mar 22 13:44 gconfd-newhouse/
drwx------  2 root      wheel   512 Dec  9 13:41 gconfd-root/
drwx------  2 newhouse  wheel   512 Mar 22 13:44 orbit-newhouse/
drwx------  2 root      wheel   512 Dec  9 13:41 orbit-root/
-rw-------  1 newhouse  wheel  2995 Mar 19 13:46 tmp.0.00000367aa.bak
-rw-------  1 newhouse  wheel  1736 Oct 28 08:43 tmp.0.00022842aa.bak
-rw-------  1 newhouse  wheel  2343 Feb  3 09:45 tmp.41.00029294bp.bak
-rw-------  1 newhouse  wheel  3538 Feb  4 11:40 tmp.61.00029294cj.bak
drwxrwxrwt  2 root      wheel   512 Mar 23 14:40 vi.recover/

I tried a reinit and now I don't have any of the twm window trim.

>  ~BAS
>  
>  
>  
>  
>  On Tue, 20 Mar 2007, Paul Newhouse wrote:
>  
>  > NetBSD pimin 3.0.1 NetBSD 3.0.1 (PIMIN.MP) #0: Sun Sep 10 20:06:49 PDT 2006  [email protected]:/usr/src/sys/arch/i386/compile/PIMIN.MP i386
>  >
>  >
>  > After running as expected for weeks I suddenly get this error:
>  >
>  >   pimin[newhouse]: xterm
>  >   Xlib: connection to ":0.0" refused by server
>  >   Xlib: No protocol specified
>  >
>  >   xterm Xt error: Can't open display: :0.0
>  >   pimin[newhouse]: echo $DISPLAY
>  >   :0.0
>  >   pimin[newhouse]: xhost +
>  >   Xlib: connection to ":0.0" refused by server
>  >   Xlib: No protocol specified
>  >
>  >   xhost:  unable to open display ":0.0"
>  >
>  > Is there some way to recover, other than restarting X?
>  >
>  > TIA,
>  > Paul
>  >
>  
>  l8*
>   	-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
>   	       http://www.spiritual-machines.org/
>  
>  "...from back in the heady days when "helpdesk" meant nothing, "diskquota"
>  meant everything, and lives could be bought and sold for a couple of pages
>  of laser printout - and frequently were."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.