LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-28-2010, 01:27 AM   #1
pankaj songire
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
How to avoid warning with serviceconf command?


I have execute following command and got the following warning.
How I can resolve this?

[root@sina0012 /]# serviceconf
No display information -- gtk_init not called

Gtk-WARNING **: cannot open display:
 
Old 09-29-2010, 09:59 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

The serviceconf command is a GUI command, you have to be running an X session (either locally or remotely) in order to use it. It also typically requires root permissions.
Note that in order to run the command while SSH'd into a remote system you will need;

1) To have an X server on your local system "listening"
2) Have the "DISPLAY=" environment varible set to "DISPLAY=your.ip.address.here:0.0"
3) Use "sudo" to run the serviceconf command.

Have fun!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed :Need to avoid warning thelink123 Programming 4 12-09-2008 10:38 AM
How to avoid some differences in Diff command rajbal Linux - General 3 04-10-2007 11:28 PM
How avoid boot disk and 'startx' command? whitehof Linux - General 5 10-17-2002 02:21 PM
serviceconf error maskim7 Linux - General 0 03-30-2002 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration