LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2010, 10:53 PM   #1
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Rep: Reputation: Disabled
setting up tightvnc for multiple users on same machine


I am searching for a way to have multiple sessions or users on the same vnc server. I have a machine that I need to remotely access as root (for admin purposes) and as myself (as the normal user) the rest of the time. I probably will never have to remotely login at the same time as both root and myself (I am not that multitasking!)

I searched the web for almost 1 hour without finding anything useful...

Right now my /etc/rc.d/rc.vncservers.conf looks like:
Code:
VNCSERVERS="1:root 2:lpallard"

VNCSERVERARGS[1]="-geometry 1024x768 -depth 24"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"
but when I start the vnc server, I get:
Code:
root@amd666:~# /etc/rc.d/rc.vncservers start
Starting VNC server: 1:root 
New 'X' desktop is amd666:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/amd666:1.log

2:lpallard failure
Seems that the desktop 1 gets created and I can access it. Desktop 2 (my normal user account is inaccessible. What am I doing wrong?
Thanks
 
Old 11-26-2010, 11:12 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

This looks OK:
Quote:
/etc/rc.d/rc.vncservers.conf =>

VNCSERVERS="1:root 2:lpallard"
This looks OK, too:
Quote:
/etc/rc.d/rc.vncservers.conf =>

VNCSERVERARGS[1]="-geometry 1024x768 -depth 24"
VNCSERVERARGS[2]="-geometry 1024x768 -depth 24"
Q: Did you create "$HOME/.vnc" for user lpallard? And, optionally, a $HOME/.vnc/xstartup file?
Quote:
EXAMPLE:
vi $HOME/.vnc/xstartup =>
unset SESSION_MANAGER
exec /usr/bin/xfce4-session &
Q: Did you run vncpasswd (this should automatically create ~lpallard/.vnc)?

Q: Did you try logging in to "amd666:2" for lpallard?

Q: Did you check the access and error logs in ~lpallard/.vnc?
WERE there any access and/or error logs in ~/lpallard/.vnc?

Last edited by paulsm4; 11-26-2010 at 11:14 PM.
 
Old 11-27-2010, 09:44 AM   #3
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
paulsm4, thanks for your help! My problem was that I did not have the xstartup file...

It now works. I need to find out why the colors are all corrupted. Seems to be only the KDE desktop environment as my wallpaper is OK and the icons too... very strange.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting permission for multiple users to a directory sen Linux - Newbie 16 02-26-2010 04:03 AM
Help on setting up multiple FTP users on Ubuntu Server 9.04 with proFTPD Jamie Kugelmann Linux - Server 1 12-23-2009 02:31 AM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
TightVNC, PuTTY and remotely accessing multiple computers Citizen Bleys Linux - Networking 3 04-15-2006 07:45 AM
RH 9 - tightvnc server drops out for some users (/tmp/ICE-unix?) sto237 Linux - Networking 0 10-14-2005 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 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