04-01-2011
Just an idea: instead of setting the DISPLAY variable manually, why not enable X11 Forwarding in PuTTY (Connection -> SSH -> X11)? That way the variable is set automagically, and all X11 data is sent through an encrypted link.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can I telnet from my windows XP machine to my Ultra 60 and run firefox? I am unable to open the display using /usr/openwin/bin/xhost like I do from one Sun machine to another? Thanks (2 Replies)
Discussion started by: ridgeback00
2 Replies
2. UNIX for Dummies Questions & Answers
I am a dba, not an sa, that recently had to take over administering an HP-UX server. Needless to say I am not in a comfortable area, but found out that of all people I am the most knowledgeable on unix here .... scary thought I know.
I am having troubles exporting my display to a Windows XP... (5 Replies)
Discussion started by: soestx
5 Replies
3. UNIX for Advanced & Expert Users
I am trying to install ORACLE 10g database on HP-UNIX 11.11
I am running OUI runinstaller from exceed terminal from windows PC. I have
set DISPLAY=IPAddress of PC:0.0
When installer starts it is giving me error of display (5 Replies)
Discussion started by: ymg
5 Replies
4. UNIX for Advanced & Expert Users
hello guys,
this morning when I start my pc (gentoo) I get some strange errors about localhost.
"Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache
the same for my aplications, I have to use the full address of my pc instead of... (1 Reply)
Discussion started by: georgeplus
1 Replies
5. UNIX for Dummies Questions & Answers
I am trying to do something on another computer through ssh and I keep getting this:"(gedit:6169): Gtk-WARNING **: cannot open display:"I have googled the interweb and this forum and found many posts but nothing seems to work. I have freshly installed Ubuntu 8.10 with updates on the machine and I... (4 Replies)
Discussion started by: badrabbit6
4 Replies
6. Red Hat
Hi,
I get errors while running xclock from a non root user:
# xclock --- this works fine
# su - girish
$ DISPLAY=:0.0; export DISPLAY
$ xclock
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0.0
$
I basically want to... (4 Replies)
Discussion started by: girish1428
4 Replies
7. 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
8. UNIX for Dummies Questions & Answers
I am trying to direct a AIX display to my XWindows and I am at a dead end now!
So this what I've done so far:
1. In putty settings, I set "Enable X11 forwarding" and also set "X diplay location" to "localhost:0" (without quotes, of course)
2. Via putty, connected to my AIX server
3. On... (1 Reply)
Discussion started by: shoefiend
1 Replies
9. Linux
Hai
(PMT:6498): Gtk-WARNING **: cannot open display:
how to solve this in linux
Double post.. continue here (0 Replies)
Discussion started by: vinayd
0 Replies
10. Red Hat
Error message:
(PMT:6498): Gtk-WARNING **: cannot open display:
How to solve this issue in linux? (1 Reply)
Discussion started by: vinayd
1 Replies
LEARN ABOUT DEBIAN
x11::protocol::ext::shape
Protocol::Ext::SHAPE(3pm) User Contributed Perl Documentation Protocol::Ext::SHAPE(3pm)
NAME
X11::Protocol::Ext::SHAPE - Perl module for the X11 Protocol Nonrectangular Window Shape Extension
SYNOPSIS
use X11::Protocol;
$x = X11::Protocol->new($ENV{'DISPLAY'});
$x->init_extension('SHAPE') or die;
DESCRIPTION
This module is used by the X11::Protocol module to participate in the shaped window extension to the X protocol, allowing windows to be of
any shape, not just rectangles.
SYMBOLIC CONSTANTS
This extension adds the constant types 'ShapeKind' and 'ShapeOp', with values as defined in the standard.
EVENTS
This extension adds the event type 'ShapeNotify', with values as specified in the standard. This event is selected using the
ShapeSelectInput() request.
REQUESTS
This extension adds several requests, called as shown below:
$x->ShapeQueryVersion
=>
($major, $minor)
$x->ShapeRectangles($dest, $destKind, $op, $xOff, $yOff,
$ordering, @rectangles)
$x->ShapeMask($dest, $destKind, $op, $xOff, $yOff, $source)
$x->ShapeCombine($dest, $destKind, $op, $xOff, $yOff, $source,
$sourceKind)
$x->ShapeOffset($dest, $destKind, $xOff, $yOff)
$x->ShapeQueryExtents($dest)
=>
($boundingShaped, $clipShaped,
($xBoundingShape, $yBoundingShape,
$widthBoundingShape, $heightBoundingShape)
($xClipShape, $yClipShape, $widthClipShape, $heightClipShape))
$x->ShapeSelectInput($window, $enable)
$x->ShapeInputSelected($window)
=>
$enable
$x->ShapeGetRectangles($window, $kind)
=>
($ordering, [$x, $y, $width, $height], ...)
AUTHOR
Stephen McCamant <SMCCAM@cpan.org>.
SEE ALSO
perl(1), X11::Protocol, Nonrectangular Window Shape Extension (X Consortium Standard).
perl v5.14.2 2003-02-16 Protocol::Ext::SHAPE(3pm)