Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Root Terminal Can Be Launched Only Once During Session

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
tb75252
Posts: 61
Joined: 2010-10-09 00:27

Root Terminal Can Be Launched Only Once During Session

#1 Post by tb75252 »

I am using Debian 9, 64-bit.
I am able to launch Root Terminal only once per session. (Activities -> Show Applications -> Root Terminal)
If I launch it more than once, the icon appears in the top bar (to the right of Activities) but then it disappears.
This is of course not the end of the world as I can launch the standard Terminal utility as many times as I want and use "su -" or "sudo" to do whatever I need to do, nevertheless I'd be interested in solving the Root Terminal issue. I didn't have this problem with Debian 8.

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Root Terminal Can Be Launched Only Once During Session

#2 Post by Bulkley »

If by "Root Terminal" you mean that you click an icon and a terminal pops up already in root then I suspect that it is not exiting properly. Clicking the little x in the corner doesn't always do it. Sometimes there is something else running. When this happens try running

Code: Select all

ps a
to see if there are traces still running. If you find it you can kill it.

tb75252
Posts: 61
Joined: 2010-10-09 00:27

Re: Root Terminal Can Be Launched Only Once During Session

#3 Post by tb75252 »

Bulkley wrote:If by "Root Terminal" you mean that you click an icon and a terminal pops up already in root then I suspect that it is not exiting properly. Clicking the little x in the corner doesn't always do it. Sometimes there is something else running. When this happens try running

Code: Select all

ps a
to see if there are traces still running. If you find it you can kill it.
I always type "exit" to get out of Root Terminal. I never click on the X in the corner.

This is the output of "ps a":
  • $ ps a
    PID TTY STAT TIME COMMAND
    825 tty1 Ssl+ 0:00 /usr/lib/gdm3/gdm-wayland-session gnome-session --aut
    834 tty1 Sl+ 0:00 /usr/lib/gnome-session/gnome-session-binary --autosta
    846 tty1 Sl+ 0:05 /usr/bin/gnome-shell
    878 tty1 Sl+ 0:00 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4
    910 tty1 Sl+ 0:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
    954 tty2 Ssl+ 0:00 /usr/lib/gdm3/gdm-x-session --run-script default
    956 tty2 Sl+ 1:04 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1
    962 tty2 Sl+ 0:00 /usr/lib/gnome-session/gnome-session-binary
    1059 tty2 Sl+ 1:07 /usr/bin/gnome-shell
    1161 tty2 Sl+ 0:01 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
    1187 tty2 Sl+ 0:00 zeitgeist-datahub
    1191 tty2 SNl+ 0:00 /usr/lib/tracker/tracker-extract
    1192 tty2 SNl+ 0:00 /usr/lib/tracker/tracker-miner-fs
    1194 tty2 Sl+ 0:00 /usr/lib/gnome-settings-daemon/gsd-printer
    1200 tty2 Sl+ 0:00 /usr/lib/evolution/evolution-alarm-notify
    1202 tty2 Sl+ 0:03 /usr/bin/gnome-software --gapplication-service
    1206 tty2 SNl+ 0:00 /usr/lib/tracker/tracker-miner-user-guides
    1212 tty2 SNl+ 0:00 /usr/lib/tracker/tracker-miner-apps
    1992 pts/0 Ss 0:00 bash
    1997 pts/0 R+ 0:00 ps a
Which one is for Root Terminal?

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: Root Terminal Can Be Launched Only Once During Session

#4 Post by orythem27 »

1. Open the file manager and navigate to /usr/share/applications;
2. Find the icon "Root Terminal";
3. Right click the icon "Root Terminal" - open in text editor;
4. Note the command in the field "Exec=";
5. Launch "Root Terminal" once;
6. Launch a regular terminal, execute the command in (4.);
7. Watch the output.

tb75252
Posts: 61
Joined: 2010-10-09 00:27

Re: Root Terminal Can Be Launched Only Once During Session

#5 Post by tb75252 »

orythem27 wrote:1. Open the file manager and navigate to /usr/share/applications;
2. Find the icon "Root Terminal";
3. Right click the icon "Root Terminal" - open in text editor;
4. Note the command in the field "Exec=";
5. Launch "Root Terminal" once;
6. Launch a regular terminal, execute the command in (4.);
7. Watch the output.
This is what I get when I launch the command after "Exec=":
$ gksu /usr/bin/x-terminal-emulator
Gtk-Message: Failed to load module "canberra-gtk-module"
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process org.gnome.Terminal received signal 11

Post Reply