You are not logged in.

#1 2012-05-22 09:40:01

quotidian
Member
Registered: 2012-05-21
Posts: 9

Cannot open display error MATE

I installed MATE alongside XFCE but when I try to open MATE after I login at boot it just comes up with the error Cannot open display and it then exits?

I used the command:

 exec mate-session 

to try and start MATE.

Thanks
Al.

PS I've you need any more details about my system just ask.

Offline

#2 2012-05-22 09:43:06

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

Re: Cannot open display error MATE

How are you starting X?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-05-22 09:50:15

quotidian
Member
Registered: 2012-05-21
Posts: 9

Re: Cannot open display error MATE

jasonwryan wrote:

How are you starting X?

I've tried both running startx and then running exec mate-session from within X. And I also tried editing ./xinitrc and then running xinit but both don't work?

Offline

#4 2012-05-22 09:52:15

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

Re: Cannot open display error MATE

Have you tried the method described in the wiki?

Please paste your .xinitrc.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-05-22 09:57:19

quotidian
Member
Registered: 2012-05-21
Posts: 9

Re: Cannot open display error MATE

Thats what I added to ~/.xinitrc as per the wiki.

#!/bin/sh
#
# ~/.xinitrc
#
#Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

exec ck-launch-session mate-session
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

Offline

Board footer

Powered by FluxBB