General :: Error - Can't Open Display - For Xclock Or Gvim On Kubuntu Root Shell Konsole 1.6.6

Oct 8, 2009

I use kubuntu (8.04) which does not have a root account.

[sudo] password for ts:

However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.

Error: Can't open display: localhost:0.0

Press ENTER or type command to continue

View 2 Replies


ADVERTISEMENT

Ubuntu :: E233 - Cannot Open Display - When Starting Gvim On Root Shell

Aug 30, 2009

However, "E233: cannot open display" error appears when starting gvim on ubuntu 8.04root shell.

E233: cannot open display Press ENTER or type command to continue # kdesudo gvim /etc/fstab kdesudo: cannot connect to X server.

View 5 Replies View Related

Red Hat :: Xclock Error: Can't Open Display: <unknown Ip>:0.0?

Dec 26, 2010

I have this problem. Whenever I issue command below,

Code:
ssh -X user@hostA
xclock

[code]....

View 4 Replies View Related

General :: Shell Script To Source An Env File And Open A Kde Konsole Terminal

Jan 27, 2011

I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.

View 2 Replies View Related

Debian :: When Open Up Konsole And Type 'su' And My Root Password - Authentication Failure ?

Apr 8, 2010

My system software is installed on an encrypted LVM on hda1 and hda2. My home directory takes up the whole of hdb1 which is also encrypted. I can boot up into the kde desktop okay, but when I open up konsole and type 'su' and my root password I get the message "su: Authentication failure". I am absolutely certain that I am using the right password.

Even more strangely, if I fire up synaptic and give it that same password I am able to install software. Does anyone have any suggestions as to what's gone wrong and how I can fix it?

I can also type Ctrl-Alt-F2 and log in as root to do administrative tasks without any problems so I cannot understand why konsole has locked me out.

View 8 Replies View Related

General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies View Related

Ubuntu :: Kubuntu 9.10 Xrandr Can't Open Display And Low Resolution?

Feb 25, 2010

I just installed Kubuntu on my computer running win xp. I have had problems with the resolution because it only lets me set it at 800x600. I have read many of the post here and most of them tell your to use xrandr or xorg config. When i run the xrandr iI end up with a message saying can't open display and also when i try the xorg confing. I installed kubuntu using wubi.

View 3 Replies View Related

Ubuntu :: 10.04 Laptop Can't Display Remote Xclock

Jul 27, 2010

Hostname: Borg
OS: Lucid Lynx
Kernel: 2.6.32-24

Problem:

1. borg > xhost +
2. borg > ssh <anyuser>@<anyhost>
3. anyhost > export DISPLAY:<borg's IP>:0.0
4. xclock

NOTHING HAPPENS!!!! Any ideas? Here is what I have tried thus far.

Efforts:

1. gdmsetup - looked for security tab, doesn't exist

2. installed gdm2setup - still not there

3. looked for gdm.conf - not there

4. when doing ps -ef|grep X - there is a -nolisten tcp "could this be culprit" hmm not sure

5. modified /etc/ssh/ssh_config to Forward X

View 1 Replies View Related

OpenSUSE :: Root Trying To Open Flashplayer In KDE Getting Cannot Open Display

Feb 18, 2011

We have a digital signage appliance built on SUSE 11.3 with a LAMP server that uses the flashplayer application to play a .swf file from localhost. It is a AOpen GP7A mini pc that has the nVidia drivers loaded. We have lots of customers that have been running the exact same system for over 6 months (we image the drive for each sale).

For some reason, my last customer is seeing the following problem shown below, and this linux configuration is way over my head. Everything else is working (local LAMP server is working, communicating with our production servers to get information works, etc). I have verified that it is screen 0 that is running (at least it shows with Ctrl-Alt-F7). I thought that it may have occurred because of updating the software with zypper up. I had the customer rebuild from the image being careful not to upgrade the software. The result was the same. The pc is a newer version compared to my bench pc, but there are multiple other customers running that same version just fine. So I am not sure if it is

The command is issued by a php script that is run in a root cron job. As I said, it works great on all other customer pc's including my bench system. I also tried to execute the command on a ssh terminal as the root user with the same result. I also upgraded my bench pc and it still worked properly.

The command being executed is sudo env DISPLAY=:0 XAUTHORITY=/home/svision/.Xauthority flashplayer http://localhost/flash/sign.swf &

the result (when run in terminal) is: No protocol specified (flashplayer:15077): Gtk-WARNING **: cannot open display: :0

View 2 Replies View Related

Ubuntu :: Lucid - Cannot Display Xclock On Remote Machine

Jul 23, 2010

I'm having trouble displaying Xwindows programs on a remote machine. If I run "ssh -X newmachine" and I login and then run a program like xclock, I get the error message:
Error: Can't open display: localhost:10.0

If I run the same command to an anothermachine which is running Ubuntu 8.04 it works fine and xclock displays on my localmachine. If I run the command "echo $DISPLAY" on newmachine, I see:
localhost:10.0

Also, I have checked and xauth is installed on newmachine. What setting I have to change on Ubuntu 10.04 to allow remote display of Xwindows programs?

View 4 Replies View Related

General :: Error: Can't Open Display: Hostnmae:0.0

Feb 17, 2010

I have installed RHEL 4.6. But X server is not running. Wen i executed xclock Error: Can't open display: hostnmae:0.0

View 4 Replies View Related

General :: /usr/bin/xterm Xt Error - Can't Open Display - %s

Oct 25, 2010

/usr/bin/xterm Xt error: Can't open display: %s

I tried to connect to remote server ,which is installed Centos 5.4 x86, through Xmanager on windows 7, and got this error.

Quote:

/usr/bin/xterm Xt error: Can't open display: %s

At the remote server, I turned on firewall and after this I got the above-mentioned error message.
I do this accrding to instruction on remote server.

Quote:

2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
After adding these ports "/etc/sysconfig/iptable" as the enoder mentioned, /etc/init.d/iptables restart

3. Reboot the remote host and start Xmanager <- I could not restart remote server.

View 14 Replies View Related

Software :: Xclock Running From Start Script Doesn't Display Correctly?

Feb 21, 2011

I recently dist-upgraded from Debian 5 to 6 (squeeze). Since then, the xclock I run from my window manager's start script isn't displaying correctly (it displays only a "0"). The thing is, if I run the same command in my start script in my terminal, it works just fine, as it has always done...

I use this rather "old" X applications because I like my programs simple/not buggy/fast, and it's resulting a rather annoying problem (being that apparently nobody else has it...).
All other programs in my start script (gnome-terminal, emacs, xmodmap, etc) are working with no problems whatsoever.

My window manager: sawfish

Command to run xclock in my start script:

Code:
xclock -digital -brief -geometry -0+0
Attached picture:
Top: xclock initialized by start script
Bottom: xclock initialized by terminal

View 2 Replies View Related

Software :: Get The 'bash' Or 'csh' Shell From Within Gvim?

Apr 8, 2010

I use ":!shell_command<enter>" OR ":sh<enter>" in gvim to execute shell commands or to get a shell. But I am getting an 'sh' shell. Is there a way to get the 'bash' or 'csh' shell from within gvim?

View 1 Replies View Related

General :: X11 Forwarding Failed - Error: Can't Open Display: MAC_ip:0.0

Mar 31, 2011

I also had ever tried all methods they mentioned, but my problem is still there. I am using a MAC OS X 10.6 ssh a remote redhat server. I hope to see X of redhat on my own MAC. Below is what I've done: 'MAC_ip' stands for my mac; 'redhat_ip' stands for redhat server.

1) ssh to redhat server
2) change to root
3) type command: DISPLAY=MAC_ip:0.0
4) type command: export
5) Back to MAC
6) change to root
7) type command: xhost +Redhat_ip
8) vim /etc/ssh_config, add X11Forwarding yes
9) Back to redhat, type: xclock

I got below message: Error: Can't open display: MAC_ip:0.0 I also tried some methods to login as others suggested:

[Code]....

View 10 Replies View Related

General :: Configure KDE Konsole To Open New Shells On A Different Machine?

Mar 11, 2010

How to configure the KDE Konsole that when I press on a "new tab" button, the new shell would open on another machine (thorugh ssh), and not on the current one?

View 1 Replies View Related

OpenSUSE :: Using Gedit As Root: Gtk-WARNING **: Cannot Open Display

Jan 23, 2011

I've been searching for a permanent solution for some time now, but the threads containing the same error message never seem to be about the same issue.I want to:I'm not trying anything fancy, all I want to do is open a write-protected file with gedit as root, like so:

Code:

# sudo gedit /usr/bin/deadbeef

..but every time I try, no matter the file, I get this error message:

Code:

(gedit: [process #] ): Gtk-WARNING **: cannot open display

I already know: I can circumvent this by going:

Code:

# xhost +local:root
# sudo su
# export DISPLAY=:0.0

[code].....

View 6 Replies View Related

Ubuntu Installation :: Upgrade To 10.10 Root Can't Open Display

Oct 12, 2010

I just upgraded from 10.04 to 10.10.After the upgrade I can't open any GUI programs running as root.

Or using gksu I just get the password prompt and then nothing happens.Same thing if running from the System->Administration menu.This is the same for all programs, not just Synaptic.Any idea of how I can debug this issue?

View 9 Replies View Related

Debian Multimedia :: Skype Starting Every Time When Open Interactive Root Shell

Jan 20, 2015

I recently "upgraded" to the latest skype and now every time I open an interactive root shell, up pops skype. I can close skype then control-C in the terminal window to get the shell I want, but this is annoying to say the least. Maybe my google-foo is off, but all I can find is articles on how to run skype as root, which is no use. I've tried searching the startup files for "skype" (case independant), but so far all I can find is "LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype" in the root .bashrc which shouldn't be starting the app.

what could be causing this?

(Running Wheezy)

View 2 Replies View Related

Ubuntu :: Open Files In Gvim In Tabs?

Jun 10, 2010

Is it possible to open text files in gvim in tabs not opening anothe rgvim window for every text file? Just like it is done in gedit: open a file the open another file and it opens in a tab.

View 2 Replies View Related

General :: Get An "cannot Open Display" Error Foe Gnome-session?

Dec 13, 2010

When I open startx it works fine bur I get an "cannot open display" error foe gnome-session. I already tried export DISPLAY=:0. ANY suggestions?

View 4 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

General :: Save Display Settings In Kubuntu 10.4?

May 16, 2010

When I change the display resolution and refresh rate in system settings, those values will be reset to default every time I restart the computer. Is there a way to save the values, so that I don't have to change them again every time? I use Kubuntu 10.4. Another problem I have is that when I choose Leave / Sleep (Suspend to RAM), the computer will sometimes be locked, so that it never wakes up again. I can hear when this occurs, because then the cooling fan(s) will stay on. Normally, when Sleep works, the fans are turned off, because the computer goes into energy saving mode. i noticed the occasional sleep problem already in Kubuntu 9.10.

View 2 Replies View Related

Red Hat / Fedora :: Error: Can't Open Display

Aug 14, 2010

i have just installed a redhat linux entprise 5 on my machine. I am trying to install a software and when i run the #install.ksf , my installation gets aborted and my install.log file shows this,

Error: Can't open display !
Environment variable 'DISPLAY' must be defined.

View 2 Replies View Related

Software :: Error: Can't Open Display

Nov 22, 2010

i just downloaded Nethack from [URl], and moved the extracted files to /usr/games. Then i changed the permissions in /usr/games/lib/nethackdir so i could access the lib files.

Nethacks runs in X, and it runs in terminal when im root. But for some strange reason it does not run in CLI when im not root, i get the message "Error: Can't open display:".

View 12 Replies View Related

Slackware :: Cannot Open X Display `:0.0' Error?

Jan 14, 2010

When trying to run X apps from terminal command line I getCannot open X display `:0.0'error.I tried export DISPLAY=0.0What do I need to do to permently fix this problem?

View 1 Replies View Related

OpenSUSE :: SSH / X11 On 11.3 - Error: Can't Open Display: Localhost:10.0

Sep 25, 2010

I was trying to remotely log in to my desktop which uses 11.3 from my laptop via ssh. For some reason I get an empty field for the command echo $DISPLAY. and as a result an xclock command results in error: can't open display. I tried to set it to localhost:10.0 and I get: Error: Can't open display: localhost:10.0

I've tried :0.0 and I get: Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :0.0 ssh used to work about a week ago before I performed various security updates. I was wondering what' the solution to this. I checked the /etc/ssh/sshd_config file and ssh_config file both have X11 forwarding on. Can anyone with more experience out there give me any ideas?

View 9 Replies View Related

SUSE :: Error: Can't Open Display: Localhost:10.0

Apr 6, 2010

When I attempt to use Putty for xterm (to run DBCA for Oracle) I check x11 and put my IP Address in the Display field of putty. However, when I then try to execute ./dbca I receive the following:

Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can't open display: localhost:10.0

I notice the following when logging in to the server as well.

Last login: Fri Mar 19 13:51:19 2010 from 10.47.48.33 /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority. These are the same steps I take successfully on all the servers. The above file exists on the servers I can initiate the GUI, but not on <server1>.

View 5 Replies View Related

Fedora :: Get Root Privilages At The Konsole?

Feb 4, 2010

how to get root privilages at the konsole? If I type sudo - i get an error that i'm not in the sudo file.

View 8 Replies View Related

OpenSUSE :: How To Run Application As Root Without Using Konsole

Mar 22, 2010

How do I run application as root, without using Konsole?Sometimes I wish to start task manager on system level, but I dont want to use console. I wish to know how, from KDE4 logged as user, run app as root.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved