search for: screen_number

Displaying 6 results from an estimated 6 matches for "screen_number".

2001 Feb 21
3
X11 display issues
...s ssh server never listens for X11 connections on UNIX socket. Therefore a patch (relative to OpenSSH 2.5.1p1) is suggested. Cheers. Andy. *** channels.c.orig Fri Feb 16 16:56:31 2001 --- channels.c Wed Feb 21 11:49:06 2001 *************** *** 1909,1915 **** char * x11_create_display_inet(int screen_number, int x11_display_offset) { ! int display_number, sock; u_short port; struct addrinfo hints, *ai, *aitop; char strport[NI_MAXSERV]; --- 1909,1915 ---- char * x11_create_display_inet(int screen_number, int x11_display_offset) { ! int display_number, sock=-1; u_short port; str...
2001 Aug 08
0
Setting of DISPLAY Variable - Patch
...olaris and Linux later) configure --with-cppflags=-DLOCALHOST_IN_DISPLAY activates the change *** channels.c Wed Jun 13 21:18:05 2001 --- ../openssh-2.9p2.aix/channels.c Wed Aug 8 14:55:24 2001 *************** *** 2268,2276 **** --- 2268,2282 ---- display_number, screen_number); } #else /* IPADDR_IN_DISPLAY */ + #ifdef LOCALHOST_IN_DISPLAY + /* Just set DISPLAY to localhost:screen.display */ + snprintf(display, sizeof display, "%.400s:%d.%d", "localhost", + display_number, screen_number); + #else /* Just se...
2001 Nov 27
1
[PATCH] tcp-wrappers support extended to x11 forwards
Hi! Here is the patch to support tcp wrappers with x11-forwarded connections. The patch is for openssh-3.0.1p1 but it works fine with 2.9.9p2 too. I've understood that this will not be included in the official version because it adds complexity (?!) to openssh. Binding the forwarded port to localhost doesn't solve all problems. I've understood that you should also implement
2001 Dec 05
1
DISPLAY=localhost
.../* * Creates an internet domain socket for listening for X11 connections. - * Returns a suitable value for the DISPLAY variable, or NULL if an error - * occurs. + * Returns a suitable display number for the DISPLAY variable, or -1 if + * an error occurs. */ -char * -x11_create_display_inet(int screen_number, int x11_display_offset) +int +x11_create_display_inet(int x11_display_offset, int gateway_ports) { int display_number, sock; u_short port; struct addrinfo hints, *ai, *aitop; char strport[NI_MAXSERV]; int gaierr, n, num_socks = 0, socks[NUM_SOCKS]; - char display[512]; - char hostname[M...
2010 Jul 04
1
Compiz 0.9.0 is Released!
...raw thumbnails of window * Plugins rewritten in C++ using the new API * DBus plugin now uses the screen number to identify compiz instance. This means that scripts which use /allscreens will no longer work. In general this means that paths have now changed to be /org/freedesktop/compiz/screen{screen_number}/ ... In a single instance of compiz, {screen_number} would generally be 0 (i.e screen0) * Shape drawing implemented in annotate. Also fixed long standing damage bug that caused skips in line drawing. * Added serialization interface to core, which allows plugins to save activity states on p...
1999 Dec 10
5
openssh on AIX v4.3.3 with native compiler
Hello, Was looking in the archives... and haven't seen this one listed. When I compile openssh-1.2pre17 on AIX v4.3.3 with the native compiler I get the following errors. I haven't see this __attribute__ code.. What compiler/libraries are needed to compile this? I have seen that people have compiled openssh on AIX.. Just wondering what you have used. # make cc -g