Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: tty 2 question

  1. #21
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: tty 2 question

    was you prompted for a password? If yes use Key Combo (Ctrl Alt F2) now and then another combo of (Alt F7)

    Code:
    last
    me       tty7         :0               Thu May 16 12:27   still logged in
    reboot   system boot  6.8.9-arch1-2    Thu May 16 12:26   still running
    me       tty7         :0               Thu May 16 11:59 - 12:26  (00:26)
    reboot   system boot  6.8.9-arch1-2    Thu May 16 11:59 - 12:26  (00:26)
    me       tty7         :0               Thu May 16 07:11 - 11:57  (04:46)
    reboot   system boot  6.8.9-arch1-2    Thu May 16 07:11 - 11:57  (04:46)
    me       tty7         :0               Wed May 15 08:04 - 11:34  (03:30)
    Last edited by #&thj^%; May 16th, 2024 at 09:21 PM.

  2. #22
    Join Date
    Mar 2019
    Beans
    249

    Re: tty 2 question

    I entered Key Combo (Ctrl Alt F2) now and then another combo of (Alt F7) but nothing happens. No window opens up.

    My password did not work on the second command and the key combinations, as mentioned in post #1, also don't work
    Last edited by bhubunt; May 16th, 2024 at 09:30 PM.

  3. #23
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: tty 2 question

    paste back the return for:
    Code:
    gnome-session --debug

  4. #24
    Join Date
    Mar 2019
    Beans
    249

    Re: tty 2 question

    Quote Originally Posted by 1fallen View Post
    paste back the return for:
    Code:
    gnome-session --debug

    Code:
     gnome-session-binary[8575]: DEBUG(+): Enabling debugging
    gnome-session-binary[8575]: GLib-GIO-DEBUG(+): _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’

  5. #25
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: tty 2 question

    Something is a foul, Please Note the difference with mine and yours.
    Mine from Morning Boot, my sessions are as follows:
    Code:
    └─> tty
    /dev/pts/0
    ┌───────────────────>
    │~ 
    └─> ps -H -t /dev/tty2  ###This is when I switched to a tty2
        PID TTY          TIME CMD
     120484 tty2     00:00:00 agetty
    ┌───────────────────>
    │~ 
    └─> systemctl stop getty@tty2.service  ### Now I stop it from a tty3 session
    ┌───────────────────>
    │~ 
    └─> ps -H -t /dev/tty2
        PID TTY          TIME CMD
    I left notes in the code box to reference.
    Code:
    me       tty3                          Thu May 16 14:42   still logged in
    me       tty7         :0               Thu May 16 12:27   still logged in
    Last edited by #&thj^%; May 16th, 2024 at 09:56 PM.

  6. #26
    Join Date
    Mar 2019
    Beans
    249

    Re: tty 2 question

    Thanks for confirming that something is a foul. Now what do we do next? Is there a solution?





    Quote Originally Posted by 1fallen View Post
    Something is a foul, Please Note the difference with mine and yours.
    Mine from Morning Boot, my sessions are as follows:
    Code:
    └─> tty
    /dev/pts/0
    ┌───────────────────>
    │~ 
    └─> ps -H -t /dev/tty2  ###This is when I switched to a tty2
        PID TTY          TIME CMD
     120484 tty2     00:00:00 agetty
    ┌───────────────────>
    │~ 
    └─> systemctl stop getty@tty2.service  ### Now I stop it from a tty3 session
    ┌───────────────────>
    │~ 
    └─> ps -H -t /dev/tty2
        PID TTY          TIME CMD
    I left notes in the code box to reference.
    Last edited by bhubunt; May 16th, 2024 at 10:00 PM.

  7. #27
    Join Date
    Mar 2019
    Beans
    249

    Re: tty 2 question

    I am signing off for the night now. Back tomorrow, Friday.

  8. #28
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: tty 2 question

    Ok I get what is happening here, I was incomplete on my instruction's
    To terminate the tty2 session you have to go to a tty3 session first.
    (Ctrl Alt F3)
    Now we can try again to get rid of that tty2 session:
    Code:
    systemctl stop getty@tty2.service
    While still in the tty3 session show me:
    Code:
    last

  9. #29
    Join Date
    Mar 2019
    Beans
    249

    Re: tty 2 question

    You were not incomplete in your instructions.

    The problem is that I am locked in a tty2 session and that I can't move to another session.

    The physical key combinations to move in and out of ttys or between ttys are blocked too. (the 3 keys work fine in other situations, but the tty combination of the 3 keys is blocked). I can't get into a tty3 and I can't terminate ttys by crtl alt f1 on this personal Lenovo laptop, which is hooked up to the internet via a commercial modem (no personal server) that I have been using for years.

    I think your first guess that "something is a foul" was on the mark.

    Is there other code to check what is going on?

    I get the feeling that I am not in control of this tty feature on my personal laptop of which I am the sole user.

    So is there a way in which we can check if I do not have the necessary privileges to navigate out of a tty?

    What are the command lines to do such checks for (limited) privileges for ttys?



    Quote Originally Posted by 1fallen View Post
    Ok I get what is happening here, I was incomplete on my instruction's
    To terminate the tty2 session you have to go to a tty3 session first.
    (Ctrl Alt F3)
    Now we can try again to get rid of that tty2 session:
    Code:
    systemctl stop getty@tty2.service
    While still in the tty3 session show me:
    Code:
    last

  10. #30
    Join Date
    May 2008
    Beans
    4,324
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: tty 2 question

    Quote Originally Posted by bhubunt View Post
    I can't get into a tty3 and I can't terminate ttys by crtl alt f1 on this personal Lenovo laptop
    Some Lenovo laptops also need the Fn key for certain keyboard shortcuts.
    For example, to move the cursor to the end of a line of text, use Fn End simultaneously

    As you are using Ubuntu 22.04:-
    To access tty3, try Ctrl Alt Fn F3
    Return to desktop Ctrl Alt Fn F2

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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