In latest Precise live system if I run any GUI command with sudo prefix, I get can not open display error message

2012-01-13 Thread Hammer Attila

Hy,

I doed only a minimal modified Precise based live CD based with current 
awailable daily live CD.
I only changed the default session with GNOME3 fallback session, 
installed the required dependencies and hungarian language related packages.
I booted the live CD with passed access=v3 parameter, the original boot 
logo I disabled.
The system launched correctly, but if in GNOME Terminal I run any 
command with sudo or gksu prefix, I get can not open display error message.

This is a known issue? Why happening this error in GNOME3 fallback session?
Already reported this issue in Launchpad?

Attila

--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: In latest Precise live system if I run any GUI command with sudo prefix, I get can not open display error message

2012-01-13 Thread Jeremy Lincicome

This happens in Unity as well.

Jeremy
On 01/13/2012 02:36 AM, Hammer Attila wrote:

Hy,

I doed only a minimal modified Precise based live CD based with current
awailable daily live CD.
I only changed the default session with GNOME3 fallback session,
installed the required dependencies and hungarian language related
packages.
I booted the live CD with passed access=v3 parameter, the original boot
logo I disabled.
The system launched correctly, but if in GNOME Terminal I run any
command with sudo or gksu prefix, I get can not open display error message.
This is a known issue? Why happening this error in GNOME3 fallback session?
Already reported this issue in Launchpad?

Attila




--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: In latest Precise live system if I run any GUI command with sudo prefix, I get can not open display error message

2012-01-13 Thread Hammer Attila

Hy,

Jeremy, thank you the confirmation for Unity too.
Rob, unfortunately su -c command suggestion doesn't help. After I change 
root password and run for example su -c gedit command, I get following 
error message the live CD:
EggSMClient-WARNING **: Failed to connect to the session manager: None 
of the authentication protocols specified are supported



** WARNING **: Could not connect to session bus
ubuntu@ubuntu:~$

Attila

--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: In latest Precise live system if I run any GUI command with sudo prefix, I get can not open display error message

2012-01-13 Thread Mackenzie Morgan
DON'T use sudo with GUI programs!
It can seriously screw up permissions on the user-specific files the
program needs to run. Please try again using the *correct* command:
gksudo

-- 
Mackenzie Morgan

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: In latest Precise live system if I run any GUI command with sudo prefix, I get can not open display error message

2012-01-13 Thread Hammer Attila

I tryed gksudo gedit command. Unfortunately I get following error message:
Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap,

Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap,

Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap,

Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap,
Cannot open display:
Run 'gedit --help' to see a full list of available command line options.
ubuntu@ubuntu:~$

I forgotted prewious not need using sudo command in terminal to Orca 
prowide a11y support the root privilege launched application, because 
at-spi2 already prowide a11y support with gksu or gksudo launched GUI 
applications.
Oldest GNOME 2.x based releases Orca only prowide a11y support if the 
GUI application need launching root privileges if used the sudo 
applicationname command in GNOME Terminal.


Attila

--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility