12-06-2010
Xsun and Xsession
How can an Xsession have a later Start Time than the Xsun Start Time
9 More Discussions You Might Find Interesting
1. Solaris
How can I restart the X window server on my solaris server without rebotting the server? (1 Reply)
Discussion started by: krishan
1 Replies
2. Solaris
Hello,
I have a Sun workstation which is running Solaris 8, I am having trouble with Xsun's CPU usage. It seems after using a CAD application for a little while it gets slower and freezes. I have had a look with Top and it appears Xsun is taking alll the juice. I have rebooted and this worked at... (3 Replies)
Discussion started by: Mr Pink
3 Replies
3. Solaris
I am unable to launch Xsession from my windows desktop to Sun Solairs 10 OS, its giving xdmcp error. Please guide me what changes I need to do in Solaris.
Thanks (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
4. AIX
I am trying to set up my Xsession to run on an AIX server calling it from the command line when I telnet to it. I can access the X-window using exceed but not from issueing the Xsession command from a simple telnet or SSH session. Is it possible to have AIX open the Xwindow when called from a... (0 Replies)
Discussion started by: daveisme
0 Replies
5. Solaris
Hey folks, I wish every one is just great. I got to do this:
I'm trying to configure my Solaris 10 clients to Automatically Show the login windows of the Main Server whenever the Client restarts or a user logs out.
By other means, the Client user don't have to Go to Options->Remote-Login->... (5 Replies)
Discussion started by: ua-agent
5 Replies
6. Solaris
Upgrading from Solaris 8 to Solaris 10 on 40+ workstations -- desktop Unix Sparc systems of various ilk: Netra T1, Sunblade-100, Sunfire. Many of these systems are not meant for the desktop, but we've installed TSI cards like GFX-400, GFX-200 series cards for multi-head operation. This is the... (0 Replies)
Discussion started by: paz9
0 Replies
7. Solaris
I am aware that Xsession gets started as part of the user login. But I see that the Xsession that is started at login, goes away and a new one is started at a later time. Does anyone know how this can happen? It seems that a fbconsole process also get started at the same time. (1 Reply)
Discussion started by: amp4cats
1 Replies
8. AIX
I am attempting to run Xsession as a non root user and it fails. If I start exceed log into the server as roots via putty ssh with X11 forwarding on I can startX run xclock, but when I su - user and export DISPLAY=client IP:0 then attempt to startx, xclock it hangs for a minute and I receive the... (1 Reply)
Discussion started by: daveisme
1 Replies
9. UNIX for Advanced & Expert Users
Can someone please tell me how to run xsession startup scripts whenever I start or after I restart my X session? I'm not trying to do anything fancy I just want this to run. This makes life a lot easier when I use a dual monitor.
xrandr --output VGA1 --mode 1024x768 --rate 60 (7 Replies)
Discussion started by: cokedude
7 Replies
LEARN ABOUT SUSE
time::seconds
Time::Seconds(3pm) Perl Programmers Reference Guide Time::Seconds(3pm)
NAME
Time::Seconds - a simple API to convert seconds to other date values
SYNOPSIS
use Time::Piece;
use Time::Seconds;
my $t = localtime;
$t += ONE_DAY;
my $t2 = localtime;
my $s = $t - $t2;
print "Difference is: ", $s->days, "
";
DESCRIPTION
This module is part of the Time::Piece distribution. It allows the user to find out the number of minutes, hours, days, weeks or years in a
given number of seconds. It is returned by Time::Piece when you delta two Time::Piece objects.
Time::Seconds also exports the following constants:
ONE_DAY
ONE_WEEK
ONE_HOUR
ONE_MINUTE
ONE_MONTH
ONE_YEAR
ONE_FINANCIAL_MONTH
LEAP_YEAR
NON_LEAP_YEAR
Since perl does not (yet?) support constant objects, these constants are in seconds only, so you cannot, for example, do this: "print
ONE_WEEK->minutes;"
METHODS
The following methods are available:
my $val = Time::Seconds->new(SECONDS)
$val->seconds;
$val->minutes;
$val->hours;
$val->days;
$val->weeks;
$val->months;
$val->financial_months; # 30 days
$val->years;
The methods make the assumption that there are 24 hours in a day, 7 days in a week, 365.24225 days in a year and 12 months in a year.
(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)
AUTHOR
Matt Sergeant, matt@sergeant.org
Tobias Brox, tobiasb@tobiasb.funcom.com
BalieXXzs SzabieXX (dLux), dlux@kapu.hu
LICENSE
Please see Time::Piece for the license.
Bugs
Currently the methods aren't as efficient as they could be, for reasons of clarity. This is probably a bad idea.
perl v5.12.1 2010-04-26 Time::Seconds(3pm)