[Pkg-xfce-devel] Bug#823208: xfce4-session: startxfce4 fails to start X on "Cannot open /dev/tty0"

Olivier Berger olivier.berger at telecom-sudparis.eu
Mon May 2 08:58:44 UTC 2016

On Mon, May 02, 2016 at 10:38:05AM +0200, Olivier Berger wrote:
> It seems startxfce4 doesn't do the right thing, as it cannot start X, reporting in ~/.local/share/xorg/Xorg.0.log :
> ...
> Fatal server error:
> [   225.648] (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
> [   225.648] (EE) 
> [   225.648] (EE) 
> ...
> However, startx from the same user's console works.
> Maybe that's similar to what was reported in #760652 but that ain't obvious either.

It seems a workaround is to modify .xinitrc and use startx instead, as instructed in https://wiki.debian.org/Xfce :
    only use startx, without any argument
    don't use a .xinitrc, add in file ~/.xsession: 

      exec ck-launch-session startxfce4

Hope this helps.

Best regards,
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)

More information about the Pkg-xfce-devel mailing list