startx -- :x

Frantisek Hanzlik franta at hanzlici.cz
Tue Mar 5 12:39:25 UTC 2013


Patrick Dupre wrote:
> Quoting mar, 05 mar 2013 Frantisek Hanzlik <franta at hanzlici.cz>:
> 
>> Patrick Dupre wrote:
>>> Hello,
>>>
>>> It looks like that the command:
>>> startx -- :1
>>> does not works any more.
>>>
>>> It was very convenient to open 2 X sessions.
>>>
>>> Thank for your help.
>>
>>
>> Tried You before this command set appropriate DE?
>> (e.g. switchdesk xfce)
>>
> Good idea,
> 
> I tried: switchdesk lxde
> But it does not work.

Aha, switchdesk seems not know lxde. Then create ~/.Xclients-default
with "WM="startlxde". (I now tried it with "switchdesk xfce" and then
editing ~/.Xclients-default and this work. My "~/.Xclients-default":

#! /bin/bash
# (c) 2000-2004 Red Hat, Inc.

WM="startlxde"
WMPATH="/usr/bin /usr/X11R6/bin /usr/local/bin"

for p in $WMPATH ; do
	[ -x $p/$WM ] && exec $p/$WM
done

exit 1



More information about the users mailing list