PDA

View Full Version : /.xinitrc session management



bobbyallen9292
February 26th, 2014, 08:47 PM
I wolud like to be able to load a second virtual terminal using different gnome environments that i have installed without having to log-out and log-in using


startx gnome-session -- :1 vt8

using .xinitrc what would be the proper way to do this to load for example cairo dock.

this is what i have for my .xinitrc file


#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

exec gnome-session
exec startkde
exec startxfce4
exec wmaker
exec icewm
exec blackbox
exec fluxbox
exec openbox-session
# ...or the Window Manager of your choice
exec xterm

What are the arguements to use when using a session that uses gnome like cairo-dock to add to my .xinitrc