You are not logged in.

#1 2012-09-17 00:26:09

jeff story
Member
Registered: 2009-05-31
Posts: 238
Website

[fvwm][main]: <<ERROR>> can't open display :1

I can start a second xfce (session?) in a tty while I have a normal xfce session running in tty10, by logging into the tty and designating an alternative display.  example:

$ startxfce4 -- :1

Now I'm playing around with fvwm and trying to start it in a tty with xfce running in tty10, per the command and error below:

$ fvwm -d :1
[fvwm][main]: <<ERROR>> can't open display :1

I've tried find a solution with no luck. How would I start fvwm in a tty?


Check out my website for info on the Arch Linux Installer

Offline

#2 2012-09-17 01:30:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [fvwm][main]: <<ERROR>> can't open display :1

??

You have to start another X session.  Perhaps xfce hides this fact from you by bundling all that in the startxfce4 script, but any other window manager requires X to already be running.

Use startx/xinit -- :1

You can create conditional entries in your xinitrc so you could do `xinit fvwm -- :1`

Edit: As I don't use fvwm you can test and confirm what I am suggesting by trying to start fvwm from a tty even in the default display before any other x session is running.  Calling just `fvwm` from a terminal should fail.

Last edited by Trilby (2012-09-17 01:31:28)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB