01-26-2012
[Solved] putty+x11:How do I pass X11 display rights to "su"?
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 permissions of that su-ed id. That isn't working. I imagine this has something to do with ssh, but I can't figure out the EXACT steps I need to go through to get this to work.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i have two rules in my pf.conf file, "pass in all" and "pass out all"
i was having issues with getting pf working to begin with, so i went with
starting from nothing and working on up.
i have an ultrasparc ultra1 200e, with an added 4-port fast ethernet sbus
card, running "3.4 GENERIC#85... (4 Replies)
Discussion started by: xyyz
4 Replies
2. 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
3. Solaris
I can run xclock from root but not able to run in a user (oracle)
I am getting this error during installation of ORACLE-10g (10.2) in Solaris-10 (X86).............when I do ./runInstaller
when ever try, getting this error.......
DISPLAY not set. Please set the DISPLAY and try again. or... (2 Replies)
Discussion started by: gohappy
2 Replies
4. Solaris
Hi all,
How to setup X11 on Solaris?
~Vinodh' Kumar (1 Reply)
Discussion started by: vino_hymi
1 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
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
7. Linux
Im trying to forward X11 from new servers by logging with NIS User, but no $HOME is mounted from NIS maps, this is how it was set-up.
I got Xming for X11 forwarding which works beautifully with putty, but it aint working with this situation where my $HOME folder is missing,
Means when Im logging... (2 Replies)
Discussion started by: kl1ngac1k
2 Replies
8. UNIX Desktop Questions & Answers
For preliminaries, I am on a Mac Pro running 10.5. I am trying to run a program that opens an X11 graphic and plots a mesh. The little program is called showme. It has worked just fine in the past. Up until I had to make a new user account on this machine for myself. Now every time I try to... (8 Replies)
Discussion started by: Bocephus85
8 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT X11R4
dmxgetscreenattributes
DMXGetScreenAttributes(3X) DMXGetScreenAttributes(3X)
NAME
DMXGetScreenAttributes - determine back-end screen attributes
SYNOPSIS
#include <X11/extensions/dmxext.h>
Bool DMXGetScreenAttributes(Display *dpy,
int screen,
DMXScreenAttributes *attr);
DESCRIPTION
DMXGetScreenAttributes() returns the attributes for the single DMX screen specified in screen.
The DMXScreenAttributes structure is:
typedef struct {
char *displayName;
int logicalScreen;
unsigned int screenWindowWidth;
unsigned int screenWindowHeight;
int screenWindowXoffset;
int screenWindowYoffset;
unsigned int rootWindowWidth;
unsigned int rootWindowHeight;
int rootWindowXoffset;
int rootWindowYoffset;
int rootWindowXorigin;
int rootWindowYorigin;
} DMXScreenAttributes;
displayName is the name used to open the display, either from the Xdmx(1) command-line or from the configuration file.
logicalScreen is the value of the screen that that Xdmx(1) server exports to clients. When Xinerama is in use, this value is typically 0
for all values of physicalScreen. If Xinerama is in use, rootWindowXorigin and rootWindowYorigin specify where the physical screen is
positioned in the global Xinerama coordinate system. Otherwise, these values are set to 0.
screenWindowWidth, screenWindowHeight, screenWindowXoffset, and screenWindowYoffset are a geometry specification (see X(7x)) for the loca-
tion of the DMX screen on the back-end screen. The coordinant system of the back-end display is used for these values.
rootWindowWidth, rootWindowHeight, rootWindowXoffset, and rootWindowYoffset are a geometry specification (see X(7x)) for the location of
the root window on the screen window. The coordinant system of the screen window is used. In most cases, the root window will have the
same geometry as the DMX screen window, and will occupy the same area of the back-end display. (This would not be the case, for example,
if automatic projector alignment is used.)
RETURN VALUE
DMXGetScreenAttributes() returns True unless there is a protocol error.
DMXGetScreenAttributes() can generate BadValue errors.
SEE ALSO
DMXGetScreenCount(3X), DMXChangeScreenAttributes(3X), DMX(3X), Xdmx(1)
X Version 11 libdmx 1.0.2 DMXGetScreenAttributes(3X)