You are not logged in.
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)
Arch is home!
https://github.com/Docbroke
Offline
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
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
Arch is home!
https://github.com/Docbroke
Offline
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
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.
Arch is home!
https://github.com/Docbroke
Offline
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.
Arch is home!
https://github.com/Docbroke
Offline
Sorry for above post, problem is not solved. After removing lightdm and rebooting, I am facing the same issue.
Arch is home!
https://github.com/Docbroke
Offline
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)
Arch is home!
https://github.com/Docbroke
Offline
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.
Arch is home!
https://github.com/Docbroke
Offline
You have forgotten to set your hostname
Offline
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.
Arch is home!
https://github.com/Docbroke
Offline
Glad to help, don't forget to mark your thread as solved by editing the title of your initial post
Offline