Thanks for the reply. If this is the mechanism then it must be indeed a bug.

dtlogin writes the file $HOME/.dt/sessions/lastsession
correctly. But on subsequent logins it disregards it.

I login to Mate. Check $HOME/.dt/sessions/lastsession and it says
/etc/dt/config/Xsession.mate
(without line termination)

I logout. Recheck from console and the file says the same
/etc/dt/config/Xsession.mate

Login again and I get CDE. The file lastsession switches to
/usr/dt/bin/Xsession

So the bug is that after I insert the user name dtlogin does not pick up
the last session from
$HOME/.dt/sessions/lastsession

A bug ticket should open for this.

Antonis.




Στις 16/02/2014 09:30 μμ, ο/η Richard L. Hamilton έγραψε:
> On my classic CDE (on Solaris), I see where it remembers the last session:
>
> $HOME/.dt/sessions/lastsession
>
> contains the path of the command that started the most recent session, i.e. 
> for CDE,
> /usr/dt/bin/Xsession
>
>
> There is no terminating newline in the file.
>
> It may be that the file also could be in a display-specific session 
> subdirectory of $HOME/.dt; at least, I have some of those, but they haven't 
> been touched in a long time.  Or maybe they're just artifacts of how I set up 
> the display-specific sessions (copied too much stuff?).
>
>
> On Feb 16, 2014, at 11:03 AM, Antonis Tsolomitis wrote:
>
>> Hi all.
>>
>> On my page about CDE
>> http://myria.math.aegean.gr/~atsol/newpage-en/software/cde/
>> <http://myria.math.aegean.gr/%7Eatsol/newpage-en/software/cde/>
>> I wrote information on how to add sessions to the CDE login manager.
>> Moreover I supply ready to use files
>> for adding Mate, Gnome and Kde desktops. I think this is useful at least
>> in a multiuser environment with people having different preferences
>> as well as for users who want to try CDE.
>>
>> I will add information about dtlogin and dtgreet in an internationalized
>> environment later.
>>
>> By the way, I found two bugs.
>>
>> Bug-a.
>> -----------
>> Shouldn't dtlogin remember users last session and use that? In my case
>> it doesn't. Even if my last session was MATE next time it logs me in CDE.
>> Or my scripts should do something more which I can not find in my
>> documentation.
>>
>> Bug-b.
>> -----------
>> There is a design issue when you add more sessions as above. Say you
>> have added Mate and Gnome Desktops.
>> If you first choose Mate Desktop and then you login no problem. But, if
>> you give the username first and then go to choose the desktop
>> then the sessions menu contains a huge block of blank space. In the
>> screenshots below you can see what I describe:
>>
>> screenshot of sessions menu before you give the user name
>> http://myria.math.aegean.gr/~atsol/newpage-en/software/cde/screenshots/dtlogin-bug/dtlogin-before-user.png
>> <http://myria.math.aegean.gr/%7Eatsol/newpage-en/software/cde/screenshots/dtlogin-bug/dtlogin-before-user.png>
>>
>>
>> screenshot of sessions menu after you give the user name
>> dtlogin-after-user.png
>> http://myria.math.aegean.gr/~atsol/newpage-en/software/cde/screenshots/dtlogin-bug/dtlogin-after-user.png
>> <http://myria.math.aegean.gr/%7Eatsol/newpage-en/software/cde/screenshots/dtlogin-bug/dtlogin-after-user.png>
>>
>> Some times the huge blank space appears vertically, bellow the entries,
>> and fills the whole height of the screen.
>>
>>
>> Antonis.
>>
>>
>> ------------------------------------------------------------------------------
>> Android apps run on BlackBerry 10
>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>> Get your Android app in front of a whole new audience.  Start now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> cdesktopenv-devel mailing list
>> cdesktopenv-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>>


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to