You are not logged in.

#1 2015-09-10 12:02:30

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

No new application opens after connecting mobile broadband - SOLVED

Hello!

I have newly installed arch on Dell latitude E6230, following beginner's guide. Arch is installed in UEFI mode using systemd boot. Network connection is managed by networkmanager and modemmanager. Everything works fine except when I connect mobile broadband using my Nokia 515 phone through USB, I cannot open any new applications. Apps which were opened before connecting the mobile broadband works fine. So if I have firefox open before connecting mobile broadband it works fine but if I have to open firefox after connecting mobile broadband it will not open. I cannot even open terminal, XFCE menu or file manager. Only solution is to disconnect the broadband, which works sometimes, or else reboot.

I am using XFCE desktop manager. I have similar configuration in my other HP laptop, and it works without any trouble. I tried to install LXDE, thinking that it may be a bug with XFCE but same problem recurred with LXDE.

I don't know what else to post, please ask if any information required to solve this problem. I couldn't find similar problem asked before hence this post.

Last edited by Docbroke (2015-09-11 07:15:35)

Offline

#2 2015-09-10 12:08:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: No new application opens after connecting mobile broadband - SOLVED

Open a terminal before connecting to the broadband and keep it open.  Then connect to the broadband connection and try to launch programs from the already-open terminal.  This will allow you to see what the error messages are and post them here.  You could try a few different programs this way to see if there is a common error in all of them.

I'd suggest starting with light/simple programs, not firefox: firefox is extremely verbose even when everything is working fine, so any relevant error message would be burried in a pile of normal output.  I'd suggest something like a gui text editor (e.g. leafpad/mousepad) as these are relatively quite under normal conditions.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-09-10 12:52:58

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

Thanks for reply,
I am getting same message when I try to open any application from terminal posting below,

[sharad@localhost ~]$ leafpad
Invalid MIT-MAGIC-COOKIE-1 keyleafpad: Cannot open display:
[sharad@localhost ~]$ mousepad
Invalid MIT-MAGIC-COOKIE-1 key
(mousepad:1705): Mousepad-ERROR **: Cannot open display:
Trace/breakpoint trap (core dumped)
[sharad@localhost ~]$ firefox

(process:1709): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Invalid MIT-MAGIC-COOKIE-1 keyError: cannot open display: :0.0

Offline

#4 2015-09-10 13:17:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: No new application opens after connecting mobile broadband - SOLVED

Odd, those errors seem to be associated with X11 forwarding - a topic with which I have no experience.  You are not trying to do any X11-forwarding are you?

Out of curiosity, can you post the output of the following two commands (from a terminal in X) right before and after connecting via the broadband:

echo $DISPLAY
loginctl

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-09-10 13:27:46

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

No, I am not doing any X11 forwarding.
I am getting same output of those commAnds before and after broadband connection, as posted below,

BEFORE

[sharad@localhost ~]$ echo $DISPLAY
:0.0
[sharad@localhost ~]$ loginctl
   SESSION        UID USER             SEAT           
        c1        620 lightdm          seat0           
        c2       1000 sharad           seat0           

2 sessions listed.

AFTER

[sharad@localhost ~]$ echo $DISPLAY
:0.0
[sharad@localhost ~]$ loginctl
   SESSION        UID USER             SEAT           
        c1        620 lightdm          seat0           
        c2       1000 sharad           seat0           

2 sessions listed.

Offline

#6 2015-09-10 13:47:36

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

I removed lightdm, and problem appears to be solved. Output after loginctl is changed as below,

[sharad@localhost ~]$ loginctl
   SESSION        UID USER             SEAT           
        c3       1000 sharad           seat0           
        c2       1000 sharad           seat0           

2 sessions listed.

Offline

#7 2015-09-10 13:53:07

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

Sorry for above post, problem is not solved. After removing lightdm and rebooting, I am facing the same issue.

Offline

#8 2015-09-10 13:55:59

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

Error output has changed after removing lightdm

[sharad@localhost ~]$ leafpad

(process:1249): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
No protocol specified
leafpad: Cannot open display:
[sharad@localhost ~]$ mousepad

(process:1250): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
No protocol specified

(mousepad:1250): Mousepad-ERROR **: Cannot open display:
Trace/breakpoint trap (core dumped)
[sharad@localhost ~]$ firefox

(process:1252): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:1252): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
No protocol specified
Error: cannot open display: :0.0
[sharad@localhost ~]$ thunar

(process:1255): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
No protocol specified
Thunar: Cannot open display:


OUTPUT AFTER SPECIFYING LOCALE

[sharad@localhost ~]$ env LANG=en_US.utf8 leafpad
No protocol specified
leafpad: Cannot open display:


IF THIS MEANS SOMETHING

[sharad@localhost ~]$ export $DISPLAY             
bash: export: `localhost:0.0': not a valid identifier

Last edited by Docbroke (2015-09-10 14:34:04)

Offline

#9 2015-09-10 14:51:31

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

When I changed TTY to tty2 using ctrl+alt+F2, applications opens on tty2, but it doesn't open on original tty1. However this makes life easier now.

Offline

#10 2015-09-10 14:56:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: No new application opens after connecting mobile broadband - SOLVED

You have forgotten to set your hostname

Offline

#11 2015-09-10 15:15:13

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,448

Re: No new application opens after connecting mobile broadband - SOLVED

Thanks V1del,
I set the hostname and looks like issue is solved. It's funny I didn't remember how I forgot to set hostname.

Offline

#12 2015-09-10 17:20:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: No new application opens after connecting mobile broadband - SOLVED

Glad to help, don't forget to mark your thread as solved by editing the title of your initial post

Offline

Board footer

Powered by FluxBB