LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2003, 05:00 PM   #1
linuxguru
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
VNC Server


I've got VNC Server running upon startup in debian..with KDE desktop...logging in as root, but.. when i try to login as user it does not startup.

Do i need to use the su command ?.. Or some other command that i am not aware of. Also, if need a command.. where would that be placed.

PLEASE HELP?????
 
Old 09-19-2003, 05:19 PM   #2
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Rep: Reputation: 52
Which client are you using to log in to the VNC server?
 
Old 09-20-2003, 08:11 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Vncserver runs as the user who starts it. So if you start it as root, you'll only be able to access as root. If you start it as a normal user, you'll access it as a normal user. If multiple users start their own vncserver, each one is assigned a different monitor. So the first is :1, the second is :2 ..... and those correspond to the port 5901 and 5902.
 
Old 09-21-2003, 12:26 AM   #4
linuxguru
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Actually, i'm looking for it to auto load upon startup.... it auto runs logging in as root, but not user.
 
Old 09-21-2003, 07:56 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Ah. That's a different problem entirely. You'll have to do a bit of research on su and sudoers. Su is the command that lets you run a program as another user. If I remember correctly, if you call su from root (like you would on boot), you don't need to supply the password to run a program as a regular user.
 
Old 09-21-2003, 09:02 AM   #6
linuxguru
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply.....


I'll do a little reasearch on it then.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC server Swift&Smart Linux - Software 0 06-30-2004 11:52 PM
VNC server Kocil Mandriva 2 08-22-2003 07:25 AM
VNC on a server RedHat123 Linux - Security 1 09-30-2002 10:41 AM
VNC server niamor Linux - Networking 1 09-23-2002 11:54 AM
VNC Server rasejo Linux - General 3 08-09-2002 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:27 PM.

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