Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xfce4 tty7 session started twice
Date: Mon, 12 Mar 2012 23:36:28
Message-Id: 20120312233518.GE29967@syscon7.inet
In Reply to: [gentoo-user] xfce4 tty7 session started twice by Joseph
1 On 03/12/12 16:24, Joseph wrote:
2 >I'm using "slim" on both computers and it seems to me they both have the same configuration but on one of them "ck-list-sessions" is showing that tty7 is started twice.
3 >and it is using the sessiont with "active = FALSE" so my logout buttons are grayed out.
4 >
5 >ck-list-sessions
6 >Session4:
7 > unix-user = '1001'
8 > realname = '(null)'
9 > seat = 'Seat5'
10 > session-type = ''
11 > active = FALSE
12 > x11-display = ':0.0'
13 > x11-display-device = ''
14 > display-device = ''
15 > remote-host-name = ''
16 > is-local = TRUE
17 > on-since = '2012-03-12T14:37:26.739321Z'
18 > login-session-id = '23'
19 >Session7:
20 > unix-user = '1000'
21 > realname = '(null)'
22 > seat = 'Seat6'
23 > session-type = ''
24 > active = FALSE
25 > x11-display = ''
26 > x11-display-device = ''
27 > display-device = '/dev/ssh'
28 > remote-host-name = '192.168.141.8'
29 > is-local = FALSE
30 > on-since = '2012-03-12T15:29:14.176895Z'
31 > login-session-id = '24'
32 >Session5:
33 > unix-user = '1001'
34 > realname = '(null)'
35 > seat = 'Seat1'
36 > session-type = ''
37 > active = TRUE
38 > x11-display = ':0.0'
39 > x11-display-device = '/dev/tty7'
40 > display-device = ''
41 > remote-host-name = ''
42 > is-local = TRUE
43 > on-since = '2012-03-12T14:37:26.776626Z'
44 > login-session-id = '23'
45 >Session6:
46 > unix-user = '1001'
47 > realname = '(null)'
48 > seat = 'Seat1'
49 > session-type = ''
50 > active = FALSE
51 > x11-display = ':0.0'
52 > x11-display-device = '/dev/tty7'
53 > display-device = ''
54 > remote-host-name = ''
55 > is-local = TRUE
56 > on-since = '2012-03-12T14:37:26.910892Z'
57 > login-session-id = '23'
58 >
59 >My settings:
60 >
61 >cat /etc/conf.d/xdm
62 >DISPLAYMANAGER="slim"
63 >
64 >cat /etc/env.d/90xsession
65 >XSESSION="startxfce4"
66 >
67 >cat /etc/X11/Sessions/Xfce4
68 >startxfce4
69 >
70 >thelma $ cat .xinitrc
71 >exec ck-launch-session startxfce4
72 >
73 >Why is tty7 starting twice?
74 >
75 >--
76 >Joseph
77
78 "w" is showing me that user logged in to graphical user interface:
79 USER TTY LOGIN@ IDLE JCPU PCPU WHAT
80 fd :0.0 08:37 ?xdm? 30:00 0.02s ck-launch-session startxfce4
81
82 the above looks sliglty different from the system that is working normally on tty7
83 USER TTY LOGIN@ IDLE JCPU PCPU WHAT
84 fd :0.0 08:16 ?xdm? 8:59m 0.02s /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
85
86 --
87 Joseph