You are not logged in.

#1 2018-09-10 06:25:42

DCieD
Member
Registered: 2018-09-08
Posts: 9

Multiple X-Sessions / lightdm crashes

Hi, hoping for help to my problem.

I'd like to use multiple x-sessions and switch between them using ctrl-alt-(f1-f7)
unfortunately lightdm crashes when trying to do so...

Im using i3-wm with lightdm as display-manager.
login as usual ..works fine

then I go to tty1 or tty2 or whatever (using ctrl-alt-f1/f2) - login as another user - startx - and another x-session opens where I can do stuff
so far so good...

but now when switching back and forth between this session and the first (tty7) one, the tty7 session eventually crashes, meaning lightdm shows me the greeter and I need to
log back in again and all my previously openend stuff is gone. tty1 however keeps working. Thats why I'm guessing the problem lies within lightdm, but can't be sure.

Can somebody help me troubleshoot this please? Point me to a direction of how to solve the problem? Because I have no idea what to do to get this solved.

(another problem with this approach is that polybar wont open on the second users screen, however thats another topics..)


thank you.

Offline

#2 2018-09-10 06:34:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Multiple X-Sessions / lightdm crashes

You'll need to read your journal/xorg log entries for the crash.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-09-10 15:44:30

DCieD
Member
Registered: 2018-09-08
Posts: 9

Re: Multiple X-Sessions / lightdm crashes

So here is what I just did.

Login as usual with Lightdm in Graphical Mode, then switched to TTY2, logged in as user Guest - startx - which brings up my i3wm Environment
now I switch back and forth between both using crtl-alt-F2 / ctrl-alt-f7 - do this maybe 2 or 3 times and before lighdm crashes and I need to log back
into tty7. the session on tty2 however works fine.

now here is the output of /var/log/Xorg.0.log during that..
I dont know if that is good enough to assist me?


[   154.467] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[   306.175] (II) event1  - Power Button: device removed
[   306.214] (II) event2  - Video Bus: device removed
[   306.274] (II) event0  - Power Button: device removed
[   306.321] (II) event17 - Apple Inc. Apple Keyboard: device removed
[   306.364] (II) event18 - Apple Inc. Apple Keyboard: device removed
[   306.427] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: device removed
[   306.487] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: device removed
[   306.554] (II) event19 - Logitech MX Master: device removed
[   306.587] (II) AIGLX: Suspending AIGLX clients for VT switch
[   401.421] (II) AIGLX: Resuming AIGLX clients after VT switch
[   401.453] (II) modeset(0): EDID vendor "PHL", prod id 2216
[   401.453] (II) modeset(0): Using hsync ranges from config file
[   401.453] (II) modeset(0): Using vrefresh ranges from config file
[   401.453] (II) modeset(0): Printing DDC gathered Modelines:
[   401.453] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   401.453] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   401.453] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   401.453] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[   401.453] (II) modeset(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[   401.453] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   401.453] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   401.453] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   401.453] (II) modeset(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[   401.453] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   401.453] (II) modeset(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   401.453] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   401.453] (II) modeset(0): Modeline "1440x900"x0.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[   401.453] (II) modeset(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[   401.453] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[   401.458] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   401.458] (II) event1  - Power Button: device is a keyboard
[   401.459] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[   401.459] (II) event2  - Video Bus: device is a keyboard
[   401.460] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   401.460] (II) event0  - Power Button: device is a keyboard
[   401.461] (II) event17 - Apple Inc. Apple Keyboard: is tagged by udev as: Keyboard
[   401.461] (II) event17 - Apple Inc. Apple Keyboard: device is a keyboard
[   401.461] (II) event18 - Apple Inc. Apple Keyboard: is tagged by udev as: Keyboard
[   401.461] (II) event18 - Apple Inc. Apple Keyboard: device is a keyboard
[   401.462] (II) event19 - Logitech MX Master: is tagged by udev as: Keyboard Mouse
[   401.462] (II) event19 - Logitech MX Master: device is a pointer
[   401.462] (II) event19 - Logitech MX Master: device is a keyboard
[   401.463] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: is tagged by udev as: Keyboard
[   401.463] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: device is a keyboard
[   401.464] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: is tagged by udev as: Keyboard
[   401.464] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: device is a keyboard
[   403.397] (II) event1  - Power Button: device removed
[   403.440] (II) event2  - Video Bus: device removed
[   403.464] (II) event0  - Power Button: device removed
[   403.494] (II) event17 - Apple Inc. Apple Keyboard: device removed
[   403.518] (II) event18 - Apple Inc. Apple Keyboard: device removed
[   403.548] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: device removed
[   403.574] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: device removed
[   403.601] (II) event19 - Logitech MX Master: device removed
[   403.619] (II) AIGLX: Suspending AIGLX clients for VT switch
[   405.525] (II) AIGLX: Resuming AIGLX clients after VT switch
[   405.558] (II) modeset(0): EDID vendor "PHL", prod id 2216
[   405.558] (II) modeset(0): Using hsync ranges from config file
[   405.558] (II) modeset(0): Using vrefresh ranges from config file
[   405.558] (II) modeset(0): Printing DDC gathered Modelines:
[   405.558] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[   405.558] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   405.558] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[   405.558] (II) modeset(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[   405.558] (II) modeset(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[   405.558] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   405.558] (II) modeset(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[   405.558] (II) modeset(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[   405.558] (II) modeset(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[   405.558] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   405.558] (II) modeset(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[   405.558] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[   405.558] (II) modeset(0): Modeline "1440x900"x0.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[   405.558] (II) modeset(0): Modeline "1440x900"x0.0   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[   405.558] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[   405.563] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   405.563] (II) event1  - Power Button: device is a keyboard
[   405.564] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[   405.564] (II) event2  - Video Bus: device is a keyboard
[   405.565] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   405.565] (II) event0  - Power Button: device is a keyboard
[   405.566] (II) event17 - Apple Inc. Apple Keyboard: is tagged by udev as: Keyboard
[   405.566] (II) event17 - Apple Inc. Apple Keyboard: device is a keyboard
[   405.567] (II) event18 - Apple Inc. Apple Keyboard: is tagged by udev as: Keyboard
[   405.567] (II) event18 - Apple Inc. Apple Keyboard: device is a keyboard
[   405.568] (II) event19 - Logitech MX Master: is tagged by udev as: Keyboard Mouse
[   405.568] (II) event19 - Logitech MX Master: device is a pointer
[   405.568] (II) event19 - Logitech MX Master: device is a keyboard
[   405.569] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: is tagged by udev as: Keyboard
[   405.569] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: device is a keyboard
[   405.570] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: is tagged by udev as: Keyboard
[   405.570] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: device is a keyboard
[   407.948] (II) event1  - Power Button: device removed
[   407.980] (II) event2  - Video Bus: device removed
[   408.014] (II) event0  - Power Button: device removed
[   408.041] (II) event17 - Apple Inc. Apple Keyboard: device removed
[   408.067] (II) event18 - Apple Inc. Apple Keyboard: device removed
[   408.087] (II) event14 - Creative Technology Ltd Sound Blaster Play! 2 Consumer Control: device removed
[   408.121] (II) event15 - Creative Technology Ltd Sound Blaster Play! 2: device removed
[   408.144] (II) event19 - Logitech MX Master: device removed
[   408.173] (II) AIGLX: Suspending AIGLX clients for VT switch
[   410.933] (II) AIGLX: Resuming AIGLX clients after VT switch
[   410.933] (EE) modeset(0): drmSetMaster failed: Invalid argument
[   410.933] (EE) modeset(0): failed to set mode: Permission denied
[   410.933] (EE) 
Fatal server error:
[   410.933] (EE) EnterVT failed for screen 0
[   410.933] (EE) 
[   410.933] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   410.933] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   410.933] (EE) 
[   410.933] (II) AIGLX: Suspending AIGLX clients for VT switch
[   410.943] (EE) Server terminated with error (1). Closing log file.

Thank you

Offline

Board footer

Powered by FluxBB