X11Forwarding yes ssh -X vs. ssh -Y

Christoph Kukulies kuku at kukulies.org
Sat May 2 13:42:27 UTC 2020


OK, here is (doesn’t seem to have anything related to security extensions):

name of display:    /private/tmp/com.apple.launchd.NM3gWpA6AH/org.macports:0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12004000
X.Org version: 1.20.4
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  None
number of extensions:    21
    Apple-DRI  (opcode: 128, base event: 64, base error: 128)
    Apple-WM  (opcode: 129, base event: 68, base error: 130)
    BIG-REQUESTS  (opcode: 134)
    DAMAGE  (opcode: 142, base event: 97, base error: 154)
    DOUBLE-BUFFER  (opcode: 144, base error: 155)
    GLX  (opcode: 148, base event: 101, base error: 159)
    Generic Event Extension  (opcode: 130)
    MIT-SCREEN-SAVER  (opcode: 143, base event: 98)
    MIT-SHM  (opcode: 132, base event: 72, base error: 132)
    Present  (opcode: 145)
    RANDR  (opcode: 141, base event: 95, base error: 149)
    RENDER  (opcode: 140, base error: 144)
    SHAPE  (opcode: 131, base event: 71)
    SYNC  (opcode: 135, base event: 90, base error: 138)
    X-Resource  (opcode: 146)
    XC-MISC  (opcode: 137)
    XFIXES  (opcode: 139, base event: 93, base error: 142)
    XINERAMA  (opcode: 138)
    XInputExtension  (opcode: 133, base event: 73, base error: 133)
    XKEYBOARD  (opcode: 136, base event: 92, base error: 141)
    XVideo  (opcode: 147, base event: 99, base error: 156)
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1680x1028 pixels (445x272 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x111
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    32x32
  current input event mask:    0x1a0000
    StructureNotifyMask      SubstructureNotifyMask   SubstructureRedirectMask 
  number of visuals:    80
  default visual id:  0x22
  visual:
    visual id:    0x22
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

Only numerous visuals are follwing…

—
Christoph

> Am 02.05.2020 um 15:29 schrieb Greg Veldman <freebsd at gregv.net>:
> 
> On Sat, May 02, 2020 at 09:33:45AM +0200, Christoph Kukulies wrote:
>> When logging into my FreeBSD12.1  system using 
>> 
>> ssh -Y user at mybox
>> 
>> and do echo $DISPLAY I get localhost:10.0 and can do X11Forwarding (which I enable in sshd_config)
>> Doing
>> 
>> 
>> ssh -X user at mybox
>> 
>> doesn???t work. DISPLAY variable is not being set.
>> 
>> Any clues? 
> 
> The -X option requires support of the X11 SECURITY extension
> in your server.  You can check if that's enabled with:
> 
> $ xdpyinfo -queryExtensions
> 
> -- 
> Greg Veldman
> freebsd at gregv.net
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list