Skip to content

Instantly share code, notes, and snippets.

@sjorge
Created January 22, 2015 20:53
Show Gist options
  • Save sjorge/e8b1cccb7e03874240f0 to your computer and use it in GitHub Desktop.
Save sjorge/e8b1cccb7e03874240f0 to your computer and use it in GitHub Desktop.
shm - x11vnc
[root@02-08-20-5f-45-e1 ~]# lxshmat.d
x11vnc 9607 <- shmat(4 0x0 0x0)=0x7fffff070000
x11vnc 9607 <- shmat(5 0x0 0x0)=0x7ffff5c00000
x11vnc 9607 <- shmat(6 0x0 0x0)=0x7ffffecd0000
x11vnc 9607 <- shmat(7 0x0 0x0)=0x7ffffecc0000
x11vnc 9607 <- shmat(8 0x0 0x0)=0x7ffffecb0000
x11vnc 9607 <- shmat(9 0x0 0x0)=0x7ffffeca0000
x11vnc 9607 <- shmat(10 0x0 0x0)=0x7ffffec90000
x11vnc 9607 <- shmat(11 0x0 0x0)=0x7ffffec80000
x11vnc 9607 <- shmat(12 0x0 0x0)=0x7ffffec70000
x11vnc 9607 <- shmat(13 0x0 0x0)=0x7ffffec60000
x11vnc 9607 <- shmat(14 0x0 0x0)=0x7ffffec50000
x11vnc 9607 <- shmat(15 0x0 0x0)=0x7ffffec40000
x11vnc 9607 <- shmat(16 0x0 0x0)=0x7ffffec30000
x11vnc 9607 <- shmat(17 0x0 0x0)=0x7ffffe9f0000
x11vnc 9607 <- shmat(18 0x0 0x0)=0x7ffffe9e0000
x11vnc 9607 <- shmat(19 0x0 0x0)=0x7ffffe9d0000
x11vnc 9607 <- shmat(20 0x0 0x0)=0x7ffffe9c0000
x11vnc 9607 <- shmat(21 0x0 0x0)=0x7ffffe9a0000
x11vnc 9607 <- shmat(22 0x0 0x0)=0x7ffffe98e000
x11vnc 9607 <- shmat(23 0x0 0x0)=0x7ffffe97b000
x11vnc 9607 <- shmat(24 0x0 0x0)=0x7ffffe967000
x11vnc 9607 <- shmat(25 0x0 0x0)=0x7ffffe952000
x11vnc 9607 <- shmat(26 0x0 0x0)=0x7ffffe93c000
x11vnc 9607 <- shmat(27 0x0 0x0)=0x7ffffe925000
x11vnc 9607 <- shmat(28 0x0 0x0)=0x7ffffe90d000
x11vnc 9607 <- shmat(29 0x0 0x0)=0x7ffffe8f4000
x11vnc 9607 <- shmat(30 0x0 0x0)=0x7ffffe8da000
x11vnc 9607 <- shmat(31 0x0 0x0)=0x7ffffe8bf000
x11vnc 9607 <- shmat(32 0x0 0x0)=0x7ffffe8a3000
x11vnc 9607 <- shmat(33 0x0 0x0)=0x7ffffe886000
x11vnc 9607 <- shmat(34 0x0 0x0)=0x7ffffe868000
x11vnc 9607 <- shmat(35 0x0 0x0)=0x7ffffe849000
x11vnc 9607 <- shmat(36 0x0 0x0)=0x7ffffe829000
x11vnc 9607 <- shmat(37 0x0 0x0)=0x7ffffe5df000
x11vnc 9607 <- shmat(38 0x0 0x0)=0x7ffffe5bd000
x11vnc 9607 <- shmat(39 0x0 0x0)=0x7ffffe59a000
x11vnc 9607 <- shmat(40 0x0 0x0)=0x7ffffe576000
x11vnc 9607 <- shmat(41 0x0 0x0)=0x7ffffe551000
x11vnc 9607 <- shmat(42 0x0 0x0)=0x7ffffe52b000
x11vnc 9607 <- shmat(43 0x0 0x0)=0x7ffffe504000
x11vnc 9607 <- shmat(44 0x0 0x0)=0x7ffffe4dc000
x11vnc 9607 <- shmat(45 0x0 0x0)=0x7ffffe4b3000
x11vnc 9607 <- shmat(46 0x0 0x0)=0x7ffffe489000
x11vnc 9607 <- shmat(47 0x0 0x0)=0x7ffffddd5000
x11vnc 9607 <- shmat(48 0x0 0x0)=0x7ffffdda9000
x11vnc 9607 <- shmat(49 0x0 0x0)=0x7ffffdd7c000
x11vnc 9607 <- shmat(50 0x0 0x0)=0x7ffffdd4e000
root@lxubuntu64:~# x11vnc
###############################################################
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
#@ @#
#@ ** WARNING ** WARNING ** WARNING ** WARNING ** @#
#@ @#
#@ YOU ARE RUNNING X11VNC WITHOUT A PASSWORD!! @#
#@ @#
#@ This means anyone with network access to this computer @#
#@ may be able to view and control your desktop. @#
#@ @#
#@ >>> If you did not mean to do this Press CTRL-C now!! <<< @#
#@ @#
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
#@ @#
#@ You can create an x11vnc password file by running: @#
#@ @#
#@ x11vnc -storepasswd password /path/to/passfile @#
#@ or x11vnc -storepasswd /path/to/passfile @#
#@ or x11vnc -storepasswd @#
#@ @#
#@ (the last one will use ~/.vnc/passwd) @#
#@ @#
#@ and then starting x11vnc via: @#
#@ @#
#@ x11vnc -rfbauth /path/to/passfile @#
#@ @#
#@ an existing ~/.vnc/passwd file from another VNC @#
#@ application will work fine too. @#
#@ @#
#@ You can also use the -passwdfile or -passwd options. @#
#@ (note -passwd is unsafe if local users are not trusted) @#
#@ @#
#@ Make sure any -rfbauth and -passwdfile password files @#
#@ cannot be read by untrusted users. @#
#@ @#
#@ Use x11vnc -usepw to automatically use your @#
#@ ~/.vnc/passwd or ~/.vnc/passwdfile password files. @#
#@ (and prompt you to create ~/.vnc/passwd if neither @#
#@ file exists.) Under -usepw, x11vnc will exit if it @#
#@ cannot find a password to use. @#
#@ @#
#@ @#
#@ Even with a password, the subsequent VNC traffic is @#
#@ sent in the clear. Consider tunnelling via ssh(1): @#
#@ @#
#@ http://www.karlrunge.com/x11vnc/#tunnelling @#
#@ @#
#@ Or using the x11vnc SSL options: -ssl and -stunnel @#
#@ @#
#@ Please Read the documention for more info about @#
#@ passwords, security, and encryption. @#
#@ @#
#@ http://www.karlrunge.com/x11vnc/faq.html#faq-passwd @#
#@ @#
#@ To disable this warning use the -nopw option, or put @#
#@ 'nopw' on a line in your ~/.x11vncrc file. @#
#@ @#
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#
###############################################################
22/01/2015 20:51:16 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 9607
22/01/2015 20:51:16
22/01/2015 20:51:16 WARNING: DISPLAY starts with localhost: 'localhost:10.0'
22/01/2015 20:51:16 WARNING: Is this an SSH X11 port forwarding? You most
22/01/2015 20:51:16 WARNING: likely don't want x11vnc to use that DISPLAY.
22/01/2015 20:51:16 WARNING: You probably should supply something
22/01/2015 20:51:16 WARNING: like: -display :0 to access the physical
22/01/2015 20:51:16 WARNING: X display on the machine where x11vnc is running.
22/01/2015 20:51:16
22/01/2015 20:51:18 Using X display localhost:10.0
22/01/2015 20:51:18 rootwin: 0x165 reswin: 0x3000001 dpy: 0x9cd540
22/01/2015 20:51:18
22/01/2015 20:51:18 ------------------ USEFUL INFORMATION ------------------
22/01/2015 20:51:19 X DAMAGE available on display, using it for polling hints.
22/01/2015 20:51:19 To disable this behavior use: '-noxdamage'
22/01/2015 20:51:19
22/01/2015 20:51:19 Most compositing window managers like 'compiz' or 'beryl'
22/01/2015 20:51:19 cause X DAMAGE to fail, and so you may not see any screen
22/01/2015 20:51:19 updates via VNC. Either disable 'compiz' (recommended) or
22/01/2015 20:51:19 supply the x11vnc '-noxdamage' command line option.
22/01/2015 20:51:19
22/01/2015 20:51:19 Wireframing: -wireframe mode is in effect for window moves.
22/01/2015 20:51:19 If this yields undesired behavior (poor response, painting
22/01/2015 20:51:19 errors, etc) it may be disabled:
22/01/2015 20:51:19 - use '-nowf' to disable wireframing completely.
22/01/2015 20:51:19 - use '-nowcr' to disable the Copy Rectangle after the
22/01/2015 20:51:19 moved window is released in the new position.
22/01/2015 20:51:19 Also see the -help entry for tuning parameters.
22/01/2015 20:51:19 You can press 3 Alt_L's (Left "Alt" key) in a row to
22/01/2015 20:51:19 repaint the screen, also see the -fixscreen option for
22/01/2015 20:51:19 periodic repaints.
22/01/2015 20:51:19
22/01/2015 20:51:19 XFIXES available on display, resetting cursor mode
22/01/2015 20:51:19 to: '-cursor most'.
22/01/2015 20:51:19 to disable this behavior use: '-cursor arrow'
22/01/2015 20:51:19 or '-noxfixes'.
22/01/2015 20:51:19 using XFIXES for cursor drawing.
22/01/2015 20:51:20 GrabServer control via XTEST.
22/01/2015 20:51:25
22/01/2015 20:51:25 Scroll Detection: -scrollcopyrect mode is in effect to
22/01/2015 20:51:25 use RECORD extension to try to detect scrolling windows
22/01/2015 20:51:25 (induced by either user keystroke or mouse input).
22/01/2015 20:51:25 If this yields undesired behavior (poor response, painting
22/01/2015 20:51:25 errors, etc) it may be disabled via: '-noscr'
22/01/2015 20:51:25 Also see the -help entry for tuning parameters.
22/01/2015 20:51:25 You can press 3 Alt_L's (Left "Alt" key) in a row to
22/01/2015 20:51:25 repaint the screen, also see the -fixscreen option for
22/01/2015 20:51:25 periodic repaints.
22/01/2015 20:51:27
22/01/2015 20:51:27 XKEYBOARD: number of keysyms per keycode 7 is greater
22/01/2015 20:51:27 than 4 and 192 keysyms are mapped above 4.
22/01/2015 20:51:27 Automatically switching to -xkb mode.
22/01/2015 20:51:27 If this makes the key mapping worse you can
22/01/2015 20:51:27 disable it with the "-noxkb" option.
22/01/2015 20:51:27 Also, remember "-remap DEAD" for accenting characters.
22/01/2015 20:51:27
22/01/2015 20:51:27 X FBPM extension not supported.
22/01/2015 20:51:27 X display is capable of DPMS.
22/01/2015 20:51:27 --------------------------------------------------------
22/01/2015 20:51:27
22/01/2015 20:51:27 Default visual ID: 0x21
22/01/2015 20:51:49 Read initial data from X display into framebuffer.
22/01/2015 20:51:49 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5760
22/01/2015 20:51:49
22/01/2015 20:51:49 X display localhost:10.0 is 32bpp depth=24 true color
22/01/2015 20:51:49
22/01/2015 20:51:49 Autoprobing TCP port
22/01/2015 20:51:49 Autoprobing selected TCP port 5900
22/01/2015 20:51:49 Autoprobing TCP6 port
22/01/2015 20:51:49 Autoprobing selected TCP6 port 5900
22/01/2015 20:51:49 listen6: bind: Address already in use
22/01/2015 20:51:49 Not listening on IPv6 interface.
22/01/2015 20:51:49
22/01/2015 20:51:49 Xinerama is present and active (e.g. multi-head).
22/01/2015 20:51:50 Xinerama: number of sub-screens: 1
22/01/2015 20:51:50 Xinerama: no blackouts needed (only one sub-screen)
22/01/2015 20:51:50
X11 MIT Shared Memory Attach failed:
Is your DISPLAY=localhost:10.0 on a remote machine?
Note: DISPLAY=localhost:N suggests a SSH X11 redir to a remote machine.
Suggestion, use: x11vnc -display :0 ... for local display :0
caught X11 error:
22/01/2015 20:51:51 deleted 45 tile_row polling images.
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 131 (MIT-SHM)
Minor opcode of failed request: 1 (X_ShmAttach)
Serial number of failed request: 49
Current serial number in output stream: 96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment