Ubuntu Servers :: GTK Warning - Cannot Open Display
Apr 8, 2010
I am still learning the ropes on Ubuntu server. I am trying to set up samba, but when I use the "gedit" command, I get this error:
GTK-WARNING **: cannot open display
I had installed the gedit command by using apt-get and aptitude, but still no luck. I am using virtualbox to test Ubuntu Server 9.10.
View 3 Replies
ADVERTISEMENT
Jan 13, 2010
When I become root and try to run gedit, I get the error:
No protocol specified
(gedit:219: Gtk-WARNING **: cannot open display: :0.0
This does not happen from my user profile....xhost + actually solves the issue....so I guess I just need to add the host root to the list of hosts allowed to access the x server...
I try xhost +root......but that does not work....
View 6 Replies
View Related
Dec 27, 2010
I need to get gksu to run programs. The goal is to be logged in as user1 and run firefox or google-chrome with user2 's settings stored in their own home directory. I'm trying the following with no success:
Code:
user1@hostname:~$ su user2
Password:
user2@hostname:/home/user1$ google-chrome
No protocol specified
(google-chrome:17144): Gtk-WARNING **: cannot open display: :2.0
Code:
user2@hostname:/home/user1$ firefox
No protocol specified
No protocol specified
Error: cannot open display: :2.0
Code:
user2@hostname:/home/user1$ gedit
No protocol specified
(gedit:17162): Gtk-WARNING **: cannot open display: :2.0
View 1 Replies
View Related
Jan 30, 2011
I was running Ubuntu 10.10 Maverick with no big problems till last 3 days ago.
The update manager checked some updates to install and after installing them, I had no graphic desktop any more. Only the command line.
I tried to recover it by starting the X again.
Code:
But did not worked
So I've tried to install the nVidia driver again. I looked at nVidia Linux drivers site for how to do it and Ubuntu documentation and when I tried to
Code:
I just could not use gedit. It cannot open display. I googled for three days but could not solve it. I found some similar answers here at LQ but none was similar to my situation or worked even when I tried.
View 7 Replies
View Related
Feb 7, 2011
Just finnished a fresh install of Squeeze. In a console, as root, when i type gedit i get: # gedit No protocol specified
(gedit:24284): Gtk-WARNING **: cannot open display: :0.0
View 3 Replies
View Related
May 29, 2011
For example, the gparted application menu item doesn't work; using it means that there is almost no filesystem support. The only way to get it to work is to open a terminal, run 'su -', and then open it from there.As another example, I tried creating a nautilus script to open files as root with a command like this:
Code:
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnomesu -c "gnome-open '$uri'"
done
When I try using it, it just fails. Typing out the command in the terminal gives this (tested on a text file):
Code:
No protocol specified
(gedit:13672): Gtk-WARNING **: cannot open display: :0
I'm pretty sure the problem is that it's granting privileges, but not using the full root environment, or something along those lines.
View 2 Replies
View Related
May 12, 2010
Im trying to access gparted, i get an error
Quote:
(gpartedbin:4918): Gtk-WARNING **: cannot open display:
I am connect via vnc if this helps.
View 7 Replies
View Related
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
Jan 26, 2009
I'm trying to install Fedora10 on my new desktop. It has Windows 7 beta on it and Vista. It starts up fine and I select install. For some reason my wired usb keyboard will not respond unless I press the caps lock button while it loads the begging. (I don't know if another button will work, ive only used the caps button since i can see the light come on) once it loads i skip the disk check and anaconda runs, i get the warning (mini-wm:1462): Gtk-WARNING **: cannot open display: :1 .
View 1 Replies
View Related
Apr 27, 2010
I am using SLES 10 SP3(x86_64). I was trying to install gtk/wxwidget through yast.
After that i rebooted my system, now system is failing to load in GUI mode.
If i can give the log of last few lines are as follows
Then it asks for login, only shell is available for me. How to login to gui mode..
I tried using the command gnome-session it gives error (gnome-session: 4101): Gtk-Warning **: cannot open display:
Also i tried using init 5, but again it prompts the my servername.
View 1 Replies
View Related
May 4, 2010
Gnome Forum have told me that changing the appearance of gdm I run: sudo -u gdm dbus-launch gnome-appearance-properties but I get this error: (Gnome-properties-Appearance: 18 047): Gtk-WARNING **: can not open display:
View 3 Replies
View Related
Jan 12, 2010
I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
View 3 Replies
View Related
Feb 8, 2010
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
View 9 Replies
View Related
Sep 18, 2010
trying to set up a very minimal X on my 10.04 64 bit version of Ubuntu running nothing but Open SSH and acting as a firewall/router, making a PPP connection. The reason, is that I want to set up KVM/Qemu and run a virtual machine. The virtual machine will have a graphical environment and will be connected to my TV so that I can watch movies, stream TV etc. using it. So far, I have done the following:
sudo apt-get install xserver-xorg xserver-xorg-core miwm
When I try to run miwm the error message is:
(null): can't open display.
I have no DISPLAY variable set, but even when I set one myself using export DISPLAY=:0.0 it makes no difference.
View 9 Replies
View Related
Oct 16, 2010
planning to upgrade to the next LTS version i.e. 10.04. Have already applied all the updates and got the system up-to-date prior to upgrading. But when the upgrade starts I get the following message: Upgrading may reduce desktop effects and performance in games and other graphically intensive programs.This computer is currently using the AMD 'fglrx' graphics driver. No version of this driver is available that works with your hardware in Ubuntu 10.04 LTS.
Do you want to continue ?Obviously, I clicked on NO and got out.What gives ? How come an upgrade is supposed to DEGRADE performance ? What kind of upgrade is that ? Also what is the implication for me ? Will I have to happy with 8.04 forever ?The machine in question is a Toshiba Satellite A100. I use GIMP quite a bit on it, so problems with graphics intensive applications is kind of worrying.What am I supposed to do ?? Upgrade anyway or stick with 8.04 ?
View 1 Replies
View Related
Aug 27, 2010
configure SSH to display a warning banner at login
View 1 Replies
View Related
Oct 5, 2010
How would i force All connection oriented network services to display a legal warning in terms of banner before any fuctional operation by user?
View 10 Replies
View Related
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
Jun 23, 2011
Just installed F15, was everything fine, but then gnome got away, from terminal I have<gnome-session:1951): Warning can't start display message.Before that I put in config file one extra line to start tint2 like <sleep 3 && tint2.Not sure was it the reason?
View 4 Replies
View Related
Feb 15, 2016
I installed Open Office 4 on Debian 8 but when I run the program I get this error message.
root@localhost:/home/paul# openoffice4
No protocol specified
No protocol specified
/opt/openoffice4/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)
Open Office works fine when I run the command "startx" in the Konsole but so far I haven't been able to configure it.
View 3 Replies
View Related
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
Mar 11, 2011
Same problem with 11.4 x64 DVD version (gnome default). System ends with text before showing logon screen allso in failsafe
[code]...
View 6 Replies
View Related
Jul 20, 2011
I have configured an instance in AWS EC2. I am trying to set the display back so I can run x apps. I login using ssh -xy -i...
export DISPLAY=XXX.XXX.X.XXX:0.0
echo $DISPLAY to verify
xhost +
xhost: unable to open display "XXX.XXX.X.XXX:0.0"
I have commented out nolisten tcp as suggested HERE I have modified /etc/gdm/custom.conf as suggested HERE Actually, the last suggested modifying /etc/gdm/gdm.conf, but that file didn't exist, so I added the line: DisallowTCP=false to /etc/gdm/custom.conf I rebooted, and still I get: xhost: unable to open display "XXX.XXX.X.XXX:0.0"
View 2 Replies
View Related
Dec 28, 2010
I am currently running Suse 11.3. I continue to get the following error when logging into the KDE login manager with my user account
"Warning: Cannot open ConsoleKit session: Unable to open session. The name
org.freedesktop.ConsoleKit was not provided by any .service files."
After acknowledging the error, it resets back to the login manager screen. If I login with root, I get the same message, but it continues on and logins into the session
View 5 Replies
View Related
Mar 10, 2010
I just isntalled LAMP using tasksel and have a problem. Whenever I try to access a page (aside from phpmyadmin, that works well), I get this error... Code: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
I have restarted the computer, restarted apache, etc and still nothing. When I first installed, phpmyadmin was inaccessible, so I ran some command in terminal which apparently created a symlink between phpmyadmin in the user/share dir to the /var/www dir, and curious if this is the problem. I have no clue how to remove this symlink if this is the case, and have phpmyadmin working now due to install using sudo apt-get install phpmyadmin.
View 1 Replies
View Related
Jun 15, 2011
How to remove this ever occuring Warning, which appears every time I open a terminal?
* Warning: removing empty lock file
* Error: failed to remove empty lock file
* Error: failed to get the lock: /usr/bin/keychain: 1492: cannot create /home/prashant/.keychain/http://prashant-laptop.promptcloud.com/-lockf: Directory nonexistent
View 1 Replies
View Related
Jan 10, 2011
OpenSuse 11.2 Downloaded ISO Master 1.3.8 from here: [URL] Opened the Slackware 13.1 ISO within it, tried to modify the Tagfile which resulted in the error:
Quote:
Edit failed, check Options/Editor and running ISO Master from the terminal showed the error in the title of the thread!
View 1 Replies
View Related
Aug 20, 2010
I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx
but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set
View 3 Replies
View Related
Aug 10, 2010
I am getting following error messages when trying to re-start the apache2 on Ubuntu Server 10.04.
[warn] The Alias directive in /etc/squirrelmail/apache.conf at line 1 will probably never match because it overlaps an earlier Alias.
[warn] The Alias directive in /etc/phpldapadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
...waiting [warn] The Alias directive in /etc/squirrelmail/apache.conf at line 1 will probably never match because it overlaps an earlier Alias.
[warn] The Alias directive in /etc/phpldapadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
[OK]
View 1 Replies
View Related
Sep 30, 2010
I installed Ubuntu 10.04.1 Server x86_64 minimal, updated, upgraded, then I blacklisted all not used modules in /etc/modprobe.d/blacklist.conf:
[Code]..
System information disabled due to load higher than 1. What caused that ? It is a test system in VirtualBox.
View 7 Replies
View Related