Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 20:30:13 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Leslie Jensen <leslie@eskk.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X server already running on display :0
Message-ID:  <20120721203013.bc0b05ca.freebsd@edvax.de>
In-Reply-To: <500AD7BA.70702@eskk.nu>
References:  <500AD7BA.70702@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Jul 2012 18:24:26 +0200, Leslie Jensen wrote:
> 
> 
> I have a problem that I do not understand.
> 
> At the prompt I give the command startx
> 
> I get a message that /usr/local/bin/startxfce4 does not exist.

This means your ~/.xinitrc contains a call to launch Xfce 4,
typically the last command, prefixed by "exec", in that file.
It seems you don't have Xfce 4 installed.



> Copy the file from another system and I get
> 
> X server already running on display :0
> /usr/local/etc/xdg/xfce4/xinitrc: Can't open 
> /usr/local/etc/xdg/xfce4/xinitrc: File or catalog does not exist
> 
> I have not knowingly made any changes to this machine.

It's not sufficient to copy just this start script (out of
the Xfce 4 software package). You need to _completely_ install
it, including all dependencies. You can use "pkg_add -r" to
do this, or use the xfce metaport per "make install".



> Any suggestions?

Just install Xfce 4 in one of the usual ways.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120721203013.bc0b05ca.freebsd>