Mike Miller | 25 Apr 2012 10:21
Picon

Ubuntu with Xvnc to :1 with no window manager at :0

Is it possible to boot Ubuntu, not load an X window manager and still run 
Xvnc on :1 for remote access?

If I'm actually sitting at the machine, I have to load a window manager to 
be able to see vncviewer, I assume?

Is that how it works?

What I've been doing is using IceWM in Xvnc and exclusively accessing the 
system through that, but I have Gnome running all the time on :0, mostly 
doing nothing but taking up space.

Mike

_______________________________________________
VNC-List mailing list
VNC-List <at> realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Mike Miller | 30 Apr 2012 17:02
Picon

Re: Ubuntu with Xvnc to :1 with no window manager at :0

By the way, I had no reply to this message except for the response from 
Linda Hawksworth of RealVNC Customer Support, but that turned out to have 
been a mistake (she didn't realize it was a list message and thought it 
was a support request) and she could not help me.

So if anyone here knows about this...

On Wed, 25 Apr 2012, Mike Miller wrote:

> Is it possible to boot Ubuntu, not load an X window manager and still 
> run Xvnc on :1 for remote access?
>
> If I'm actually sitting at the machine, I have to load a window manager 
> to be able to see vncviewer, I assume?
>
> Is that how it works?
>
> What I've been doing is using IceWM in Xvnc and exclusively accessing 
> the system through that, but I have Gnome running all the time on :0, 
> mostly doing nothing but taking up space.
>
> Mike

Thanks.

Mike

_______________________________________________
VNC-List mailing list
VNC-List <at> realvnc.com
(Continue reading)

Long, Phillip GOSS | 14 May 2012 17:42

RE: Ubuntu with Xvnc to :1 with no window manager at :0

-----Original Message-----
From: vnc-list-bounces <at> realvnc.com [mailto:vnc-list-bounces <at> realvnc.com]
On Behalf Of Mike Miller
Sent: Monday, April 30, 2012 11:03 AM
To: VNC List
Subject: Re: Ubuntu with Xvnc to :1 with no window manager at :0

			< snip >

So if anyone here knows about this...

On Wed, 25 Apr 2012, Mike Miller wrote:

> Is it possible to boot Ubuntu, not load an X window manager and 
> still run Xvnc on :1 for remote access?
>
> If I'm actually sitting at the machine, I have to load a window 
> manager to be able to see vncviewer, I assume?
>
> Is that how it works?
>
> What I've been doing is using IceWM in Xvnc and exclusively 
> accessing the system through that, but I have Gnome running all the 
> time on :0, mostly doing nothing but taking up space.
>
> Mike

Thanks.

Mike
(Continue reading)

Mike Miller | 15 May 2012 17:34
Picon

RE: Ubuntu with Xvnc to :1 with no window manager at :0

On Mon, 14 May 2012, Long, Phillip GOSS wrote:

> On Wed, 25 Apr 2012, Mike Miller wrote:
>
>> Is it possible to boot Ubuntu, not load an X window manager and still 
>> run Xvnc on :1 for remote access?
>>
>> If I'm actually sitting at the machine, I have to load a window manager 
>> to be able to see vncviewer, I assume?
>>
>> Is that how it works?
>>
>> What I've been doing is using IceWM in Xvnc and exclusively accessing 
>> the system through that, but I have Gnome running all the time on :0, 
>> mostly doing nothing but taking up space.
>
>
> Mike:
>
> I use Gnome, not Xvnc, on my desktop, and I'm by no means an expert, but 
> my understanding is that Xvnc is an X server, and in general, U should 
> only have one of those running.  My guess is that Xvnc is your X server, 
> and U're running IceWM as your window manager on :1.  Probably, the X 
> startup/login script (~/.xinitrc?) is launching Gnome (on the first 
> available screen, perhaps?), and U need to remove or comment out those 
> commands to conserve resources. U would also be able to run IceWM on :0 
> instead of :1.

Thanks, Phillip.  On my system, it seems that /etc/X11/xinit/xinitrc calls 
/etc/X11/Xsession and there is no ~/.xinitrc file.
(Continue reading)

Long, Phillip GOSS | 16 May 2012 17:22

RE: Ubuntu with Xvnc to :1 with no window manager at :0

-----Original Message-----
From: Mike Miller [mailto:mbmiller <at> gmail.com] On Behalf Of Mike Miller
Sent: Tuesday, May 15, 2012 11:35 AM
To: Long, Phillip GOSS
Cc: VNC List
Subject: RE: Ubuntu with Xvnc to :1 with no window manager at :0

On Mon, 14 May 2012, Long, Phillip GOSS wrote:

> On Wed, 25 Apr 2012, Mike Miller wrote:

				<snip>

Thanks, Phillip.  On my system, it seems that 
/etc/X11/xinit/xinitrc calls /etc/X11/Xsession and there is no 
~/.xinitrc file.

Suppose I make it so that /etc/X11/xinit/xinitrc doesn't start X11. 
 I guess I would then see a console window after booting.  Can I 
just run vncserver :1, say, from there, then run vncviewer from 
that console?  It just seems like that would fail because I don't 
have a graphical interface.  How can vncviewer run without a 
DISPLAY?

By the way, I have been running Xvnc on :1 for years without any 
failures (that's RealVNC Free).  It ran once for something like 500 
days on Solaris.  It's really the same on Ubuntu -- no failures -- 
but I happen to have the machine in a place where the power 
sometimes goes out and that has limited me to only about 200 days 
of uninterrupted uptime.
(Continue reading)

Mike Miller | 18 May 2012 08:10
Picon

RE: Ubuntu with Xvnc to :1 with no window manager at :0

On Wed, 16 May 2012, Long, Phillip GOSS wrote:

> Once again, I have to emphasize that I am *not* an expert, nor have I 
> ever used Xvnc, so I'm just going by what I have ready over the years; 
> unfortunately, I can't tell U off-hand where I happened to read these 
> things, other than to say that it was most likely on the RealVNC 
> website.
>
> I poked around on the RealVNC website a bit, and on the page
>
> http://kb.realvnc.com/questions/10/How+do+I+run+multiple+screens%7B47%7Dsessions+of+VNC%3F
>
> it says that there is an X server built into the vncserver.  It also 
> shows one case in which U want to have more than one X server (running 
> one or more copies of "vncserver").  In fact, much to my surprise, it 
> also shows that U can attach "vncserver" to an already-existing X 
> server.  I didn't know U could do that!

Yes, that is another option but I think it is slower.

> "vncserver" is an X server, with its own "display;" U work with it by 
> setting the DISPLAY environment variable to the appropriate value (:1, 
> :2.0, :0.1, etc.), just like U do with X11.

Right.  I have been using it on Linux/UNIX systems for 15 years now.  The 
thing I don't think I can do is run vncviewer on a Linux box that doesn't 
have the window manager running.  Right?  So I have to have a minimum of 
two X sessions going -- one in :1, say, and the other on :0, to be able to 
do what I want.

(Continue reading)

Mike Miller | 15 May 2012 17:34
Picon

RE: Ubuntu with Xvnc to :1 with no window manager at :0

On Mon, 14 May 2012, Long, Phillip GOSS wrote:

> On Wed, 25 Apr 2012, Mike Miller wrote:
>
>> Is it possible to boot Ubuntu, not load an X window manager and still 
>> run Xvnc on :1 for remote access?
>>
>> If I'm actually sitting at the machine, I have to load a window manager 
>> to be able to see vncviewer, I assume?
>>
>> Is that how it works?
>>
>> What I've been doing is using IceWM in Xvnc and exclusively accessing 
>> the system through that, but I have Gnome running all the time on :0, 
>> mostly doing nothing but taking up space.
>
>
> Mike:
>
> I use Gnome, not Xvnc, on my desktop, and I'm by no means an expert, but 
> my understanding is that Xvnc is an X server, and in general, U should 
> only have one of those running.  My guess is that Xvnc is your X server, 
> and U're running IceWM as your window manager on :1.  Probably, the X 
> startup/login script (~/.xinitrc?) is launching Gnome (on the first 
> available screen, perhaps?), and U need to remove or comment out those 
> commands to conserve resources. U would also be able to run IceWM on :0 
> instead of :1.

Thanks, Phillip.  On my system, it seems that /etc/X11/xinit/xinitrc calls 
/etc/X11/Xsession and there is no ~/.xinitrc file.
(Continue reading)


Gmane