Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

X server already running on display :0

1,653 views
Skip to first unread message

Leslie Jensen

unread,
Jul 21, 2012, 12:24:26 PM7/21/12
to


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.

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.

Any suggestions?

Thanks

/Leslie

_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Wojciech Puchar

unread,
Jul 21, 2012, 12:42:04 PM7/21/12
to
>
> At the prompt I give the command startx
>
> I get a message that /usr/local/bin/startxfce4 does not exist.
>
> Copy the file from another system and I get

copying files instead of installing packages isn't bright idea, unless you
copy complete /usr/local tree.

Leslie Jensen

unread,
Jul 21, 2012, 12:54:58 PM7/21/12
to
I understand that, but I needed to approach the problem some way to get
some information.

Wojciech Puchar

unread,
Jul 21, 2012, 1:16:54 PM7/21/12
to
> 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
this is an answer i think

Polytropon

unread,
Jul 21, 2012, 2:30:13 PM7/21/12
to
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, ...

Leslie Jensen

unread,
Jul 21, 2012, 3:16:31 PM7/21/12
to
True! I copied this file as well and now xfce starts as usual. 
/Leslie

Wojciech Puchar <woj...@wojtek.tensor.gdynia.pl> skrev:> 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

0 new messages