vnc xstartup for MATE desktop

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

vnc xstartup for MATE desktop

Post by madwoollything » Mon Apr 09, 2012 1:00 pm

I'm trying to find an xstartup configuration file that will work with the MATE desktop.
Has anyone managed to do this?

gutclusters
Level 1
Level 1
Posts: 8
Joined: Thu May 31, 2012 3:20 am

Re: vnc xstartup for MATE desktop

Post by gutclusters » Thu May 31, 2012 3:23 am

Code: Select all

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#. /etc/X11/xinit/xinitrc
/usr/bin/mate-session

[ -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" &
x-window-manager &

madwoollything
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Re: vnc xstartup for MATE desktop

Post by madwoollything » Thu May 31, 2012 9:29 am

gutclusters wrote:

Code: Select all

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#. /etc/X11/xinit/xinitrc
/usr/bin/mate-session

[ -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" &
x-window-manager &
Many thanks

c93213
Level 1
Level 1
Posts: 1
Joined: Sat Jun 02, 2012 12:47 pm

Re: vnc xstartup for MATE desktop

Post by c93213 » Sat Jun 02, 2012 12:51 pm

this is what seems to work for me. I see a lot of ref about unset SESSION_MANAGER, but I don't see any difference leaving it or excluding it. I'm using vnc4server and I start it as: vncserver :1 (normal user).


#!/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 &

Post Reply

Return to “Software & Applications”