Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-29-2004, 01:55 PM   #1
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
Can't figure out DISPLAY and GUI apps from remote console.

I'd like to be able to run certain programs on a remote desktop. Lets take gaim for example. I log into my home PC via ssh and upon running 'gaim from the CLI, I obviously get:

forever root # gaim
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

(gaim:4327): Gdk-CRITICAL **: file gdkdisplay-x11.c: line 337 (gdk_display_get_name): assertion `GDK_IS_DISPLAY (display)' failed

** (gaim:4327): WARNING **: cannot open display: unset
where do I have to look to figure out how to point it to the default x11 display? and what is the default x11 display address? 0:0? Im confused and I've already tried searching for similar threads.
Old 04-29-2004, 02:18 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
These lines make my root user be able to run graphical programs under normal user x11. Try them, but edit to meet your use:

as normal user: xhost + localhost

as the user logged in sss remote: export DISPLAY=localhost:0.0

Let me know if you succeed.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open GUI of programs in remote machines by telnet and setting DISPLAY..... bioinfo Linux - Networking 2 10-02-2004 08:26 AM
I want to figure out which display a process is running on drgowans Linux - Software 4 11-10-2003 11:32 AM
Where have all my console apps gone? JordanH Red Hat 2 11-01-2003 09:14 PM
No GUI....noob, go figure CavRider Linux - Newbie 3 09-01-2003 07:41 AM
X apps from console after su tobyl Slackware 14 04-16-2003 04:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 PM.

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