LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-22-2012, 01:38 PM   #1
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA
Distribution: Debian/ Fedora
Posts: 413

Rep: Reputation: 33
remote desktop, LXDE, Xsession fails


Hi guys,

I just got my Raspberry Pi installed as a headless server. What a PITA! Since it is headless I needed to use my laptop as the session manager. I have done this before and documented it here: http://64.124.13.3/hacks/multiple_wm.html
It works kinda. Using the following commands:
On my laptop:
as root login on virtual terminal F2
X -ac :1.0
on R-Pi:
Login as root.
export DISPLAY=192.168.1.10:1:0
startlxde
This will cause the Xsession on vt7 to fail with
AddScreen/ScreenInit failed for driver 0
If I use these commands, it works:
On my laptop:
as root login on virtual terminal F2
X -ac :1.0
on R-Pi:
Login as root.
export DISPLAY=192.168.1.10:1:0
gedit
startlxde
Any ideas? I running raspbian on the R-Pi and Fedora 13 on my laptop.

Last edited by MrUmunhum; 09-22-2012 at 02:08 PM.
 
Old 09-23-2012, 09:08 AM   #2
sKaar
Member
 
Registered: Jun 2006
Location: dartmouth, nova scotia
Distribution: slackware 12.1
Posts: 74

Rep: Reputation: 2
try starting an xterm or something, may be that it needs an app to export first.
 
Old 09-23-2012, 02:10 PM   #3
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA
Distribution: Debian/ Fedora
Posts: 413

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by sKaar View Post
try starting an xterm or something, may be that it needs an app to export first.
Yes, that is what 'gedit' is.
 
Old 09-25-2012, 04:44 AM   #4
sKaar
Member
 
Registered: Jun 2006
Location: dartmouth, nova scotia
Distribution: slackware 12.1
Posts: 74

Rep: Reputation: 2
it's not listed in the first one.
 
Old 09-25-2012, 05:37 PM   #5
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA
Distribution: Debian/ Fedora
Posts: 413

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by sKaar View Post
it's not listed in the first one.
The first one fails. only if I start gedit or some other X-application first, will it work.
 
Old 09-26-2012, 03:14 AM   #6
sKaar
Member
 
Registered: Jun 2006
Location: dartmouth, nova scotia
Distribution: slackware 12.1
Posts: 74

Rep: Reputation: 2
i think that may be the point... you need to start something to export to the remote desktop, or it exports nothing.
 
Old 09-27-2012, 11:08 AM   #7
MrUmunhum
Member
 
Registered: May 2006
Location: Mt Umunhum, CA, USA
Distribution: Debian/ Fedora
Posts: 413

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by sKaar View Post
i think that may be the point... you need to start something to export to the remote desktop, or it exports nothing.
This is not true with other distros I have used. None of them require an application running before starting the Window manager. I only notice this problem with raspbian ( Debian ).

Last edited by MrUmunhum; 09-27-2012 at 11:20 AM.
 
Old 09-28-2012, 01:55 AM   #8
sKaar
Member
 
Registered: Jun 2006
Location: dartmouth, nova scotia
Distribution: slackware 12.1
Posts: 74

Rep: Reputation: 2
since i use xming, i have to point at it, there's options to have a new connection for every app, the apps in a root window, and a bunch of others. it may be that the x client is sending a new connection with every app or something.
 
  


Reply


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
Remote XSession Logouts sunmicroman Linux - General 2 04-12-2006 09:02 PM
Allowing Remote Xsession sporks Linux - Security 8 07-07-2005 08:14 AM
Remote xsession and xdos mikenl Linux - Software 0 11-11-2002 09:36 AM
Starting remote Xsession jiplen Linux - Networking 0 05-01-2002 07:53 PM
Setting up remote Xsession coolguy18087 Linux - Networking 3 04-01-2002 05:23 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration