X session already open?

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

X session already open?

Postby georgezilla on Sun Jun 03, 2012 12:46 am

Odd thing happens when I try to install LMDE 201204 on my desktop.

I boot the Live DVD, click to install it. And shortly after it starts the install it stops with a screen telling me that there is an X session already running. And asks if I want to start another one. If I tell it no, the install stops. If I tell it yes it opens another terminal and continues the install. If I change to the x session already running, I can continue the install from there. Is this "normal"? Is it a Debian thing?

I do not recall it doing this on my laptop. But then everything worked on the laptop out of the box. And I can not get sound working on my desktop at all.

Any ideas?
georgezilla
Level 1
Level 1
 
Posts: 14
Joined: Mon Apr 25, 2011 9:08 pm

Linux Mint is funded by ads and donations.
 

Re: X session already open?

Postby lkraemer on Thu Jun 07, 2012 10:58 pm

I am getting the same X session already running error message. If I tell it yes it opens another terminal and continues the install. I have been
running Debian 6 for several months, and have installed several. Debian 6 doesn't have this error message, or I've not seen it.

I too would like to know the FIX!

Thanks.

Larry
lkraemer
Level 2
Level 2
 
Posts: 52
Joined: Tue Apr 24, 2012 9:05 pm

Re: X session already open?

Postby dr0b3rts on Wed Jun 20, 2012 9:07 pm

The problem is that the live-cd does not recognize MDM as a valid display manager. /lib/live/config.sh falls back to running startx from the automatic login on tty1, which fails because MDM has already created an X session.

:arrow: Easy Solution: from a terminal, run: sudo /etc/init.d/mdm stop

Harder, but better solution: remove /etc/profile.d/zz-live.sh, then kill login/shell/startx on tty1.

Best solution, Fix the Live-CD: Add code to /lib/live/config/.. to detect presence of MDM and set _X11=true
dr0b3rts
Level 1
Level 1
 
Posts: 1
Joined: Wed Jun 20, 2012 7:43 pm


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 3 guests