07-26-2004
Quote:
I've seen in the past where you're supposed to do:
set DISPLAY="myMachine:0"
What in the world is the colon zero for?
See the man page for X. Every X server has a display name of the form: hostname:displaynumber.screennumber
This information is used by the application to determine how it should connect ot the server and which screen it should use by default (on displays with multiple monitors).
Maybe someone else has the answer to your first question.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have Oracle 8i, running Slackware...I have "X-win32" on my Win2k box, but when I installed Slackware I didn't install the GUI's... Isn't there a xdaemon or something of the sort that I must install first ? So when my Win2K box queries the UNIX box it picks up and says "Hi, gimme GUI" heh.. Any... (4 Replies)
Discussion started by: ComTec
4 Replies
2. IP Networking
Is there a way to find out who is logged in to the system using Xwindows ( hummingbird)..
I tried using
finger
and last
it doesn't show the person logged in ..
but when i run ps -ef | grep "ip address' it show various process running on the system..
Moreover is there a way to log off the... (2 Replies)
Discussion started by: ajnabi
2 Replies
3. Linux
I have written some Xwindows files would like to know how to compile them
tried this command
gcc -o main main.o -lXt -lX11
gives errors like could not find Xt & X11
help please (5 Replies)
Discussion started by: wojtyla
5 Replies
4. AIX
I have a HMC version 5.2, The HMC controls 4 lpars. I would like to install the powerchute on the HMC and have it be the master control to shutdown each of the lpars and the VIO server in order so no harm is done to the VIO server.
AIX version 5.3 64bit
My problem is i have to install... (5 Replies)
Discussion started by: pagink
5 Replies
5. UNIX for Advanced & Expert Users
ok...I'm stumped on this one. I cannot figure out how to carry over my environment variables with a sudo command. I need to install an application under root and only have sudo access to get there. I can use ssh -Y <host> and launch an xwindows session successfully as myself but as soon as I sudo... (3 Replies)
Discussion started by: scottsl
3 Replies
6. Linux
i m working on a project of making linux boot and run from a pendrive.
I have got a minimal root filesystem with busybox.
I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands
$make WORLDOPTS=-k World >&... (0 Replies)
Discussion started by: amu
0 Replies
7. UNIX Desktop Questions & Answers
i m working on a project of making linux boot and run from a pendrive.
I have got a minimal root filesystem with busybox.
I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands
$make WORLDOPTS=-k World >&... (0 Replies)
Discussion started by: amu
0 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am trying to run a program on a solaris bx that requires an xwindow. I have exceed running and X11 forwarding enabled in putty I sent my display but the output is can't open display.
To connect to the server I ssh to a jump host and ssh to the server and then su to root. Could this have... (4 Replies)
Discussion started by: naddy
4 Replies
9. UNIX for Dummies Questions & Answers
the question i have is why Xwindows(GUI) is not part of kernel level but part of user level in unix while in windows the GUI (Windows manager) it is part of kernel level.
For one thing is when GUI hangs it does not crash the whole system as in Windows
But windows avoids context... (0 Replies)
Discussion started by: sandesh.syr
0 Replies
10. Solaris
Hi everyone, I have an xwindow problem I could use a hand with.
I have a solaris 8 installation (a container actually, within solaris 10). I seem to not be able to open any xwindows over ssh.
It comes about when trying to install oracle. When ssh'd to the solaris 8, Oracle's runInstaller... (3 Replies)
Discussion started by: goodvikings
3 Replies
LEARN ABOUT OSX
net::dns::question
Net::DNS::Question(3) User Contributed Perl Documentation Net::DNS::Question(3)
NAME
Net::DNS::Question - DNS question record
SYNOPSIS
use Net::DNS::Question;
$question = new Net::DNS::Question('example.com', 'A', 'IN');
DESCRIPTION
A Net::DNS::Question object represents a record in the question section of a DNS packet.
METHODS
new
$question = new Net::DNS::Question('example.com', 'A', 'IN');
$question = new Net::DNS::Question('example.com');
$question = new Net::DNS::Question('192.0.32.10', 'PTR', 'IN');
$question = new Net::DNS::Question('192.0.32.10');
Creates a question object from the domain, type, and class passed as arguments. One or both type and class arguments may be omitted and
will assume the default values shown above.
RFC4291 and RFC4632 IP address/prefix notation is supported for queries in both in-addr.arpa and ip6.arpa namespaces.
decode
$question = decode Net::DNS::Question($data, $offset);
($question, $offset) = decode Net::DNS::Question($data, $offset);
Decodes the question record at the specified location within a DNS wire-format packet. The first argument is a reference to the buffer
containing the packet data. The second argument is the offset of the start of the question record.
Returns a Net::DNS::Question object and the offset of the next location in the packet.
An exception is raised if the object cannot be created (e.g., corrupt or insufficient data).
encode
$data = $question->encode( $offset, $hash );
Returns the Net::DNS::Question in binary format suitable for inclusion in a DNS packet buffer.
The optional arguments are the offset within the packet data where the Net::DNS::Question is to be stored and a reference to a hash table
used to index compressed names within the packet.
qname, zname
$qname = $question->qname;
$zname = $question->zname;
Returns the question name attribute. In dynamic update packets, this attribute is known as zname() and refers to the zone name.
qtype, ztype
$qtype = $question->qtype;
$ztype = $question->ztype;
Returns the question type attribute. In dynamic update packets, this attribute is known as ztype() and refers to the zone type.
qclass, zclass
$qclass = $question->qclass;
$zclass = $question->zclass;
Returns the question class attribute. In dynamic update packets, this attribute is known as zclass() and refers to the zone class.
print
$object->print;
Prints the record to the standard output. Calls the string() method to get the string representation.
string
print "string = ", $question->string, "
";
Returns a string representation of the question record.
COPYRIGHT
Copyright (c)1997-2002 Michael Fuhr.
Portions Copyright (c)2002-2004 Chris Reinhardt.
Portions Copyright (c)2003,2006-2011 Dick Franks.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl, Net::DNS, Net::DNS::DomainName, Net::DNS::Packet, RFC 1035 Section 4.1.2
perl v5.16.2 2012-01-27 Net::DNS::Question(3)