[LightDM] xvnc session

Robert Ancell robert.ancell at gmail.com
Mon Apr 21 13:40:31 PDT 2014


XDMCP doesn't support any compression in the protocol. I believe the best
method is to use x2go (x2go.org, used to be called NX) and that provides
compression.


On 18 April 2014 19:07, Gabriele Bulfon <gabriele.bulfon at sonicle.com> wrote:

> Thanks, found the reason: depth 8 was crashing the viewer.
> With crash 16 or 24 works great! :)
>
> Tried also xdmcp and works fine, but workable only on 10/100/1000 LAN.
> Any way to run compression on xdmcp?
>
>
>
> ------------------------------
>
>
> *Da:* Robert Ancell <robert.ancell at gmail.com>
> *A:* Gabriele Bulfon <gabriele.bulfon at sonicle.com>
> *Cc:* LightDM Mailing List <lightdm at lists.freedesktop.org>
> *Data:* 16 aprile 2014 3.04.15 CEST
> *Oggetto:* Re: [LightDM] xvnc session
>
>
> From LightDM's point of view everything is working. I suggest checking
> your Xvnc server and see if it can give you any more debugging.
>
>
> On 11 April 2014 20:55, Gabriele Bulfon <gabriele.bulfon at sonicle.com>wrote:
>
>> Hi,
>>
>> just trying to run the vnc login session (still on XStreamOS/illumos).
>> Changed /etc/lightdm/lightdm.conf with:
>>
>> [VNCServer]
>> enabled=true
>> command=Xvnc -SecurityTypes None
>> port=5900
>> width=1024
>> height=768
>> depth=8
>>
>> I don't want vnc password at the moment.
>>
>> Now if I connect with TightVnc, the client window stays small and note
>> responding, if I close it
>> I get the windows application error dialog.
>> If I connect with UltraVNC, the client window sizes correctly but stays
>> black, closing just closes.
>>
>> Logs from lightdm during vnc connection is:
>>
>> [+69771.03s] DEBUG: Got VNC connection from 10.0.0.10:2675
>> [+69771.03s] DEBUG: Seat: Starting
>> [+69771.03s] DEBUG: Seat: Creating greeter session
>> [+69771.03s] DEBUG: Seat: Creating display server of type x
>> [+69771.03s] DEBUG: DisplayServer xvnc-1: Logging to
>> /var/log/lightdm/xvnc-1.log
>> [+69771.03s] DEBUG: DisplayServer xvnc-1: Writing X server authority to
>> /var/run/lightdm/root/:1
>> [+69771.03s] DEBUG: DisplayServer xvnc-1: Launching Xvnc server
>> [+69771.03s] DEBUG: Launching process 2201: /usr/bin/Xvnc -SecurityTypes
>> None :1 -auth /var/run/lightdm/root/:1 -inetd -nolisten tcp -geometry
>> 1024x768 -depth 8
>> [+69771.03s] DEBUG: DisplayServer xvnc-1: Waiting for ready signal from
>> Xvnc server :1
>> [+69771.03s] DEBUG: Registering seat with bus path
>> /org/freedesktop/DisplayManager/Seat3
>> [+69771.38s] DEBUG: Got signal 16 from process 2201
>> [+69771.38s] DEBUG: DisplayServer xvnc-1: Got signal from Xvnc server :1
>> [+69771.38s] DEBUG: DisplayServer xvnc-1: Connecting to XServer :1
>> [+69771.39s] DEBUG: Seat: Display server ready, starting session
>> authentication
>> [+69771.39s] DEBUG: Session: Not setting XDG_VTNR
>> [+69771.39s] DEBUG: Session pid=2205: Started with service
>> 'lightdm-greeter', username 'lightdm'
>> [+69771.43s] DEBUG: Session pid=2205: Authentication complete with return
>> value 0: Success
>> [+69771.43s] DEBUG: Seat: Session authenticated, running command
>> [+69771.43s] DEBUG: Session pid=2205: Not setting XDG_VTNR
>> [+69771.43s] DEBUG: Session pid=2205: Running command
>> /usr/sbin/lightdm-gtk-greeter
>> [+69771.44s] DEBUG: Session pid=2205: Logging to
>> /var/log/lightdm/xvnc-1-greeter.log
>> [+69771.79s] DEBUG: Session pid=2205: Greeter connected version=1.7.17
>> [+69772.24s] DEBUG: Session pid=2205: Greeter start authentication
>> [+69772.24s] DEBUG: Session: Not setting XDG_VTNR
>> [+69772.24s] DEBUG: Session pid=2219: Started with service 'lightdm',
>> username '(null)'
>> [+69772.26s] DEBUG: Session pid=2219: Got 1 message(s) from PAM
>> [+69772.26s] DEBUG: Session pid=2205: Prompt greeter with 1 message(s)
>>
>> /var/log/lightdm/xvnc-1.log is 0 bytes, nothing, greeter looks running.
>>
>> TightVNC log is like this:
>>
>> [ 5284/ 4664] 2014-04-11 10:40:41:827 : Decoder 0 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder 1 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder 2 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder 5 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder 7 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder 16 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -223 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -224 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -232 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -239 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder store: enable Copy Rect
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder store: preferred encoding
>> is "7".
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 Set flag of ignor by cursor update
>> is '0'
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -239 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -232 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:828 : Decoder -26 added
>> [ 5284/ 4664] 2014-04-11 10:40:41:829 : Pixel format will changed
>> [ 5284/ 4664] 2014-04-11 10:40:41:829 : Starting remote viewer core...
>> [ 5284/ 4664] 2014-04-11 10:40:41:829 Remote viewer core is started
>> [ 5284/ 3384] 2014-04-11 10:40:41:829 : FbUpdateNotifier (event): 0
>> updates
>> [ 5284/ 3456] 2014-04-11 10:40:41:829 - Protocol stage is "Connection
>> establishing".
>> [ 5284/ 3456] 2014-04-11 10:40:41:844 : Connecting to the host "
>> vbxstreamdev.sonicle.com:5900" (192.168.222.204:5900)...
>> [ 5284/ 3456] 2014-04-11 10:40:41:857 : Initialization of socket stream
>> and input/output gates...
>> [ 5284/ 3456] 2014-04-11 10:40:41:857 : Connection is established
>> [ 5284/ 3456] 2014-04-11 10:40:41:857 - Protocol stage is "Handshake".
>> [ 5284/ 4664] 2014-04-11 10:40:41:889 client rect: 0, 0; 104, 31
>> [ 5284/ 4664] 2014-04-11 10:40:41:890 Desktop-window. (x, y): (0, 29);
>> (w, h): (104, 2)
>> [ 5284/ 3456] 2014-04-11 10:40:42:029 - Server sent protocol version: RFB
>> 003.008
>> [ 5284/ 3456] 2014-04-11 10:40:42:029 - Send to server protocol version:
>> RFB 003.008
>> [ 5284/ 3456] 2014-04-11 10:40:42:030 - Protocol stage is
>> "Authentication".
>> [ 5284/ 3456] 2014-04-11 10:40:42:030 : Negotiating about security
>> type...
>> [ 5284/ 3456] 2014-04-11 10:40:42:030 : Reading list of security types...
>> [ 5284/ 3456] 2014-04-11 10:40:42:217 List of security type is read
>> [ 5284/ 3456] 2014-04-11 10:40:42:217 : Security Types received (2):
>> Unknown type (19), None (1)
>> [ 5284/ 3456] 2014-04-11 10:40:42:217 Selecting auth-handler
>> [ 5284/ 3456] 2014-04-11 10:40:42:217 - Security type is selected: 1
>> [ 5284/ 3456] 2014-04-11 10:40:42:218 - Authentication type accepted:
>> None (1)
>> [ 5284/ 3456] 2014-04-11 10:40:42:218 : Authentication...
>> [ 5284/ 3456] 2014-04-11 10:40:42:229 : Auth result is 0
>> [ 5284/ 3456] 2014-04-11 10:40:42:229 - Protocol stage is
>> "Initialization".
>> [ 5284/ 3456] 2014-04-11 10:40:42:229 - Setting share flag in on...
>> [ 5284/ 3456] 2014-04-11 10:40:42:229 Shared flag is set
>> [ 5284/ 3456] 2014-04-11 10:40:42:241 ! Not supported palette. Flag "True
>> colour" is not set.
>> [ 5284/ 3456] 2014-04-11 10:40:42:241 : Setting frame buffer
>> properties...
>> [ 5284/ 3456] 2014-04-11 10:40:42:241 - Frame buffer dimension: (1024,
>> 768)
>> [ 5284/ 3456] 2014-04-11 10:40:42:241 - Frame buffer pixel format:
>> [bits-per-pixel: 8, depth: 8, big-endian-flag: 0, true-color-flag: is set,
>> red-max: 0, green-max: 0, blue-max: 0, red-shift: 255, green-shift: 255,
>> blue-shift: 255]
>> [ 5284/ 3456] 2014-04-11 10:40:42:258 : Frame buffer will refreshed
>> [ 5284/ 3456] 2014-04-11 10:40:42:258 FbUpdateNotifier: new size of frame
>> buffer
>> [ 5284/ 3456] 2014-04-11 10:40:42:258 Frame buffer properties set
>> [ 5284/ 3456] 2014-04-11 10:40:42:258 - Server remote name: x11
>> [ 5284/ 3456] 2014-04-11 10:40:42:258 - Protocol stage is "Is connected".
>> [ 5284/ 3384] 2014-04-11 10:40:42:258 FbUpdateNotifier (event): new size
>> of frame buffer
>> [ 5284/ 3384] 2014-04-11 10:40:42:258 : Desktop size: 1024, 768
>> [ 5284/ 4664] 2014-04-11 10:40:42:264 client rect: 0, 0; 104, 31
>> [ 5284/ 4664] 2014-04-11 10:40:42:264 Desktop-window. (x, y): (0, 29);
>> (w, h): (104, 2)
>>
>> then stop, and I can only close the vnc window.
>>
>> Any idea?
>>
>> Gabriele.
>>
>>
>>
>> _______________________________________________
>> LightDM mailing list
>> LightDM at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/lightdm
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140422/8d7169d0/attachment.html>


More information about the LightDM mailing list