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

MATE desktop over VNC

1,998 views
Skip to first unread message

D.M. Procida

unread,
Dec 3, 2015, 8:10:37 PM12/3/15
to
startx launches the MATE desktop, now that I have installed and
configured it. However, if I launch a desktop environment by starting a
VNC session, it uses the default Raspian desktop.

What do I need to do to get the MATE desktop over VNC?

Daniele

I R A Darth Aggie

unread,
Dec 4, 2015, 4:35:36 PM12/4/15
to
On Fri, 4 Dec 2015 01:10:35 +0000,
D.M. Procida <real-not-anti...@apple-juice.co.uk>, in
It looks like you have to create a ~/.vnc/xstartup file, and in that
file you'll need this:

mate-session &

from http://community.linuxmint.com/tutorial/view/1188

They suggest a longer xstartup file:

---snip---
#!/bin/sh


# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
mate-session &
---snip---

Not sure how relevant that will be on a Pi.

--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.

D.M. Procida

unread,
Dec 4, 2015, 5:15:48 PM12/4/15
to
I R A Darth Aggie <n0b...@invalid.invalid> wrote:

> On Fri, 4 Dec 2015 01:10:35 +0000,
> D.M. Procida <real-not-anti...@apple-juice.co.uk>, in
> <1mevshj.cil76w1mteowiN%real-not-anti...@apple-juice.co.uk> wrote:
> > startx launches the MATE desktop, now that I have installed and
> > configured it. However, if I launch a desktop environment by starting a
> > VNC session, it uses the default Raspian desktop.
> >
> > What do I need to do to get the MATE desktop over VNC?

> It looks like you have to create a ~/.vnc/xstartup file, and in that
> file you'll need this:
>
> mate-session &

Thanks, that works. Why the "&"? It seems to work without too.

> from http://community.linuxmint.com/tutorial/view/1188

> # Uncomment the following two lines for normal desktop:
> # unset SESSION_MANAGER
> unset DBUS_SESSION_BUS_ADDRESS

What is meant by a "normal" desktop? As opposed to?

> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

I don't have either of those, or

> vncconfig -iconic &

and instead have:

> xrdb $HOME/.Xresources

plus a mysterious:

> #x-window-manager &
> # Fix to make GNOME work
> export XKL_XMODMAP_DISABLE=1

Daniele

Rob Morley

unread,
Dec 5, 2015, 1:33:01 AM12/5/15
to
On Fri, 4 Dec 2015 22:15:47 +0000
real-not-anti...@apple-juice.co.uk (D.M. Procida) wrote:

> I R A Darth Aggie <n0b...@invalid.invalid> wrote:
>
> > On Fri, 4 Dec 2015 01:10:35 +0000,
> > D.M. Procida <real-not-anti...@apple-juice.co.uk>, in
> > <1mevshj.cil76w1mteowiN%real-not-anti...@apple-juice.co.uk>
> > wrote:
> > > startx launches the MATE desktop, now that I have installed and
> > > configured it. However, if I launch a desktop environment by
> > > starting a VNC session, it uses the default Raspian desktop.
> > >
> > > What do I need to do to get the MATE desktop over VNC?
>
> > It looks like you have to create a ~/.vnc/xstartup file, and in that
> > file you'll need this:
> >
> > mate-session &
>
> Thanks, that works. Why the "&"? It seems to work without too.
>
Runs the command in the background so the shell can get on with the next
instruction in the startup script.


0 new messages