01-11-2006
Quote:
Originally Posted by panggou
Hi guys thanks for the suggestions but I solved the problem. I simply need a X emulator (e.g. X-Win32) on my Windows laptop to solve the problem.
There are no problems on the linux machine, just need to export the display to my windows pc for things to work. Forgot the fact that windows cant display X :P
linux# export DISPLAY=<winpc_ip>:0
linux# xclock &
Works perfectly, can see the clock on my windows PC
Exactly, you needed an X server.
10 More Discussions You Might Find Interesting
1. OS X (Apple)
Hi,
I have issues with running graphical interfaces on my computer being remotely logged into a network via the -X option of ssh. My .cshrc shows DISPLAY=hostname:0 and I think there should be a different number instead of the 0. I changed the ssh_config file already to 'X11 forwarding yes', which... (0 Replies)
Discussion started by: ginese
0 Replies
2. Debian
I have 2 Debian boxes.
In my ssh.com client and my putty client, I have X11 fowarding turned
on for both boxes.
When I connect one, I can xterm with no problem back to my pc.
On the other, I keep getting:
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
On both... (3 Replies)
Discussion started by: natter
3 Replies
3. Red Hat
X11 forwarding problem between 2 RHEL4 machines with SSH
Already configured the following on both machines under /etc/ssh
Under sshd_config:
UsePAM no
AllowTcpForwarding yes
Under ssh_config:
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
-----------------------------
Using... (1 Reply)
Discussion started by: panggou
1 Replies
4. HP-UX
Hi,
We've been facing a strange issue. Clients use X11 forwarding via SSH on HP server and sometimes the same DISPLAY is assigned to two (maybe more) sessions. As a result, some users can't open their applications, and some have their windows redirected to somebody else.
It looks as if sshd... (1 Reply)
Discussion started by: piooooter
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all
I'm having an issue with X11 Forwarding
I have a VM set up on my computer which I usually "ssh -X" to over a home network (192.168.1.*).
Client 192.168.1.100
Server 192.168.1.103
This worked perfectly fine for X11 forwarding.
However I am not at home now (and have no access to... (2 Replies)
Discussion started by: grahambo2005
2 Replies
6. UNIX for Dummies Questions & Answers
Hello. I installed a Debian box, and its installed remotely. I need to boot up iceweasel from there to do a quick test.
I log on using:
ssh root@<IP> -X
I have modified the /etc/ssh/sshd_config file, and added the X11Forwarding yes flag
And yet I still get:
Error: cannot open... (10 Replies)
Discussion started by: dynelight
10 Replies
7. Red Hat
Is it possible to launch an X11 application and have it use an X11 server on the other side of a bastion host? Specifically, here's my setup:
my laptop ------------- bastion -------------- remote host
I have putty installed on my laptop. The bastion is rhel 6.5 and the remote host is... (1 Reply)
Discussion started by: tsreyb
1 Replies
8. IP Networking
I would like to disable X11 session forcefully. I have tried the following things:
1. Setting appropriate DISPLAY variable in the /etc/environment file to be "0.0"
2. I have tried setting the sshd_config parameter X11Forwarding to be "no"
This session communication is happening by exchanging... (2 Replies)
Discussion started by: vaibhavvsk
2 Replies
9. UNIX for Beginners Questions & Answers
Unable to get X11 activated on my login even after Unix admin has enabled it (2 Replies)
Discussion started by: tomsayer1977
2 Replies
10. Red Hat
hi,
I'm trying to run a bash script that starts GUI. Though it says application started when I run this bash script doesn't show up any GUI. Here is what I've tried so far and please let me know if I'm missing something with the X11 set up here.
cat /etc/redhat-release
Red Hat Enterprise... (8 Replies)
Discussion started by: fop4658
8 Replies
LEARN ABOUT OSF1
xmgetpixmapbydepth
XmGetPixmapByDepth(3X) XmGetPixmapByDepth(3X)
NAME
XmGetPixmapByDepth - A pixmap caching function that generates a pixmap, stores it in a pixmap cache, and returns the pixmap
SYNOPSIS
#include <Xm/Xm.h>
Pixmap XmGetPixmapByDepth (screen, image_name, foreground, background, depth)
Screen *screen;
char *image_name;
Pixel foreground;
Pixel background;
int depth;
DESCRIPTION
XmGetPixmapByDepth uses the parameter data to perform a lookup in the pixmap cache to see if a pixmap has already been generated that
matches the data. If one is found, a reference count is incremented and the pixmap is returned. Applications should use XmDestroyPixmap
when the pixmap is no longer needed.
If a matching pixmap is not found, image_name is used to perform a lookup in the image cache. If an image is found, it is used to generate
the pixmap, which is then cached and returned.
If an image is not found, image_name is used as a filename, and a search is made for an X10 or X11 bitmap file. If it is found, the file
is read, converted into an image, and cached in the image cache. The image is then used to generate a pixmap, which is cached and
returned.
If image_name has a leading slash (/), it specifies a full pathname, and XmGetPixmapByDepth opens the file as specified. Otherwise,
image_name specifies a filename. In this case XmGetPixmapByDepth looks for the file along a search path specified by the XBMLANGPATH envi-
ronment variable or by a default search path, which varies depending on whether or not the XAPPLRESDIR environment variable is set.
The XBMLANGPATH environment variable specifies a search path for X bitmap files. It can contain the substitution field %B, where the
image_name argument to XmGetPixmapByDepth is substituted for %B. It can also contain the substitution fields accepted by XtResolvePathname.
The substitution field %T is always mapped to bitmaps, and %S is always mapped to NULL.
If XBMLANGPATH is not set, but the environment variable XAPPLRESDIR is set, the following pathnames are searched:
%B
$XAPPLRESDIR/%L/bitmaps/%N/%B
$XAPPLRESDIR/%l/bitmaps/%N/%B
$XAPPLRESDIR/bitmaps/%N/%B
$XAPPLRESDIR/%L/bitmaps/%B
$XAPPLRESDIR/%l/bitmaps/%B
$XAPPLRESDIR/bitmaps/%B
$HOME/bitmaps/%B
$HOME/%B
/usr/lib/X11/%L/bitmaps/%N/%B
/usr/lib/X11/%l/bitmaps/%N/%B
/usr/lib/X11/bitmaps/%N/%B
/usr/lib/X11/%L/bitmaps/%B
/usr/lib/X11/%l/bitmaps/%B
/usr/lib/X11/bitmaps/%B
/usr/include/X11/bitmaps/%B
If neither XBMLANGPATH nor XAPPLRESDIR is set, the following pathnames are searched:
%B
$HOME/%L/bitmaps/%N/%B
$HOME/%l/bitmaps/%N/%B
$HOME/bitmaps/%N/%B
$HOME/%L/bitmaps/%B
$HOME/%l/bitmaps/%B
$HOME/bitmaps/%B
$HOME/%B
/usr/lib/X11/%L/bitmaps/%N/%B
/usr/lib/X11/%l/bitmaps/%N/%B
/usr/lib/X11/bitmaps/%N/%B
/usr/lib/X11/%L/bitmaps/%B
/usr/lib/X11/%l/bitmaps/%B
/usr/lib/X11/bitmaps/%B
/usr/include/X11/bitmaps/%B
These paths are defaults that vendors may change. For example, a vendor may use different directories for /usr/lib/X11 and
/usr/include/X11.
The following substitutions are used in these paths: The image name, from the image_name argument The class name of the application The
display's language string The language component of the display's language string
Parameter descriptions are listed below: Specifies the display screen on which the pixmap is to be drawn Specifies the name of the image to
be used to generate the pixmap Combines the image with the foreground color to create the pixmap if the image referenced is a bit-per-pixel
image Combines the image with the background color to create the pixmap if the image referenced is a bit-per-pixel image Specifies the
depth of the pixmap
RETURN VALUE
Returns a pixmap when successful; returns XmUNSPECIFIED_PIXMAP if the image corresponding to image_name cannot be found.
SEE ALSO
XmDestroyPixmap(3X), XmInstallImage(3X), XmUninstallImage(3X)
XmGetPixmapByDepth(3X)