← Back to team overview

kernel-packages team mailing list archive

[Bug 1579282] Re: Remote Desktop error when connect to the Ubuntu LTS 16.04

 

Jason, I setup xrdp via:
https://help.ubuntu.com/community/xrdp

However, as xrdp as implemented doesn't actually contain any glue to connect the client to the x session, I use x11vnc as discussed in:
https://help.ubuntu.com/community/VNC/Servers

with a slight modification to the systemd ExecStart:
ExecStart=/usr/bin/x11vnc -auth guess -cursor_drag -forever -xkb -loop -repeat -rfbauth /home/username/.vnc/passwd -rfbport 5900 -shared

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1579282

Title:
  Remote Desktop error when connect to the Ubuntu LTS 16.04

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Using the windows remote desktop to connect to the Ubuntu LTS 16.04,
  the session failed.

  The .xsession-errors log as followings,

  #cat .xsession-errors
  Xsession: X session started for  at Fri May  6 17:52:57 PDT 2016
  X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  109 (X_ChangeHosts)
    Value in failed request:  0x5
    Serial number of failed request:  6
    Current serial number in output stream:  8
  localuser:ubuntu being added to access control list
  X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  109 (X_ChangeHosts)
    Value in failed request:  0x5
    Serial number of failed request:  6
    Current serial number in output stream:  8
  /etc/xrdp/startwm.sh: 3: [: x: unexpected operator

  #cat /proc/version_signature
  Ubuntu 4.4.0-21.37-generic 4.4.6

  ##lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 16.04 LTS
  Release:        16.04
  Codename:       xenial
  --- 
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=16c28cbc-e675-4e08-9672-32b766cdd90a
  InstallationDate: Installed on 2015-09-08 (241 days ago)
  InstallationMedia: Ubuntu-Server 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: HP ProLiant DL360 Gen9
  Package: linux (not installed)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=1036285c-b89e-4d97-b5a5-199699b2651c ro
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-21-generic N/A
   linux-backports-modules-4.4.0-21-generic  N/A
   linux-firmware                            1.157
  RfKill:
   
  Tags:  xenial
  Uname: Linux 4.4.0-21-generic x86_64
  UpgradeStatus: Upgraded to xenial on 2016-05-05 (1 days ago)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 11/03/2014
  dmi.bios.vendor: HP
  dmi.bios.version: P89
  dmi.chassis.type: 23
  dmi.chassis.vendor: HP
  dmi.modalias: dmi:bvnHP:bvrP89:bd11/03/2014:svnHP:pnProLiantDL360Gen9:pvr:cvnHP:ct23:cvr:
  dmi.product.name: ProLiant DL360 Gen9
  dmi.sys.vendor: HP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579282/+subscriptions


References