Reply to topic

Cannot run programs when VPN starts

User avatar frazelle09
Registered Member

Cannot run programs when VPN starts

Thu Nov 23, 2017 9:07 pm
Whenever i start VPN from the Terminal as root i can no longer run any programs. All currently running programs still work, but i cannot use the Shutdown button nor any of the icons on the Panel nor in the Menu to start programs or shutdown the compu.

It seems that starting the VPN service somehow changes my ID and i no longer have access to an xterm. It appears to be related to the Magic-Cookies and i have extensively checked Google for Magic-Cookies and tried out several suggested solutions, none of which seem to work.

For example, running a program in Term returns this:

Code: Select all
[frazelle09@linux ~]$ krusader
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.

The situation does not resolve itself when i hit Ctl-C in the Term and stop the VPN. i need to use Ctl-Alt Backspace to get to the login Menu and from there i can shutdown the machine. i can also shut it down using the Term - if i don't forget and close it - by using the shutdown command or by using Krusader's command line area (i usually always have Krusader running).

Here is another error output from a command in Term:

Code: Select all
[root@linux frazelle09]# synaptic
Gtk-Message: Failed to load module "canberra-gtk-module"
Invalid MIT-MAGIC-COOKIE-1 key
(synaptic:17663): Gtk-WARNING **: cannot open display: :0

In addition i was looking things up in DuckDuckGo to find an answer and i ran across the idea that perhaps i'm logged in as another user now that VPN is running. My usual user is:

[frazelle09@localhost ~]
This is me as root and using VPN> [root@localhost frazelle09]#

Opening a new tab in Terminal, i am now

[frazelle09@linux ~]

and using "su" and password, i am now> [root@linux frazelle09]#

This appears to be a pretty difficult issue. My workaround is to make sure i have the programs open that i'm going to be using before starting VPN but obviously this is not really ideal - lol.

Have a wonderful afternoon! :)

"The earth is one country and mankind its citizens."
"La tierra es un sólo país y la humanidad sus ciudadanos."

Reply to topic


Who is online

Registered users: Baidu [Spider], Bing [Bot], brothermechanic, Exabot [Bot], Google [Bot], jbc1, tgot