Re: [gentoo-user] [OT] Trying to use xauth - Xlib: No protocol specified
,--[ On Thu, Feb 07, 2008 at 08:52:21AM +0100, Michael Schmarck wrote: | Hello folks! | | I know that this question is offtopic for this list, but maybe | someone has a clue nonetheless... | | I'm trying to access my local X display (on a Gentoo Linux machine, | of course - am I now on topic? *G*) from a remote system (running | Solaris 10U4 on Sparc). I cannot use ssh to login to that machine. | To be somewhat secure, I tried to use xauth, but that doesn't | work | | What did I do? | | On the local system, I did: | | xauth extract xauth.key $DISPLAY:0.0 Above line should read: xauth extract xauth.key $DISPLAY Anyways if your above command is incorrect, then no xauth.key would've been generated :) . [snipped] | Internet Protocol, Src: 10.0.1.26 (10.0.1.26), Dst: 10.0.3.115 (10.0.3.115) [snipped] | X11, Request, Initial connection request | byte-order: 0x42 (Big-endian) | unused | protocol-major-version: 11 | protocol-minor-version: 0 | authorization-protocol-name-length: 0 | authorization-protocol-data-length: 0 | unused Note, in the above request, it hasn't passed your xauth information, which is possible only in 2 cases, either your $HOME/.Xauthority on $remote doesn't exist or $XAUTHORITY environment variable points to a non-existent file. HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- freed.in | freedom in technology and software | 22-24 February 2008 | Delhi ··-· ·-· · · -·· ·-·-·- ·· -· ··--- - - ---·· signature.asc Description: Digital signature
Re: [gentoo-user] loopback mount hard-drive image created with dd?
,--[ On Fri, Jan 18, 2008 at 03:19:49AM +, Stroller wrote: [...] I'm fairly confident that there were originally a couple of partitions on the drive, and the one I want to look at will be NTFS, of course. I know that a CD iso I can mount using `mount file.iso /mnt/cdrom -t iso9660 -o loop`, but is there an equivalent for whole partition tables? How about using your disk image as HD in a VM, and then inspect it from VM, hmm... Or look out for some tools which allow you to play with hard disk images, e.g. mtools . HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: [gentoo-user] how to teach emerge -sync to sync packages?
,--[ On Fri, Jan 18, 2008 at 11:17:32AM +0100, Helmut Jarausch wrote: | Hi, | | I haven't found out how to teach emerge to rsync | /usr/portage/packages | as well. | Both, /etc/rsyncd.conf on the server and | /etc/portage/rsync_excludes | | only exclude distfiles. | | There is no server problem, since an | rsync on the command line does fetch | packages, too Hmm..., can you give the command line what you use to sync binary packages ? AFAIK, binary packages not available on Gentoo, except for the packages on CD/DVD, hmm...? I tried rsync://rsync.gentoo.org/gentoo-portage/ but there is not 'packages' directory present there :( . TIA -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
Re: [gentoo-user] Does this qualify as some bug ?
,--[ On Thu, Dec 27, 2007 at 08:20:37PM +0100, Ralf Stephan wrote: | While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to | avoid TCP queries, I changed 'tcp_server' parameter to 'off' and | 'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But | when I restarted pdnsd I found it is still listening on TCP. I checked | /etc/conf.d/pdnsd and found no option related to listening to 'TCP' | set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has | been launched with '-t' command line argument (enables the TCP server | thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I | need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I | think, listening shouldn't be made by default, even if it is, then it | should be in configuration file, not in init.d script . | | Since noone answered, I'll try. I'm not into the details of your | problem but I have the impression your suggestion should be stated | to the pdnsd developing community, not on gentoo. I'd qualify it as | bug, but YMMV, and again, I don't know much about it. Let me elaborate it a bit: pdnsd is a DNS server capable of listening on TCP/UDP ports (depending on options in configuration file and commandline). Options set on commandline override what is set is configuration file. And, in init script of this port, the option to listen on TCP ports, i.e. '-t' switch, has been explicitly passed. So, there is no way, one can disable listening on TCP from pdnsd.conf. So one, has to edit '/etc/conf.d/pdnsd' and add --notcp option. In my view, from the point-of least privileges, one has to explicitly turn on listening of daemon on port. So its a problem on Gentoo porting side, not with the pdnsd team. Thanks. -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- signature.asc Description: Digital signature
[gentoo-user] Does this qualify as some bug ?
Hi While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to avoid TCP queries, I changed 'tcp_server' parameter to 'off' and 'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But when I restarted pdnsd I found it is still listening on TCP. I checked /etc/conf.d/pdnsd and found no option related to listening to 'TCP' set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has been launched with '-t' command line argument (enables the TCP server thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I think, listening shouldn't be made by default, even if it is, then it should be in configuration file, not in init.d script . So does this qualify as a bug ? I'm a new Gentoo user, so I'm not sure if qualifies as some bug. Thanks in advance -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- z���(��j)b� b�