[SOLVED] x11vnc woes

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
bamdad
Posts: 13
Joined: Thu Nov 17, 2016 3:20 pm
Location: budapest

[SOLVED] x11vnc woes

Unread postby bamdad » Wed Mar 15, 2017 5:03 am

hi all,

so i'm trying to get x11vnc working. it sort of does already. when a user has already logged in via xdm (or its visuallogin variant thingy) locally, it works fine. even 3d rendering can be used - although as expected, it looks like crap. : )

a second xdm instance (display :1) also works fine with Xvnc (no 3d rendering, though) - see below.
not to mention xdmcp with xephyr works fine too - i get a plain xdm login that way (and also no glx f course).

but when xdm has already been started but no user is logged in yet, x11vnc just hangs.

what is even more interesting is that x11vnc hangs the same way when i try to attach to display :1 (the Xvnc one), even after logging in there..

now it is pretty obvious that some do-magick is happening in /var/X11/xdm/Xlogin or Xstartup, but i cannot figure out what.

for reference, here's my /var/X11/xdm/Xservers:

Code: Select all

:0 secure /usr/bin/X11/X -auth /var/X11/xdm/xdm-auth-0 -bs -nobitscale -c -class TrueColor -pseudomap 4sight -solidroot black -cursorFG black -cursorBG white -depth 24
#:1 local /usr/nekoware/bin/Xvnc :1 -geometry 1280x720 -depth 24

(i tried changing 'secure' in the first line to 'local' but didn't help)
also, i'm starting x11vnc with this command:

Code: Select all

sudo x11vnc -display :0 -rfbport 5900 -repeat -auth /var/X11/xdm/xdm-auth-0


can someone who is an expert on this please help me out?

thanks in advance,
bamdad
Last edited by bamdad on Wed Mar 15, 2017 6:12 am, edited 1 time in total.
let there be more light..

User avatar
bamdad
Posts: 13
Joined: Thu Nov 17, 2016 3:20 pm
Location: budapest

Re: x11vnc woes

Unread postby bamdad » Wed Mar 15, 2017 6:11 am

so i managed to solve it based on my CDE adventures in the past.. there's a line in /var/X11/xdm/xdm-config that needs to be edited thusly:

Code: Select all

#DisplayManager*grabServer:             True
DisplayManager*grabServer:              False

so if anyone is having similar problems, try this first. : )

also, don't forget to set -overlay in the x11vnc command line for the menus and 3d stuff to look right.

cheers,
bamdad
let there be more light..


Return to “IRIX and Software”

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests