Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 09:21
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Using Puppy Xserver with remote X apps
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
John Swenson

Joined: 28 Dec 2008
Posts: 11

PostPosted: Fri 08 Nov 2013, 04:11    Post subject:  Using Puppy Xserver with remote X apps
Subject description: Is it possible to display remote X apps on the Puppty X server
 

I have a headless ARM computer (running fedora F19) and a desktop running precise puppy and would occasionally like to run an X based configuration utility on the headless server and display on the puppy machine. I have tried running xhost + on the puppy machine and setting the DISPLAY variable on the headless machine to point to the puppy machine, but the app on the headless machine always says it cannot open the display.

Both machines are on the same LAN, same subnet (even same switch). I have tried setting the DISPLAY variable to both the name of the puppy machine and its IP address. (puppypcxxx:0 or 192.168.1.xxx:0) I get the same results out of both.

Neither machine has a firewall setup, they can ping each other. At this point I'm not sure if it something on the puppy machine or the fedora machine that is the problem.

Is the puppy Xserver capable of receiving network connections, and if yes how do I enable them?

All the Xorg documentation I can find seems to indicate that this should work, but it doesn't seem to.

I'm running precise puppy 5.7.1

Any help would be appreciated,

Thanks,
John S.
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Fri 08 Nov 2013, 08:08    Post subject:  

Make a backup of /usr/bin/xwin, then look for a line like this in the original:
Code:
   /usr/bin/xinit /root/.xinitrc -- -br -nolisten tcp > /tmp/xerrs.log 2>&1

Change it to this:
Code:
   /usr/bin/xinit /root/.xinitrc -- -br > /tmp/xerrs.log 2>&1

Restart the X server.

The -nolisten tcp prevents X from accepting connections via TCP.
Back to top
View user's profile Send private message 
John Swenson

Joined: 28 Dec 2008
Posts: 11

PostPosted: Fri 08 Nov 2013, 11:05    Post subject:  

Thanks,
that works perfectly.

I can now SSH into the headless server, start an X app and it pops up a window on the puppy desktop.

John S.
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Fri 08 Nov 2013, 12:22    Post subject:  

You're welcome.

I usually have multiple computers running, but like to simply run everything from my Puppy laptop, so the ability of the X server to accept connections from the other machines is indispensable.

Although that ability is not needed by everyone, I think it is one of the most under-appreciated attributes of X. Since Windows didn't have that ability, many (perhaps most) former Windows users are probably not even aware that X can do this. Although I don't know much about the so-called "X replacements" being developed, I am guessing that this feature is something that will be left behind. I hope I am wrong. But if not wrong, I hope that many years go by before the day comes that some distros start dropping support for X.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0667s ][ Queries: 12 (0.0255s) ][ GZIP on ]