7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Here is what I am trying to do:
1) Copy a string to the pasteboard using Command-C
2) Search for the string in a file in X11.
Command-C
pbaste | grep - filname (does NOT work)
What is the correct syntax?
Thanks! (4 Replies)
Discussion started by: palex
4 Replies
2. UNIX for Advanced & Expert Users
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies
3. Solaris
Greetings Forumers!
I'm posting a solution to an Issue I ran into this week: Getting applications to display on another through X11 and SSH. I have run into this issue many years ago and finally found my notes. Some of you may already know the answer to this issue but it took me a while to... (1 Reply)
Discussion started by: bluescreen
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, how do I connect to a remote x server?
i tried this:
startx -display 192.168.0.1:0
# when I do this, it just connects to my own x server i.e I see my own desktop.
and
export DISPLAY=192.168.0.1:0.0
# when I do this nothing happens. (it doesn't even try to connect, no activity in... (7 Replies)
Discussion started by: uxfuser
7 Replies
5. Red Hat
Hi
I tried the following but no joy!
Inserted the linux installation cd.. ( rescue mode)...
tried chroot /mnt/sysimage but I get chroot: cannot execute /bin/sh
Checked the permission on /bin and it was set to ?r--rw-rx tried to do chmod –R 755 but got error operation not permitted ...... (3 Replies)
Discussion started by: halacil
3 Replies
6. Solaris
dear bro.
I using /usr/X11/bin/xorgconfig command configed xorg, and sync && init 6
but after restarted, used svcs -a to checked services status:
maintenance 23:41:50 svc:/application/x11/xvnc-inetd:default
How to solve this problem and connect to solaris using vncviewer under... (5 Replies)
Discussion started by: P2Baby
5 Replies
7. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
Prima::noX11(3) User Contributed Perl Documentation Prima::noX11(3)
NAME
Prima::noX11 - Use Prima without X11
SYNOPSIS
use Prima::noX11;
use Prima;
my $error = Prima::XOpenDisplay();
if ( defined $error) {
print "not connected to display: $error
";
} else {
print "connected to display
";
}
DESCRIPTION
Prima will by default connect to X11 server on unix. To use Prima functionality in modules or programs where this default behavior is
undesired, please follow the guidelines below.
No connection
In the beginning of a script or a module that is never intended to connect to X11 display, add this:
use Prima::noX11;
use Prima;
It will be possible to connect to X11 server later on manually.
Manual connect to X11
If connection to X11 is optional, use this code after "use Prima::noX11" was invoked:
my $error = Prima::XOpenDisplay();
if ( defined $error) {
print "not connected to display: $error
";
} else {
print "connected to display
";
}
Checking if GUI functionality is accesiible.
Without X11 connection, no GUI functionality such as screen grabbing will be accessible. In addition to that functionality, windowing
functions will only become accessible after Prima::Application creates a single instance $::application.
Therefore, if $::application is defined, then all GUI functions can be safely used. If, on the contrary, it is not defined, initiate it as
this:
unless ( $::application) {
my $error = Prima::XOpenDisplay();
die $error if defined $error;
require Prima::Application;
import Prima::Application;
}
AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO
Prima::X11
perl v5.14.2 2009-02-24 Prima::noX11(3)