LXDM/LightDM in container: 'Seat has no VTs but VT number not 0' error

I'm trying to run an x11 server in a container, using x11vnc to access it. OS container has obviously no GPU (the goal is NOT to passthrough any hardware).
I manage to launch the Display Manager (I tried with both LXDM and LightDM) and then login successfully to a lxde session.
However each time I get the following message in journalctl "pam_systemd(...): Failed to create session: Seat has no VTs but VT number not 0".
Then loginctl list-sessions is missing the new session, and also lxpolkit complains with a "No session for pid ***" error window.
My feeling is that this is related to container having no gpu hence no "real" seat but I was unable to find a solution despite multiple attempts...
I tried both LXDM and LightDM and got same problem.
LXDM conf is the standard one except the following line :
[server]
arg=/usr/bin/Xorg -noreset +extension GLX +extension RANDR +extension RENDER -config /etc/lxdm/xdummy.conf
and then LXDM LoginReady script has
/usr/bin/x11vnc -xkb -auth /var/run/lxdm/lxdm-\:0.auth -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900 -o /var/log/x11vnc.log -display :0
My xorg conf is attached below.
Can someone point me in the right direction ?
Thanks !
xdummy.conf
Section "ServerFlags"
  Option "DontVTSwitch" "true"
  Option "AllowMouseOpenFail" "true"
  Option "PciForceNone" "true"
  Option "AutoEnableDevices" "false"
  Option "AutoAddDevices" "false"
EndSection
Section "InputDevice"
  Identifier "dummy_mouse"
  Option "CorePointer" "true"
  Driver "void"
EndSection
Section "InputDevice"
  Identifier "dummy_keyboard"
  Option "CoreKeyboard" "true"
  Driver "void"
EndSection
Section "Device"
  Identifier "dummy_videocard"
  Driver "dummy"
  Option "ConstantDPI" "true"
  VideoRam 192000
EndSection
Section "Monitor"
  Identifier "dummy_monitor"
  HorizSync   5.0 - 1000.0
  VertRefresh 5.0 - 200.0
EndSection
Section "Screen"
  Identifier "dummy_screen"
  Device "dummy_videocard"
  Monitor "dummy_monitor"
  DefaultDepth 24
  SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1024x768" "1024x600" "800x600" "320x200"
  EndSubSection
EndSection
Section "ServerLayout"
  Identifier   "dummy_server"
  Screen       "dummy_screen"
  InputDevice  "dummy_mouse"
  InputDevice  "dummy_keyboard"
EndSection

Norman-
All outawater suggested is that you lop out the code that you are using
for playing sounds and make sure that works, since that seems to be
where your problem is. The rest of your (copious amounts of) applet-
based code is just a distraction at this point.
No, I have no clues as to your possible error. Though the first step that I would take, if this were my code, would be to isolate the part
that's giving me troubles and get it as simple as possible - i.e. make
sure I can write a console app that plays the midi file I want. Then I
would build up from there - i.e. dump that into an applet with one
button that does that.
Good luck to you
Lee

Similar Messages

  • User has contribute access but he is not able to access the site collection...

    User has contribute access but he is not able to access the site collection...

    What error does he get.
    Can you share fiddler trace(check if any 404 error)
    what error do we see in ULS Logs
    Create disableloopback
    registry on server
    http://support.microsoft.com/kb/926642/en-us

  • When trying to creat a desktop icon, it does not go to the URL.....instead I get 'script' and not a website......the script has http//etc but I am not directed to the website......I previously had IE 8 (on Vista).....is that the problem...

    Question
    When trying to create a desktop icon, it does not go to the URL.....instead I get 'script' and not a website......the script has http//etc but I am not directed to the website......I previously had IE 8 (on Vista).....is that the problem?I do not have any installed plugins....at least none that I know of.....remember I am a new user......Basically, the desktop icon is not going directly to the Mozilla FF to get me to the web site I need to go to.....FF works when I use the Mozilla FF icon.....just not the icons I create.....THANKS!!! I have also tried reinstalling FF and get the same results.....HELP!!!

    The address beginning with file:/// denotes a saved file (local file). The file may not be present. You can try dragging the site icon of this page on the left edge of the location (Address) bar and release it on the desktop. Please try opening it. If it still shows an error it could be a problem with the system's zone permissions. You can try setting each zone in the Windows Control Panel or IE > '''Internet Options''' > '''Security''' tab to '''Default Level'''.

  • Error message says "an ipod has been detected but it could not be identified.  We've disconnected the ipod and reconnected it but it hasn't worked.

    error message says "an ipod has been detected but it could not be identified.  We've disconnected the ipod and reconnected it but it hasn't worked.

    If the iPod was originally formated to your computer, restart your computer.  If not - How to use your iPod to move your music to a new computer

  • In Windows 7, iTunes  gives error message "An iPhone has been detected, but it could not be identified properly. Please disconnect and reconnect the phonon then try again.

    In Windows 7, iTunes  gives error message "An iPhone has been detected, but it could not be identified properly. Please disconnect and reconnect the phonon then try again."
    I have a iphone 4S. It has been activated on Win 7 computer and synced. But overnight this meassage reappears.

    I have same error except that i get it even when my phone is not connected.

  • TS1363 "An iPod has been detected but it could not be identified properly"  iPod Nano 7g and 3g won't work with Windows 8 PC. worked fine up until a month or so ago and now they are not recognized.

    "An iPod has been detected but it could not be identified properly"  iPod Nano 7g and 3g won't work with Windows 8 PC. worked fine up until a month or so ago and now they are not recognized.

    Hi cueball819,
    Thanks for using Apple Support Communities.  This article has steps to try if your iPods aren't recognized by iTunes or Windows:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/TS1369
    Cheers,
    - Ari

  • "An iPod has been detected, but it could not be identified properly" error

    We have had five iPod Nano's installed via our home computer (Dell PC - Windows Vista):
    one 2nd generation (currently being used)
    one 3rd generation (not in use - was lost)
    one 4th generation (not in use - was stolen)
    two 5th generations (currently being used)
    The iTunes 10.0.1 Update was installed during the first of the two 5th geneartions installation process.
    We recently bought another 5th generation. When we went to install it, we received the error message "An iPod has been detected, but it could not be identified properly". The 2nd generation can access the entire library and download music but the two 5th generations are no longer able to access the library and download music. Basically, they can only be used to listen to the current music within does 5th generation iPod Nano's.
    We tried everything that's been recommended in the Support section but nothing has worked in order to restore the capability of accessing the library and downloading music for the 2 generations....This is where we need HELP!!!
    As for the new 5th generation, we have installed it into our laptop instead with no problems (so far). We've read that there is a way to move the iTunes Library from one computer to another which we hope this will be an option once we fix the issue of the two 5th generations.
    If anyone can provide any recommendations please post. We have spent the better part of our weekend trying to fix this problem with alot of frustration along the way.
    Thank you

    Uninstall everything from your pc that is published by Apple. This includes; iTunes, Quicktime, and Bonjour. I also had this problem and it is VERY frustrating. Then re-install iTunes of course.

  • One contact who has an iPhone but messaging will not send as iMessage

    I have one contact, who has an iPhone, but messaging will not send as iMessage, only text.  All my other contacts with iPhones, the messages go as iMessages - even messages going to people who are not in my contacts.  What is the fix?

    But if that person did not set up an iMessage account on their iPhone, then they cannot receive any iMessages at all, only SMS text messages.
    Both the sender and the recipient must have an iOS device with an active iMessage account.
    There is nothing you can do about it, other than ask them to set up iMessage on their device (which if they don't want to, is their choice).

  • An iPod has been detected, but it could not be identified properly. Please disonnect and reconnect the iPod, then try again.

    I have uninstalled and reinstalled itunes and I am still getting this error message. An iPod has been detected, but it could not be identified properly. Please disonnect and reconnect the iPod, then try again.

    Hey there gentzdo,
    Welcome to Apple Support Communities.
    This article provides information and troubleshooting tips that'll resolve most issues like the one that you've described, where your iPod nano isn't identified properly by iTunes.
    iPod nano: Error message saying that iPod could not be identified properly - Apple Support
    Cheers,
    -Jason

  • "An ipod has been detected, but it could not be identified properly. Please disconnect an reconnect the iPod, then try again. An unknown error occured (2005)."

    "An ipod has been detected, but it could not be identified properly. Please disconnect an reconnect the iPod, then try again. An unknown error occured (2005)."
    What does this mean? I have an iPod shuffle 4th gen but its not detected in itunes... it can only be seen in the device manager, but I can't see it on the task bar. Can anyone please help me?

    I have same error except that i get it even when my phone is not connected.

  • I get an error message - an I pod has been detected but it could not be identified properly this happened after I downloaded a newer vesrion of I Tunes does anybody have a quick fix??

    I get an error message - an I pod has been detected but it could not be identified properly this happened after I downloaded a newer version of I Tunes does anybody have a quick fix??

    Hi positive29,
    Welcome to the Apple Support Communities!
    I understand situations like yours can be very frustrating. I would recommend the attached article to help you troubleshoot and resolve this issue.
    iPod nano: Error message saying that iPod 'could not be identified properly'
    http://support.apple.com/kb/TS3218
    Have a great day,
    Joe

  • HT3209 my ipad has 4gb availble but still can not download 1.8gb movie what do i have to do?

    my ipad has 4gb availble but still can not download 1.8gb movie what do i have to do?

    The GB size of the download file is the compressed size (like .zip or .dmg). When the file is installed/uncompressed it can be 2-3 times larger.
     Cheers, Tom

  • "An I-Pod has been detetected but Itunes does not recocognize the device.  The device does not show up on ITunes.  Help?

    When I hooked up my new Ipod Nano, The message in I-Tunes reads, "An I-Pod has been detected but Itunes does not recognize the device"  Any ideas to help?

    Hi mulebacker,
    Here is an article that provides troubleshooting steps for this message:
    iPod nano: Error message saying that iPod 'could not be identified properly'
    http://support.apple.com/kb/ts3218
    Cheers!
    - Ari

  • Alright my problem has been fixed but i will not be updating the program

    Alright to put this is short terms-i was at my aunts house on her wifi (not my home router) and i upgraded facebook to 2.2 (like it said to) and i putted it in off mode because i didnt want the battery to drain while in my laptop case with my computer and i took it out last night it wasnt acting right so i plugged it in to my laptop (with windows vista) like normal then i tried my iwake and i fingured it was nothing intil it wouldnt stop doing it when i powered it up later to come to find out my ipod touch (2nd gen) went into recovery mode last night i didnt know what any of that meaned intil i fingured it out,tryed itunes last night as well.. but come to find out the facebook app caused my ipod touch's hard drive to die and go into recovery mode (Iboot) i think it's called but i am not sure after finding out my computer wouldn't let me restore the ipod (kept giving me error codes 6 sometimes 13 & 20-)
    so i fingured i would look for the lastest update and try a new way and it worked! finally i was able to get it out of recovery mode, its now sync (simple fix) i was looking around on how to get it out of recovery mode (i fingured it out) basicually what happened my ipod got stuck in recovery mode and i could not get it out which is totally understandable..after thinking about it i fingured i would try to reinstall the update so i forced my ipod touch into another mode besides recovery mode and reinstalled the software and i know what killed my ipod touch!! i am so happy but i do not recommed updating facebook!! thats what killed my ipod touch!! please do not upgrade facebook it will put your ipod touch into recovery mode and really mess u up!! apple needs to fix it because it caused my ipod to die basicually (stuck in recovery mode) and i am really happy its just working again!! i got to reload my music but thats no big deal i bought it back to life yhay me!! =D don't worry!! be happy and do not upgrade facebook it will kill your ipod touch (get it stuck in recovery mode) if you are stuck in recovery mode and i'll help you the best i can if your stuck in recovery mode!! =D
    also if you cant get into recovery mode or you keep getting errors 13,6,20- you have to hold down the home button &power off/on button for 10 seconds then quicky let go of the power button and then hold the home button for 10 seconds intil the screen goes completely black & then when clicking restore hold down the shift key and a menu will come up (you'll need to download the lastest upgrade) and then click restore and it will fricker white screen and the apple logo will come up and then it will start restoring your ipod touch i cant really explain it but just watch it on youtube!!
    also intil then i though oh my god i did something wrong but shocky i found out what caused my ipod touch to crash and i am not putting it on my ipod touch again and i think that its not my fault it crashed but i remember upgrading my facebook and then putting it in my laptop back (powered off) and i go last night to listen to music and my ipod was freaking out and i didnt understand why, intil last night i remember upgrading facebook.. and thats what caused all my problems and if anyone else has this issue please let me know i dont want to feel like i am the only one with this problem or something like it!! tyvm!
    Message was edited by: BerryAngel

    im not meaning to be rude here, (and i hope this post won't get removed by apple) but i found that post so difficult to read i gave up after the first paragraph. i can cope with the odd spelling mistake (especially as i accept there are often non-english speakers who use these boards - you don't specify), and generally speaking i don't mind people getting things like punctuation wrong. but a complete lack of it?
    your sentences are very long, and it is difficult to work out what your point is a lot of the time.
    *a bit of friendly advice* - if you don't speak english very well, keep your sentences shorter. if you do, put a bit of punctuation in at least! few more full stops will do.

  • How can I get apple to warranty my iPod touch 4th gen? It has always had issues and seems to be a lost cause. Will not connect to wi-fi. It also has cracked screen, but that is not the issue.

    It has a cracked screen also but that is not the issue. I am willing to live with the screen

    Unfortunately, ANY signs of 'neglect or damage' automatically become the cause of any issues you're having. As in it doesn't matter if your screen was flickering before it was dropped, when they see the dent or cracked screen, that screen flicker was caused by the drop. Because they  have no way to know if you are telling the truth (it's nothing personal, they just literally dont' know) so any signs of damage become the reason for your issue. The only way out of that is if you had taken in your iPad and, even if you didn't get it replaced, an apple employee can have documented that yes, that issue existed before the drop.
    It's not fun, I know, but that's just how it is. Any signs of 'neglect or damage' and that 'neglect or damage' is the cause of your issues.

Maybe you are looking for

  • (261936172) Q general How can I access an EJB hosted on a remote server?

    Q<general> How can I access an EJB hosted on a remote server? A<general> The ability to add EJB control files enables you to access an EJB that is deployed to the server on which your web service is running. When you select "add EJB control" you need

  • Mbp retina mid 2012 Shuts down unexpectedly

    I have my mbp for 2 years now.After the first year i installed windows 7 via bootcamp.I never had any problems with it until one day when i had connected an audio system to it and played skyrim.I stepped on the audio system cable and the jack pulled

  • What`s the maximum wireless range? (how many feet?)

    i`d keep search for this features through the whole website in apple.com and the reviews from other websites. But, there isn`t any may solve my question. Is there anyone can help me? i hope to know that how far range for the airport extreme 802.11n c

  • Problems in Changing LDAP (AD) Initial Password from Portal

    Hello , We are using EP 7.01 SP 05 with Microsoft AD as our user data store (flat structure). For newly created users on AD, we are wanting them to be able to change their initial passwords from portal (on their first logon). SSL is set up between EP

  • Port 1935 required to be open?

    FMS is installed on the same server running multiple sites in IIS. Our corporate firewall is only allowing traffic on port 80. Do we need to open port 1935? Are there any work-arounds? Like, can we tell FMS to use an IP on port 80 instead? (I've trie