Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: 'who' command output and X logins

  1. #1

    Default 'who' command output and X logins

    Hello,

    Does anybody know if with OpenSUSE 11.2 something changed in the way the users are logged in to X? I am running an application which uses notify-send command to send pop ups and it is not working properly, but it works in OpenSUSE 11.1, 11.0, 10.x, The same goes for SLED and SLES, all versions.

    This is what I have found so far. Before the 'who' output was

    Code:
    $ foo@bar:~/Desktop> who
    foo      :0           2010-01-26 14:40
    foo      pts/0        2010-02-06 13:28 (:0.0)
    Now it's

    Code:
    $ foo@bar:~/Desktop> who
    foo      tty7         2010-01-26 14:40 (:0)
    foo      pts/0        2010-02-06 13:28 (:0.0)
    Note that if I login with root everything is like it was before. Has something changed? Is there a way to change this like it was before?

    Any help would be really appreciated.

    TIA
    Has something changed?

  2. #2

    Default Re: 'who' command output and X logins

    The command and arguments which start the X server are in the file /usr/share/kde4/config/kdm/kdmrc (for kdm) and in /etc/X11/xdm/Xservers (for xdm).
    If you boot in runlevel 3 and start X with startx, does 'who' output look different?

  3. #3

    Default Re: 'who' command output and X logins

    Thanks for your reply. I am using gdm, I will try to find the command and arguments which start X server.

    I booted in runlevel 3, login with my username, and typed 'startx'. The 'who' output does look different, but not like the way I was hoping/expecting:

    Code:
    $ foo@bar:~/Desktop> who
    foo      tty1         2010-02-09 13:35
    foo      pts/0        2010-02-09 13:35 (:0.0)
    Needless to say, popups are still not appearing.

  4. #4

    Default Re: 'who' command output and X logins

    Try to boot in runlevel 3 and start 'kdm' instead of 'startx'.
    Works with 'gdm' too (I just tried).

  5. #5

    Default Re: 'who' command output and X logins

    Tried, this is what I get:

    Code:
    root     tty1         Feb  9 14:16
    foo      tty7         Feb  9 14:16 (:0)
    foo      pts/0        Feb  9 14:17 (:0.0)
    Still no progress though...

  6. #6

    Default Re: 'who' command output and X logins

    I am looking at the /etc/gdm directory, they must have changed some parameter in the gdm startup script...

  7. #7

    Default Re: 'who' command output and X logins

    There is not much to edit in the new gdm version.
    But when I start either kdm or gdm, I get what you want.

    Code:
    root tty1  Feb 9 01:34
    foo :0     Feb 9 04:56
    foo  pts/0 Feb 9 04:56 (:0.0)

  8. #8

    Default Re: 'who' command output and X logins

    Indeed there aren't many changes. I have even copied the whole directory from an OpenSUSE 11.1 installation, but I cannot manage to make it works. This is really weird.

  9. #9

    Default Re: 'who' command output and X logins

    Just out of curiosity, are you running the 64 bit or the 32 bit version?

  10. #10

    Default Re: 'who' command output and X logins

    This output is from a 32 bit version. But if you give me 5 minutes, I can reboot a 64 bit machine and start gdm. However I set up pretty much everything and run the same install on both.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •