[Bug 913000] New: launching kwrite from terminal gives cannot connect to X server
http://bugzilla.opensuse.org/show_bug.cgi?id=913000 Bug ID: 913000 Summary: launching kwrite from terminal gives cannot connect to X server Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: illumilore@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 Firefox/31.0 Build Identifier: When logging into a terminal as root, then typing in kwrite, it gives the error "kwrite: cannot connect to X server" instead of launching the kwrite program Reproducible: Always -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=913000 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nrickert@ameritech.net --- Comment #1 from Neil Rickert <nrickert@ameritech.net> --- It works for me. It depends on how you got your root terminal. If you used "sudo", then "$DISPLAY" is not present in the root session so you cannot start X applications. If you use "su -", then $DISPLAY should be suitably defined. In KDE, if I open "superuser terminal" from the menu, then "$DISPLAY" is defined. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=913000 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- I agree, that this might the intended behaviour. You can use as a workaround: export DISPLAY=:0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=913000 --- Comment #3 from ill lume <illumilore@gmail.com> --- I was using sudo. I googled for the answer and tried export display, after trying that I "No protocol specified kwrite: cannot connect to X server :0" It does work from su -. I was never able to find any documentation about that. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com