#1 Le 03/09/2013, à 14:00
- pti-jean
Pourquoi 2 users par défaut ???
Bonjour,
Je viens d'installer la Kubuntu 13.04 sur mon nouvel ordinateur...
J'ai installé GKrellm...
Pourquoi par défaut j'ai 2 utilisateurs de connectés ???
La commande who renvoi:
$ who
jean-marc tty7 2013-09-03 10:48 (:0)
jean-marc pts/0 2013-09-03 10:49 (:0)
jean-marc pts/1 2013-09-03 13:33 (:0)
pts/1 correspond au terminal dans lequel j’exécute la commande who...
Donc: pourquoi tty7 et pts/0 ???
pourquoi les 2 ???
JM
Hors ligne
#2 Le 03/09/2013, à 14:07
- pti-jean
Re : Pourquoi 2 users par défaut ???
ps ne voit pas pts/0:
$ ps -ef | grep -i tty
UID PID PPID C STIME TTY TIME CMD
root 1075 1 0 10:48 tty4 00:00:00 /sbin/getty -8 38400 tty4
root 1079 1 0 10:48 tty5 00:00:00 /sbin/getty -8 38400 tty5
root 1084 1 0 10:48 tty2 00:00:00 /sbin/getty -8 38400 tty2
root 1085 1 0 10:48 tty3 00:00:00 /sbin/getty -8 38400 tty3
root 1087 1 0 10:48 tty6 00:00:00 /sbin/getty -8 38400 tty6
root 1318 1185 2 10:48 tty7 00:05:32 /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
root 1333 1 0 10:48 tty1 00:00:00 /sbin/getty -8 38400 tty1
1000 7459 6443 0 14:04 pts/1 00:00:00 grep --color=auto -i tty
$
$
$ ps -ef | grep -i pts
1000 6443 6440 0 13:33 pts/1 00:00:00 /bin/bash
1000 7468 6443 0 14:05 pts/1 00:00:00 ps -ef
1000 7469 6443 0 14:05 pts/1 00:00:00 grep --color=auto -i pts
pourquoi ?
JM
Hors ligne
#3 Le 03/09/2013, à 14:07
- Haleth
Re : Pourquoi 2 users par défaut ???
tty7, c'est ton interface graphique
pts/0, c'est surement un autre terminal
Ubuntu is an ancien African word which means "I can't configure Debian"
Because accessor & mutator are against encapsulation (one of OOP principles), good OOP-programmers do not use them. Obviously, procedural-devs do not. In fact, only ugly-devs are still using them.
Hors ligne
#4 Le 03/09/2013, à 14:09
- pti-jean
Re : Pourquoi 2 users par défaut ???
Quel autre terminal ???
Comment le fermer ?
JM
Hors ligne
#5 Le 03/09/2013, à 14:10
- Haleth
Re : Pourquoi 2 users par défaut ???
Un terminal, c'est la petite fenêtre dans lequel tu tapes des trucs
Je ne sais pas ce qui se passe chez toi
Pour ma part:
3% [alex:~]who
alex tty7 2013-09-03 13:34 (:0)
alex pts/0 2013-09-03 14:09 (:0)
Peut-être un truc spécifique à ubuntu, va savoir;
Ubuntu is an ancien African word which means "I can't configure Debian"
Because accessor & mutator are against encapsulation (one of OOP principles), good OOP-programmers do not use them. Obviously, procedural-devs do not. In fact, only ugly-devs are still using them.
Hors ligne
#6 Le 03/09/2013, à 14:12
- pti-jean
Re : Pourquoi 2 users par défaut ???
Justement j'aimerai bien savoir ce qui ce passe... suis-je victime d'une porte dérobé ???
JM
Hors ligne
#7 Le 03/09/2013, à 14:13
- Haleth
Re : Pourquoi 2 users par défaut ???
Ca m'étonnerais;
Ubuntu is an ancien African word which means "I can't configure Debian"
Because accessor & mutator are against encapsulation (one of OOP principles), good OOP-programmers do not use them. Obviously, procedural-devs do not. In fact, only ugly-devs are still using them.
Hors ligne
#8 Le 03/09/2013, à 14:16
- pti-jean
Re : Pourquoi 2 users par défaut ???
y a quand-même un truc que je comprend pas !
JM
Hors ligne