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

canot startx as user/libpcap/libnet problems



Error msg when i startx as normal user, however startx as root has no
problems.

Fatal server error:
xf86OpenConsole: Server must be running with root permissions
You should be using Xwrapper to start the server or xdm.
We strongly advise against making the server SUID root!


When reporting a problem related to a server crash, please send
the full server output, not just the last messages

_X11TransSocketUNIXConnect: Can't connect: errno = 111
giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.



libpcap erros:

make , make install had no troubles but:
debian:~/libpcap-0.4# make install-incl
/usr/bin/install -c -m 444 -o bin -g bin ./pcap.h \
    /usr/local/include/pcap.h
/usr/bin/install -c -m 444 -o bin -g bin ./pcap-namedb.h \
    /usr/local/include/pcap-namedb.h
/usr/bin/install -c -m 444 -o bin -g bin ./net/bpf.h \
    /usr/local/include/net/bpf.h
/usr/bin/install: /usr/local/include/net/bpf.h: No such file or directory
make: *** [install-incl] Error 1

libnet errors:
debian:~/Libnet# make
cc -O3 -funroll-loops -fomit-frame-pointer -pipe -Wall   -DHAVE_STRERROR=1
-D_BSD_SOURCE=1 -D__BSD_SOURCE=1 -D__FAVOR_BSD=1 -DGLIBC=1  -c
src/checksum.c -o src/checksum.o
src/checksum.c: In function `do_checksum':
src/checksum.c:109: structure has no member named `uh_sum'
src/checksum.c:111: structure has no member named `uh_sum'
make: *** [src/checksum.o] Error 1

can anyone pls help?

Thnx


Reply to: