← Back to team overview

kernel-packages team mailing list archive

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

 

Have the log from /var/log/xrdp-sesman.log if useful

[20160512-17:26:58] [CORE ] starting sesman with pid 5357
[20160512-17:26:58] [INFO ] listening...
[20160512-17:32:17] [INFO ] shutting down sesman 1
[20160512-17:32:17] [CORE ] starting sesman with pid 11132
[20160512-17:32:17] [INFO ] listening...
[20160512-17:32:32] [INFO ] scp thread on sck 7 started successfully
[20160512-17:32:32] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17204 - socket: 7
[20160512-17:32:32] [INFO ] starting Xvnc session...
[20160512-17:32:33] [INFO ] starting xrdp-sessvc - xpid=11143 - wmpid=11142
[20160512-17:32:33] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11140, ip 192.168.15.60:17204 - socket: 7
[20160512-17:32:42] [INFO ] scp thread on sck 7 started successfully
[20160512-17:32:42] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17204 - socket: 7
[20160512-17:32:42] [INFO ] starting Xvnc session...
[20160512-17:32:42] [INFO ] starting xrdp-sessvc - xpid=11196 - wmpid=11195
[20160512-17:32:42] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11193, ip 192.168.15.60:17204 - socket: 7
[20160512-17:39:29] [INFO ] shutting down sesman 1
[20160512-17:39:30] [CORE ] starting sesman with pid 11507
[20160512-17:39:30] [INFO ] listening...
[20160512-17:39:43] [INFO ] scp thread on sck 7 started successfully
[20160512-17:39:43] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17270 - socket: 7
[20160512-17:39:43] [INFO ] starting Xvnc session...
[20160512-17:39:43] [INFO ] starting xrdp-sessvc - xpid=11516 - wmpid=11515
[20160512-17:39:44] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11513, ip 192.168.15.60:17270 - socket: 7
[20160512-17:39:53] [INFO ] scp thread on sck 7 started successfully
[20160512-17:39:53] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17270 - socket: 7
[20160512-17:39:53] [INFO ] starting Xvnc session...
[20160512-17:39:54] [INFO ] starting xrdp-sessvc - xpid=11589 - wmpid=11588
[20160512-17:39:55] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11585, ip 192.168.15.60:17270 - socket: 7
[20160512-17:44:21] [INFO ] scp thread on sck 7 started successfully
[20160512-17:44:22] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17270 - socket: 7
[20160512-17:44:22] [INFO ] starting Xvnc session...
[20160512-17:44:22] [INFO ] starting xrdp-sessvc - xpid=11703 - wmpid=11702
[20160512-17:44:22] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11700, ip 192.168.15.60:17270 - socket: 7
[20160512-17:44:37] [INFO ] scp thread on sck 7 started successfully
[20160512-17:44:37] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17270 - socket: 7
[20160512-17:44:38] [INFO ] starting Xvnc session...
[20160512-17:44:38] [INFO ] starting xrdp-sessvc - xpid=11763 - wmpid=11762
[20160512-17:44:38] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11760, ip 192.168.15.60:17270 - socket: 7
[20160512-17:44:50] [INFO ] scp thread on sck 7 started successfully
[20160512-17:44:51] [INFO ] ++ created session (access granted): username postgres, ip 192.168.15.60:17270 - socket: 7
[20160512-17:44:51] [INFO ] starting X11rdp session...
[20160512-17:44:51] [CORE ] error starting X server - user postgres - pid 11822
[20160512-17:44:51] [DEBUG] errno: 2, description: No such file or directory
[20160512-17:44:51] [DEBUG] execve parameter list: 11
[20160512-17:44:51] [DEBUG]         argv[0] = X11rdp
[20160512-17:44:51] [DEBUG]         argv[1] = :10
[20160512-17:44:51] [DEBUG]         argv[2] = -geometry
[20160512-17:44:51] [DEBUG]         argv[3] = 1360x768
[20160512-17:44:51] [DEBUG]         argv[4] = -depth
[20160512-17:44:51] [DEBUG]         argv[5] = 24
[20160512-17:44:51] [DEBUG]         argv[6] = -bs
[20160512-17:44:51] [DEBUG]         argv[7] = -ac
[20160512-17:44:51] [DEBUG]         argv[8] = -nolisten
[20160512-17:44:51] [DEBUG]         argv[9] = tcp
[20160512-17:44:51] [DEBUG]         argv[10] = (null)
[20160512-17:45:01] [ERROR] X server for display 10 startup timeout
[20160512-17:45:01] [INFO ] starting xrdp-sessvc - xpid=11822 - wmpid=11821
[20160512-17:45:01] [ERROR] X server for display 10 startup timeout
[20160512-17:45:01] [ERROR] another Xserver is already active on display 10
[20160512-17:45:01] [DEBUG] aborting connection...
[20160512-17:45:01] [INFO ] ++ terminated session:  username postgres, display :10.0, session_pid 11819, ip 192.168.15.60:17270 - socket: 7

-- 
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:
  Confirmed

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